Index: head/devel/newfile/Makefile =================================================================== --- head/devel/newfile/Makefile (revision 401937) +++ head/devel/newfile/Makefile (revision 401938) @@ -1,26 +1,31 @@ # Created by: Miguel Mendez # $FreeBSD$ PORTNAME= newfile PORTVERSION= 1.0.14 PORTREVISION= 6 CATEGORIES= devel MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Tool for creating starter files in various languages LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes NO_ARCH= yes USE_RUBY= yes PORTDOCS= newfile.html +OPTIONS_DEFINE= DOCS + post-install: ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ - ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include