aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorstephen <stephen@FreeBSD.org>2014-01-27 23:15:04 +0800
committerstephen <stephen@FreeBSD.org>2014-01-27 23:15:04 +0800
commitb363b74734899c58859da52ec52b84662564e13d (patch)
tree86a171d057b2f491dc8c58747e821d2b21c490b3 /science
parentd665a2cfab7765cfa0ee748a432cc216516282bc (diff)
downloadfreebsd-ports-gnome-b363b74734899c58859da52ec52b84662564e13d.tar.gz
freebsd-ports-gnome-b363b74734899c58859da52ec52b84662564e13d.tar.zst
freebsd-ports-gnome-b363b74734899c58859da52ec52b84662564e13d.zip
- Implement staging.
Diffstat (limited to 'science')
-rw-r--r--science/getdp/Makefile8
-rw-r--r--science/getdp/pkg-plist1
2 files changed, 4 insertions, 5 deletions
diff --git a/science/getdp/Makefile b/science/getdp/Makefile
index 589f9ab02418..6ae03104525f 100644
--- a/science/getdp/Makefile
+++ b/science/getdp/Makefile
@@ -23,20 +23,18 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gsl-prefix=${LOCALBASE} \
--with-blas-lapack-prefix=${LOCALBASE} \
--enable-sparskit
+MAKE_ARGS= bindir=${STAGEDIR}${PREFIX}/bin mandir=${STAGEDIR}${PREFIX}/man
WANT_PERL= yes
MAKE_JOBS_UNSAFE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-MAN1= getdp.1
-
-NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
- cd ${WRKSRC}/doc && ${FIND} -s ${WRKSRC}/doc/* | ${SED} -e 's#${WRKSRC}/doc/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${FIND} -s ${WRKSRC}/doc/* | ${SED} -e 's#${WRKSRC}/doc/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
- cd ${WRKSRC}/demos && ${FIND} -s ${WRKSRC}/demos/* | ${SED} -e 's#${WRKSRC}/demos/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${EXAMPLESDIR}
+ cd ${WRKSRC}/demos && ${FIND} -s ${WRKSRC}/demos/* | ${SED} -e 's#${WRKSRC}/demos/##' | ${CPIO} -pmud -R ${BINOWN}:${BINGRP} ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.pre.mk>
diff --git a/science/getdp/pkg-plist b/science/getdp/pkg-plist
index 7f6b26df7d1d..b7bb4282b1db 100644
--- a/science/getdp/pkg-plist
+++ b/science/getdp/pkg-plist
@@ -1,4 +1,5 @@
bin/getdp
+man/man1/getdp.1.gz
%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/Makefile