aboutsummaryrefslogtreecommitdiffstats
path: root/math/ploticus
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2014-07-07 07:32:30 +0800
committerlinimon <linimon@FreeBSD.org>2014-07-07 07:32:30 +0800
commit8f9a9bf83532171f9fe8f885fa474229da34face (patch)
treebbca4689bf61ff7103ef600cfa3e6d9835d7e4ed /math/ploticus
parentaff8ddd0975ab81f2bfb38cf6bcfff3f8519f520 (diff)
downloadfreebsd-ports-gnome-8f9a9bf83532171f9fe8f885fa474229da34face.tar.gz
freebsd-ports-gnome-8f9a9bf83532171f9fe8f885fa474229da34face.tar.zst
freebsd-ports-gnome-8f9a9bf83532171f9fe8f885fa474229da34face.zip
Stagify.
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