diff --git a/net-mgmt/sipcalc/Makefile b/net-mgmt/sipcalc/Makefile index 04667a1e6b55..7783281b4f84 100644 --- a/net-mgmt/sipcalc/Makefile +++ b/net-mgmt/sipcalc/Makefile @@ -10,17 +10,15 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Sipcalc is an IP subnet calculator with IPv6 support GNU_CONFIGURE= yes -MAN1= sipcalc.1 DOC_FILES= doc/sipcalc.txt ChangeLog README -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include diff --git a/net-mgmt/sipcalc/pkg-plist b/net-mgmt/sipcalc/pkg-plist index aa430e0db40a..697e7a7a0ce6 100644 --- a/net-mgmt/sipcalc/pkg-plist +++ b/net-mgmt/sipcalc/pkg-plist @@ -1,4 +1,5 @@ bin/sipcalc +man/man1/sipcalc.1.gz %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/sipcalc.txt