aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-09-13 02:57:49 +0800
committeradamw <adamw@FreeBSD.org>2014-09-13 02:57:49 +0800
commitc7c5fcd31b704d5d37e37abda62004c49be534ea (patch)
treea77d9b5b34dca26ae74258d8acced1cc858e723b /security
parent49ced894a18e77d62bf39dee966c7e3436c54f2b (diff)
downloadfreebsd-ports-gnome-c7c5fcd31b704d5d37e37abda62004c49be534ea.tar.gz
freebsd-ports-gnome-c7c5fcd31b704d5d37e37abda62004c49be534ea.tar.zst
freebsd-ports-gnome-c7c5fcd31b704d5d37e37abda62004c49be534ea.zip
Fix build and minor clean-ups to Makefile.
Diffstat (limited to 'security')
-rw-r--r--security/vida/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/security/vida/Makefile b/security/vida/Makefile
index ff5609a26a0a..5df2110c3e99 100644
--- a/security/vida/Makefile
+++ b/security/vida/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://vidatapipe.sourceforge.net/
MAINTAINER= mich@FreeBSD.org
COMMENT= Vida is a multi-datapipe handler
-LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= libnet10-config:${PORTSDIR}/net/libnet10
+RUN_DEPENDS= libnet10-config:${PORTSDIR}/net/libnet10
LDFLAGS+= ${PTHREAD_LIBS} -lncurses -lpcap `${LIBNET_CONFIG} --libs`
@@ -18,16 +19,16 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config
+PLIST_FILES= bin/vida \
+ man/man1/vida.1.gz
+
do-build:
- cd ${WRKSRC} && \
- ${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
- vida.c funz.c dnshijacking.c ${LDFLAGS} -o ${PORTNAME}
+ (cd ${WRKSRC} && \
+ ${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
+ vida.c funz.c dnshijacking.c ${LDFLAGS} -o ${PORTNAME})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/vida.1.gz ${STAGEDIR}${PREFIX}/man/man1/
-PLIST_FILES= bin/vida \
- man/man1/vida.1.gz
-
.include <bsd.port.mk>