diff options
author | eadler <eadler@FreeBSD.org> | 2013-10-21 01:25:57 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-10-21 01:25:57 +0800 |
commit | 5f495a028b4e51151db7948bf8408afc801a8fd9 (patch) | |
tree | 93045610fe7a1254abef336c49329000627e0de2 /devel | |
parent | 5668e2418ccdc5bd3c609033a2dd42beebcd14c1 (diff) | |
download | freebsd-ports-gnome-5f495a028b4e51151db7948bf8408afc801a8fd9.tar.gz freebsd-ports-gnome-5f495a028b4e51151db7948bf8408afc801a8fd9.tar.zst freebsd-ports-gnome-5f495a028b4e51151db7948bf8408afc801a8fd9.zip |
- Convert to staging
Diffstat (limited to 'devel')
-rw-r--r-- | devel/newfile/Makefile | 12 | ||||
-rw-r--r-- | devel/newfile/pkg-plist | 1 |
2 files changed, 8 insertions, 5 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile index dc607231fc24..492416cd60bb 100644 --- a/devel/newfile/Makefile +++ b/devel/newfile/Makefile @@ -15,17 +15,19 @@ LICENSE= BSD USE_RUBY= yes GNU_CONFIGURE= yes -MAN1= newfile.1 PORTDOCS= newfile.html -NO_STAGE= yes .include <bsd.port.options.mk> +post-configure: + ${REINPLACE_CMD} '282s,$$(pkgdatadir)/newfile.rb,$$(DESTDIR)$$(pkgdatadir)/newfile.rb,' ${WRKSRC}/src/Makefile + ${REINPLACE_CMD} '287s,$$(bindir)/newfile,$$(DESTDIR)$$(bindir)/newfile,' ${WRKSRC}/src/Makefile + post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .endif .include <bsd.port.mk> diff --git a/devel/newfile/pkg-plist b/devel/newfile/pkg-plist index 49543e13d882..95d285677455 100644 --- a/devel/newfile/pkg-plist +++ b/devel/newfile/pkg-plist @@ -1,5 +1,6 @@ @comment $FreeBSD$ bin/newfile +man/man1/newfile.1.gz %%DATADIR%%/fileproc.rb %%DATADIR%%/licenses/Artistic@Artistic %%DATADIR%%/licenses/Artistic@README |