aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 589f9ab0241..6ae03104525 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 7f6b26df7d1..b7bb4282b1d 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