diff --git a/security/ipfmeta/Makefile b/security/ipfmeta/Makefile index 2d67fbdb7485..71f07a81b757 100644 --- a/security/ipfmeta/Makefile +++ b/security/ipfmeta/Makefile @@ -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 diff --git a/security/ipfmeta/pkg-plist b/security/ipfmeta/pkg-plist index 57771d6c02bb..f67d7f9bf7b5 100644 --- a/security/ipfmeta/pkg-plist +++ b/security/ipfmeta/pkg-plist @@ -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%%