1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- Utilize PLIST_FILES

This commit is contained in:
Kirill Ponomarev 2004-03-20 18:28:17 +00:00
parent 9dcc06472b
commit ac713d58f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104762
8 changed files with 16 additions and 22 deletions

View File

@ -16,11 +16,13 @@ COMMENT= Tool for making SNMP queries
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
USE_SIZE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
LDFLAGS+= -lcompat
PORTDOCS= README
PLIST_FILES= bin/braa
post-patch:
.for file in Makefile
@${REINPLACE_CMD} -e \

View File

@ -1,3 +0,0 @@
bin/braa
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -13,7 +13,6 @@ MASTER_SITES= http://www.altmode.com/disco/
MAINTAINER= krion@FreeBSD.org
COMMENT= IP discovery and fingerprinting utility
USE_SIZE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
@ -21,6 +20,9 @@ CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
WRKSRC= ${WRKDIR}/${PORTNAME}
PORTDOCS= README
PLIST_FILES= bin/disco bin/disco.fp
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}

View File

@ -1,4 +0,0 @@
bin/disco
bin/disco.fp
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -24,6 +24,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
PORTDOCS= ChangeLog README
PLIST_FILES= bin/fprobe
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}

View File

@ -1,4 +0,0 @@
bin/fprobe
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%

View File

@ -14,14 +14,15 @@ MASTER_SITES= http://www.ex-parrot.com/~pdw/iftop/download/ \
MAINTAINER= krion@FreeBSD.org
COMMENT= Network utility for real-time bandwidth usage information
USE_SIZE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_REINPLACE= yes
DOCFILES= README
MAN8= iftop.8
PORTDOCS= README
PLIST_FILES= bin/iftop
.include <bsd.port.pre.mk>
post-patch:
@ -30,13 +31,13 @@ post-patch:
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${PREFIX}/man/man8
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.8 ${MANPREFIX}/man/man8
post-install:
.ifndef (NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
.for doc in ${DOCFILES}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
@${MKDIR} ${DOCSDIR}
.for i in README
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

View File

@ -1,3 +0,0 @@
bin/iftop
%%PORTDOCS%%%%DOCSDIR%%/README
@dirrm %%PORTDOCS%%%%DOCSDIR%%