diff options
author | rene <rene@FreeBSD.org> | 2014-03-10 16:28:36 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2014-03-10 16:28:36 +0800 |
commit | 19fd45ad49ae116ce5a8609924989da51639a737 (patch) | |
tree | f3a1dc5180971ff37e95478d141df965756cd470 /net-im | |
parent | 1a7f64750be7f7e3a25f644c831b0e84749f1a43 (diff) | |
download | freebsd-ports-gnome-19fd45ad49ae116ce5a8609924989da51639a737.tar.gz freebsd-ports-gnome-19fd45ad49ae116ce5a8609924989da51639a737.tar.zst freebsd-ports-gnome-19fd45ad49ae116ce5a8609924989da51639a737.zip |
- Remove optional dependency on expired audio/beep
- Use option helpers
- Use new LIB_DEPENDS syntax
- Fix pkg-plist
Approved by: portmgr (infrastructure blanket)
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/freetalk/Makefile | 22 | ||||
-rw-r--r-- | net-im/freetalk/pkg-plist | 1 |
2 files changed, 7 insertions, 16 deletions
diff --git a/net-im/freetalk/Makefile b/net-im/freetalk/Makefile index da199cb15a47..9ff014621bb8 100644 --- a/net-im/freetalk/Makefile +++ b/net-im/freetalk/Makefile @@ -11,10 +11,9 @@ MASTER_SITES= SAVANNAH/freetalk \ MAINTAINER= olevole@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> diff --git a/net-im/freetalk/pkg-plist b/net-im/freetalk/pkg-plist index 82d5bcaa17fc..c9d6ffa21279 100644 --- a/net-im/freetalk/pkg-plist +++ b/net-im/freetalk/pkg-plist @@ -32,6 +32,7 @@ man/man1/freetalk.1.gz @dirrmtry share/locale/en@boldquot @dirrmtry share/locale/en@quot/LC_MESSAGES @dirrmtry share/locale/en@quot +@dirrmtry info @dirrm %%DATADIR%%/extensions @dirrm %%DATADIR%% @dirrm %%DOCSDIR%%/examples |