svn commit: r358526 - head/net-im/jggtrans
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Jun 20 08:02:56 UTC 2014
Author: vanilla
Date: Fri Jun 20 08:02:55 2014
New Revision: 358526
URL: http://svnweb.freebsd.org/changeset/ports/358526
QAT: https://qat.redports.org/buildarchive/r358526/
Log:
1: Stagify.
2: new syntax of LIB_DEPENDS.
Approved by: portmgr@
Modified:
head/net-im/jggtrans/Makefile
head/net-im/jggtrans/pkg-plist
Modified: head/net-im/jggtrans/Makefile
==============================================================================
--- head/net-im/jggtrans/Makefile Fri Jun 20 07:48:40 2014 (r358525)
+++ head/net-im/jggtrans/Makefile Fri Jun 20 08:02:55 2014 (r358526)
@@ -11,9 +11,9 @@ MASTER_SITES= http://jggtrans.jajcus.net
MAINTAINER= mg at 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>
Modified: head/net-im/jggtrans/pkg-plist
==============================================================================
--- head/net-im/jggtrans/pkg-plist Fri Jun 20 07:48:40 2014 (r358525)
+++ head/net-im/jggtrans/pkg-plist Fri Jun 20 08:02:55 2014 (r358526)
@@ -1,6 +1,4 @@
+ at sample etc/jggtrans.xml.sample
sbin/jggtrans
share/locale/nl/LC_MESSAGES/jggtrans.mo
share/locale/pl/LC_MESSAGES/jggtrans.mo
- at 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
- at exec if [ ! -f %D/etc/jggtrans.xml ] ; then cp -p %D/%F %B/jggtrans.xml; fi
More information about the svn-ports-all
mailing list