aboutsummaryrefslogtreecommitdiff
path: root/math/ploticus
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2014-07-06 23:32:30 +0000
committerMark Linimon <linimon@FreeBSD.org>2014-07-06 23:32:30 +0000
commit46a55341a6185af5c2a8ac6cbbd1ba9019bc44c6 (patch)
treebbca4689bf61ff7103ef600cfa3e6d9835d7e4ed /math/ploticus
parent47d6cf5eb6d7f3e2f39495a555d2c3415e7084bf (diff)
downloadports-46a55341a6185af5c2a8ac6cbbd1ba9019bc44c6.tar.gz
ports-46a55341a6185af5c2a8ac6cbbd1ba9019bc44c6.zip
Notes
Diffstat (limited to 'math/ploticus')
-rw-r--r--math/ploticus/Makefile27
-rw-r--r--math/ploticus/pkg-plist2
2 files changed, 9 insertions, 20 deletions
diff --git a/math/ploticus/Makefile b/math/ploticus/Makefile
index 495d28813046..e8f34ba3cddb 100644
--- a/math/ploticus/Makefile
+++ b/math/ploticus/Makefile
@@ -39,32 +39,19 @@ PKGNAMESUFFIX= -nox11
USE_XORG= xpm
.endif
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1= ploticus.1
-MAN3= libploticus.3
-MANCOMPRESSED= no
-.endif
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},g' \
${BUILD_WRKSRC}/Makefile ${BUILD_WRKSRC}/mkapi
do-install:
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/pl ${PREFIX}/bin/ploticus
- @${MKDIR} ${DATADIR}
+ ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/pl ${STAGEDIR}${PREFIX}/bin/ploticus
+ @${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/prefabs && ${FIND} . | \
- ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
-
-.if !defined(NO_INSTALL_MANPAGES)
- ${INSTALL_MAN} ${WRKSRC}/man/man1/pl.1 ${MANPREFIX}/man/man1/ploticus.1
- ${INSTALL_MAN} ${WRKSRC}/man/man3/${MAN3} ${MANPREFIX}/man/man3
-.endif
-
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/pl.1 ${STAGEDIR}${MANPREFIX}/man/man1/ploticus.1
+ ${INSTALL_MAN} ${WRKSRC}/man/man3/libploticus.3 ${STAGEDIR}${MANPREFIX}/man/man3
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/pltestsuite && ${FIND} . \! -name "*.orig" | \
- ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
-.endif
+ ${CPIO} -pdm -L -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/math/ploticus/pkg-plist b/math/ploticus/pkg-plist
index 8755a1154edc..50425a403f48 100644
--- a/math/ploticus/pkg-plist
+++ b/math/ploticus/pkg-plist
@@ -1,4 +1,6 @@
bin/ploticus
+man/man1/ploticus.1.gz
+man/man3/libploticus.3.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Diag.out
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README