diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-24 07:17:28 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-24 07:17:28 +0000 |
commit | abbc5fe13f86e98e84653b316af30c4448c01b7c (patch) | |
tree | e427adcc2093ae38d539c581d679ee2ae6ece60a | |
parent | f8bddd51603ac71b74e5bbd7641e95cbb2ad0011 (diff) | |
download | ports-abbc5fe13f86e98e84653b316af30c4448c01b7c.tar.gz ports-abbc5fe13f86e98e84653b316af30c4448c01b7c.zip |
Notes
-rw-r--r-- | net/vortex/Makefile | 11 | ||||
-rw-r--r-- | net/vortex/pkg-plist | 4 |
2 files changed, 4 insertions, 11 deletions
diff --git a/net/vortex/Makefile b/net/vortex/Makefile index 2fa1c382ed95..ba421eda8ecd 100644 --- a/net/vortex/Makefile +++ b/net/vortex/Makefile @@ -19,19 +19,14 @@ LIBNET_CONFIG= ${LOCALBASE}/bin/libnet11-config WRKSRC= ${WRKDIR}/${PORTNAME}-2.9.0 USE_GNOME= glib20 -NO_STAGE= yes - do-build: cd ${WRKSRC} && ${CC} -c vortex.c -I${LOCALBASE}/include cd ${WRKSRC} && ${CC} -v -o vortex vortex.o -L${LOCALBASE}/lib ${LOCALBASE}/lib/libnids.a `${LIBNET_CONFIG} --libs` -lglib-2.0 -lgthread-2.0 -lpcap cd ${WRKSRC} && ${CC} -o xpipes xpipes.c ${PTHREAD_LIBS} do-install: - ${INSTALL_DATA} ${WRKSRC}/vortex.conf ${PREFIX}/etc/vortex.conf.sample - if [ ! -f ${PREFIX}/etc/vortex.conf ]; then \ - ${CP} -p ${PREFIX}/etc/vortex.conf.sample ${PREFIX}/etc/vortex.conf; \ - fi - ${INSTALL_PROGRAM} ${WRKSRC}/vortex ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/xpipes ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/vortex.conf ${STAGEDIR}${PREFIX}/etc/vortex.conf.sample + ${INSTALL_PROGRAM} ${WRKSRC}/vortex ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/xpipes ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/net/vortex/pkg-plist b/net/vortex/pkg-plist index e1533f4e3e11..339fec651090 100644 --- a/net/vortex/pkg-plist +++ b/net/vortex/pkg-plist @@ -1,5 +1,3 @@ bin/vortex bin/xpipes -@unexec if cmp -s %D/etc/vortex.conf.sample %D/etc/vortex.conf; then rm -f %D/etc/vortex.conf; fi -etc/vortex.conf.sample -@exec if [ ! -f %D/etc/vortex.conf ]; then cp -p %D/%F %B/vortex.conf; fi +@sample etc/vortex.conf.sample |