diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2013-02-21 20:55:11 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2013-02-21 20:55:11 +0000 |
commit | 3addf540ed15a91a9b6a7fd216eef88e9c4da980 (patch) | |
tree | 7f95ddec36f7f32553e6de704cddaee790471a55 /devel/newfile | |
parent | fa34ec5b490d1782862d492d878d6c11715cf266 (diff) | |
download | ports-3addf540ed15a91a9b6a7fd216eef88e9c4da980.tar.gz ports-3addf540ed15a91a9b6a7fd216eef88e9c4da980.zip |
Notes
Diffstat (limited to 'devel/newfile')
-rw-r--r-- | devel/newfile/Makefile | 6 | ||||
-rw-r--r-- | devel/newfile/pkg-plist | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile index 562b305d3d5b..4973e7d4cd6a 100644 --- a/devel/newfile/Makefile +++ b/devel/newfile/Makefile @@ -14,15 +14,15 @@ USE_RUBY= yes GNU_CONFIGURE= yes MAN1= newfile.1 -DOCS= doc/newfile.html +PORTDOCS= newfile.html .include <bsd.port.options.mk> post-install: ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${MAN1PREFIX}/man/man1 -.if defined (${PORT_OPTIONS:MDOCS}) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} + cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/devel/newfile/pkg-plist b/devel/newfile/pkg-plist index 1b9bb23d6382..49543e13d882 100644 --- a/devel/newfile/pkg-plist +++ b/devel/newfile/pkg-plist @@ -1,7 +1,5 @@ @comment $FreeBSD$ bin/newfile -%%PORTDOCS%%%%DOCSDIR%%/newfile.html -%%PORTDOCS%%@dirrm %%DOCSDIR%% %%DATADIR%%/fileproc.rb %%DATADIR%%/licenses/Artistic@Artistic %%DATADIR%%/licenses/Artistic@README |