svn commit: r347720 - head/net-im/freetalk
Rene Ladan
rene at FreeBSD.org
Mon Mar 10 08:28:37 UTC 2014
Author: rene
Date: Mon Mar 10 08:28:36 2014
New Revision: 347720
URL: http://svnweb.freebsd.org/changeset/ports/347720
QAT: https://qat.redports.org/buildarchive/r347720/
Log:
- Remove optional dependency on expired audio/beep
- Use option helpers
- Use new LIB_DEPENDS syntax
- Fix pkg-plist
Approved by: portmgr (infrastructure blanket)
Modified:
head/net-im/freetalk/Makefile
head/net-im/freetalk/pkg-plist
Modified: head/net-im/freetalk/Makefile
==============================================================================
--- head/net-im/freetalk/Makefile Mon Mar 10 08:24:23 2014 (r347719)
+++ head/net-im/freetalk/Makefile Mon Mar 10 08:28:36 2014 (r347720)
@@ -11,10 +11,9 @@ MASTER_SITES= SAVANNAH/freetalk \
MAINTAINER= olevole at olevole.ru
COMMENT= GNU console based Jabber client
-OPTIONS_DEFINE= BEEP NLS
-BEEP_DESC= Use beep program
+OPTIONS_DEFINE= NLS
-LIB_DEPENDS= loudmouth-1.0:${PORTSDIR}/net-im/loudmouth
+LIB_DEPENDS= libloudmouth-1.so:${PORTSDIR}/net-im/loudmouth
BUILD_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile
RUN_DEPENDS= guile>=1.8.6:${PORTSDIR}/lang/guile
@@ -24,19 +23,10 @@ GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
-.include <bsd.port.options.mk>
+OPTIONS_SUB= yes
-.if ${PORT_OPTIONS:MNLS}
-PLIST_SUB+= NLS=""
-USES+= gettext
-CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MBEEP}
-RUN_DEPENDS+= ${LOCALBASE}/bin/beep:${PORTSDIR}/audio/beep
-.endif
+NLS_USES= gettext
+NLS_CONFIGURE_WITH=libintl-prefix=${LOCALBASE}
+NLS_CONFIGURE_OFF= --disable-nls
.include <bsd.port.mk>
Modified: head/net-im/freetalk/pkg-plist
==============================================================================
--- head/net-im/freetalk/pkg-plist Mon Mar 10 08:24:23 2014 (r347719)
+++ head/net-im/freetalk/pkg-plist Mon Mar 10 08:28:36 2014 (r347720)
@@ -32,6 +32,7 @@ man/man1/freetalk.1.gz
@dirrmtry share/locale/en at boldquot
@dirrmtry share/locale/en at quot/LC_MESSAGES
@dirrmtry share/locale/en at quot
+ at dirrmtry info
@dirrm %%DATADIR%%/extensions
@dirrm %%DATADIR%%
@dirrm %%DOCSDIR%%/examples
More information about the svn-ports-all
mailing list