diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-20 16:02:55 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-20 16:02:55 +0800 |
commit | 136f7ababaf9e99e1dd73977e0097a465884cc26 (patch) | |
tree | c08509fe286d2814a1e66e19a528b1a895818a4b /net-im/jggtrans | |
parent | ab4c6100de122bc6b5a42ccc5587c2763ae834f4 (diff) | |
download | freebsd-ports-gnome-136f7ababaf9e99e1dd73977e0097a465884cc26.tar.gz freebsd-ports-gnome-136f7ababaf9e99e1dd73977e0097a465884cc26.tar.zst freebsd-ports-gnome-136f7ababaf9e99e1dd73977e0097a465884cc26.zip |
1: Stagify.
2: new syntax of LIB_DEPENDS.
Approved by: portmgr@
Diffstat (limited to 'net-im/jggtrans')
-rw-r--r-- | net-im/jggtrans/Makefile | 16 | ||||
-rw-r--r-- | net-im/jggtrans/pkg-plist | 4 |
2 files changed, 6 insertions, 14 deletions
diff --git a/net-im/jggtrans/Makefile b/net-im/jggtrans/Makefile index 59a1c304cd17..77cb409b81d6 100644 --- a/net-im/jggtrans/Makefile +++ b/net-im/jggtrans/Makefile @@ -11,9 +11,9 @@ MASTER_SITES= http://jggtrans.jajcus.net/downloads/ \ MAINTAINER= mg@fork.pl COMMENT= Jabberd XMPP to GG instant messaging service gateway -LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn \ - expat.6:${PORTSDIR}/textproc/expat2 \ - gadu.3:${PORTSDIR}/polish/libgadu +LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libgadu.so:${PORTSDIR}/polish/libgadu GNU_CONFIGURE= yes USES= gettext gmake pkgconfig @@ -26,14 +26,10 @@ USE_RC_SUBR= jggtrans OPTIONS_DEFINE= DEBUG EJABBERD EJABBERD_DESC= transport with ejabberd +DEBUG_CONFIGURE_ENABLE=debug -NO_STAGE= yes .include <bsd.port.options.mk> -.if ! ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --disable-debug -.endif - .if ${PORT_OPTIONS:MEJABBERD} JABBER_USER?= ejabberd SUB_LIST+= JABBER_REQUIRE=ejabberd @@ -45,8 +41,6 @@ SUB_LIST+= JABBER_REQUIRE=jabberd SUB_LIST+= JABBER_USER=${JABBER_USER} post-install: - @${INSTALL_DATA} ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml.sample - @${CP} -n ${WRKSRC}/jggtrans.xml ${PREFIX}/etc/jggtrans.xml || ${TRUE} - @${CAT} ${PKGMESSAGE} + @${INSTALL_DATA} ${WRKSRC}/jggtrans.xml ${STAGEDIR}${PREFIX}/etc/jggtrans.xml.sample .include <bsd.port.mk> diff --git a/net-im/jggtrans/pkg-plist b/net-im/jggtrans/pkg-plist index 4aeea40af9a2..e92ac4dbfd36 100644 --- a/net-im/jggtrans/pkg-plist +++ b/net-im/jggtrans/pkg-plist @@ -1,6 +1,4 @@ +@sample etc/jggtrans.xml.sample sbin/jggtrans share/locale/nl/LC_MESSAGES/jggtrans.mo share/locale/pl/LC_MESSAGES/jggtrans.mo -@unexec if cmp -s %D/etc/jggtrans.xml.sample %D/etc/jggtrans.xml; then rm -f %D/etc/jggtrans.xml; fi -etc/jggtrans.xml.sample -@exec if [ ! -f %D/etc/jggtrans.xml ] ; then cp -p %D/%F %B/jggtrans.xml; fi |