aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-21 19:09:38 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-21 19:09:38 +0800
commit9bd7fdb7ee78edc6b7fb39fa1eaae901d4041c27 (patch)
treecbcbfdba6797c53f048f4e5470ee74b412f852fd /math
parent2ca5b7b02803aaf9e91dc22bf64b194b5e588138 (diff)
downloadfreebsd-ports-gnome-9bd7fdb7ee78edc6b7fb39fa1eaae901d4041c27.tar.gz
freebsd-ports-gnome-9bd7fdb7ee78edc6b7fb39fa1eaae901d4041c27.tar.zst
freebsd-ports-gnome-9bd7fdb7ee78edc6b7fb39fa1eaae901d4041c27.zip
Support staging
Diffstat (limited to 'math')
-rw-r--r--math/xspread/Makefile25
1 files changed, 11 insertions, 14 deletions
diff --git a/math/xspread/Makefile b/math/xspread/Makefile
index c2fa025782fa..1495dc0abe7a 100644
--- a/math/xspread/Makefile
+++ b/math/xspread/Makefile
@@ -23,11 +23,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.orig
GNU_CONFIGURE= yes
-MAN1= xspread.1 pxspread.1
PORTDOCS= *
-PLIST_FILES= bin/pxspread bin/xspread
+PLIST_FILES= bin/pxspread bin/xspread man/man1/pxspread.1.gz \
+ man/man1/xspread.1.gz
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MX11}
@@ -46,19 +45,17 @@ post-patch:
's|^void main|int main|' ${WRKSRC}/psc.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pxspread ${PREFIX}/bin/pxspread
- ${INSTALL_PROGRAM} ${WRKSRC}/xspread ${PREFIX}/bin/xspread
- ${INSTALL_MAN} ${WRKSRC}/pxspread.man ${MANPREFIX}/man/man1/pxspread.1
- ${INSTALL_MAN} ${WRKSRC}/xspread.man ${MANPREFIX}/man/man1/xspread.1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/x/notes ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/pxspread ${STAGEDIR}${PREFIX}/bin/pxspread
+ ${INSTALL_PROGRAM} ${WRKSRC}/xspread ${STAGEDIR}${PREFIX}/bin/xspread
+ ${INSTALL_MAN} ${WRKSRC}/pxspread.man ${STAGEDIR}${MANPREFIX}/man/man1/pxspread.1
+ ${INSTALL_MAN} ${WRKSRC}/xspread.man ${STAGEDIR}${MANPREFIX}/man/man1/xspread.1
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/x/notes ${STAGEDIR}${DOCSDIR}
.for dir in doc documents sample_files tests
@${TAR} -C ${WRKSRC} --exclude '*.tmp' -cf - ${dir} | \
- ${TAR} -C ${DOCSDIR} --unlink -xf -
+ ${TAR} -C ${STAGEDIR}${DOCSDIR} --unlink -xf -
.endfor
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
-.endif
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>