mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Support staging
- Use shebangfix
This commit is contained in:
parent
14e5aa25e7
commit
cae94b0ebe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348186
@ -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>
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user