This commit is contained in:
Alex Dupre 2014-05-12 16:02:59 +00:00
parent b9a330aa43
commit 50ec8b1927
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353854
2 changed files with 9 additions and 16 deletions

View File

@ -9,13 +9,13 @@ MASTER_SITES= SF
MAINTAINER= ale@FreeBSD.org
COMMENT= A Port Forwarding Daemon
LICENSE= GPLv2
OPTIONS_DEFINE= DOCS EXAMPLES
GNU_CONFIGURE= yes
USE_GMAKE= yes
USES= gmake
MAN5= portfwd.cfg.5
MAN8= portfwd.8
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|-Wall -ggdb -O3|${CFLAGS}|g" \
${WRKSRC}/src/Makefile.in
@ -23,17 +23,8 @@ post-patch:
${WRKSRC}/tools/Makefile.in
@${TOUCH} ${WRKSRC}/* ${WRKSRC}/*/*
.if defined(NOPORTDOCS)
post-configure:
@${REINPLACE_CMD} -e "s|\(^install-data-am:\) install-docDATA|\1|g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e \
"s|\(^install-data-am: install-man\) install-docDATA|\1|g" \
${WRKSRC}/doc/Makefile
.endif
post-install:
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/cfg/*.cfg ${EXAMPLESDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/cfg/*.cfg ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,4 +1,6 @@
sbin/portfwd
man/man5/portfwd.cfg.5.gz
man/man8/portfwd.8.gz
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%PORTDOCS%%%%DOCSDIR%%/FAQ