- Support Staging

- Add LICENSE
- Take maintainership
This commit is contained in:
Emanuel Haupt 2014-06-25 09:15:20 +00:00
parent 698f728a34
commit 043c872de3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359210
2 changed files with 10 additions and 9 deletions

View File

@ -8,11 +8,14 @@ CATEGORIES= net-mgmt
MASTER_SITES= http://www.ex-parrot.com/~chris/driftnet/ \
http://www.vanheusden.com/mirrors/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= A Tool to grab images out of (your) TCP connections
LIB_DEPENDS= gif.5:${PORTSDIR}/graphics/giflib \
jpeg.11:${PORTSDIR}/graphics/jpeg
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \
libjpeg.so:${PORTSDIR}/graphics/jpeg
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
USE_GNOME= gtk12
@ -21,12 +24,10 @@ USES= gmake
ALL_TARGET= default
MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"
MAN1= driftnet.1
PLIST_FILES= bin/driftnet
PLIST_FILES= bin/driftnet man/man1/driftnet.1.gz
NO_STAGE= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/driftnet ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/driftnet.1 ${MAN1PREFIX}/man/man1/
${INSTALL_PROGRAM} ${WRKSRC}/driftnet ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/driftnet.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -45,7 +45,7 @@
# added 20020604 edobbs
# On BSD systems, may need to use /usr/local/include
-#CFLAGS += -I/usr/local/include
+CFLAGS += -I/usr/local/include
+CFLAGS += -I$(LOCALBASE)/include
#