1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Use shebangfix
This commit is contained in:
Emanuel Haupt 2014-03-14 09:04:57 +00:00
parent 14e5aa25e7
commit cae94b0ebe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348186
2 changed files with 12 additions and 11 deletions

View File

@ -9,19 +9,19 @@ MASTER_SITES= http://www.sentia.org/downloads/
MAINTAINER= cy@FreeBSD.org
COMMENT= ipfmeta - use objects in IPfilter files
USES= perl5
USES= perl5 shebangfix
MAN1= ipfmeta.1
POD2MAN?= pod2man
NO_STAGE= yes
SHEBANG_FILES= ipfmeta
do-build:
@${POD2MAN} ${WRKSRC}/ipfmeta > ${WRKSRC}/${MAN1}
@${POD2MAN} ${WRKSRC}/ipfmeta > ${WRKSRC}/${PORTNAME}.1
do-install:
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/ipfmeta ${PREFIX}/bin
@${MKDIR} ${PREFIX}/share/ipfmeta
${INSTALL_DATA} ${WRKSRC}/ipf.* ${PREFIX}/share/ipfmeta
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/ipfmeta ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/ipf.* ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
bin/ipfmeta
share/ipfmeta/ipf.metarules
share/ipfmeta/ipf.objs
@dirrm share/ipfmeta
man/man1/ipfmeta.1.gz
%%DATADIR%%/ipf.metarules
%%DATADIR%%/ipf.objs
@dirrm %%DATADIR%%