summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-06-02 04:12:13 +0000
committerlioux <lioux@FreeBSD.org>2001-06-02 04:12:13 +0000
commitf7311b43dad414a90105b017049257df9b7c0e66 (patch)
tree88cfb54e4d961dc30dcdc5a79df9a0c932e1d643
parent63d5e3c2e524263a0eb0508c08f5d3d6c20cb95c (diff)
downloadFreeBSD-ports-f7311b43dad414a90105b017049257df9b7c0e66.zip
FreeBSD-ports-f7311b43dad414a90105b017049257df9b7c0e66.tar.gz
- Install additional 3d objects
- Be verbose during installation - Add PKGMESSAGE with run instructions Submitted by: maintainer
-rw-r--r--sysutils/wmcube/Makefile11
-rw-r--r--sysutils/wmcube/pkg-message10
-rw-r--r--sysutils/wmcube/pkg-plist35
3 files changed, 56 insertions, 0 deletions
diff --git a/sysutils/wmcube/Makefile b/sysutils/wmcube/Makefile
index 0d2dc56..6a1bcbb 100644
--- a/sysutils/wmcube/Makefile
+++ b/sysutils/wmcube/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= pat@databits.net
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_XPM= yes
do-configure:
@${SED} -e "s|/usr/X11R6/|${X11BASE}/|" \
@@ -22,12 +23,22 @@ do-configure:
${WRKSRC}/Makefile
post-install:
+.for file in *.wmc
+ @${ECHO} "===> Installing extra 3d objects in ${PREFIX}/share/${PORTNAME}"
+ @${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
+ ${PREFIX}/share/${PORTNAME}
+ @${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} \
+ ${PREFIX}/share/${PORTNAME}
+.endfor
.ifndef(NOPORTDOCS)
+ @${ECHO} "===> Installing README in ${PREFIX}/share/doc/${PORTNAME}"
+ @${ECHO} "===> Please Read pkg-descr and README for usage information"
@${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 555 \
${PREFIX}/share/doc/${PORTNAME}
.for file in CHANGES COPYING README TODO
@${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif # !NOPORTDOCS
+ ${SED} -e "s|/usr/X11R6/|${PREFIX}|" ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/sysutils/wmcube/pkg-message b/sysutils/wmcube/pkg-message
new file mode 100644
index 0000000..ab45883
--- /dev/null
+++ b/sysutils/wmcube/pkg-message
@@ -0,0 +1,10 @@
+The extra 3d objects are located in:
+ /usr/X11R6/share/wmcube
+
+To run wmcube type:
+ wmcube -o /usr/X11R6/share/wmcube &
+
+Do not forget to replace /usr/X11R6 with your appropriate installation
+prefix if you do not use the port's system default.
+
+(default: /usr/X11R6/)
diff --git a/sysutils/wmcube/pkg-plist b/sysutils/wmcube/pkg-plist
index 067d58c..8da4b94 100644
--- a/sysutils/wmcube/pkg-plist
+++ b/sysutils/wmcube/pkg-plist
@@ -1,6 +1,41 @@
bin/wmcube
+share/wmcube/2planes-solid.wmc
+share/wmcube/4d.wmc
+share/wmcube/8star-small.wmc
+share/wmcube/8star.wmc
+share/wmcube/ball-solid.wmc
+share/wmcube/ball.wmc
+share/wmcube/celtic.wmc
+share/wmcube/cross.wmc
+share/wmcube/cross2-solid.wmc
+share/wmcube/cross2.wmc
+share/wmcube/cross3-solid.wmc
+share/wmcube/cross3.wmc
+share/wmcube/cross4-solid.wmc
+share/wmcube/crystal.wmc
+share/wmcube/cube-solid.wmc
+share/wmcube/cube.wmc
+share/wmcube/diamond.wmc
+share/wmcube/dice-solid.wmc
+share/wmcube/e.wmc
+share/wmcube/e2.wmc
+share/wmcube/foo.wmc
+share/wmcube/gnustep.wmc
+share/wmcube/hyperpyramid.wmc
+share/wmcube/jeep.wmc
+share/wmcube/multicube.wmc
+share/wmcube/peace.wmc
+share/wmcube/pyramid.wmc
+share/wmcube/radioactive.wmc
+share/wmcube/shield.wmc
+share/wmcube/spaceshuttle.wmc
+share/wmcube/spiral.wmc
+share/wmcube/star.wmc
+share/wmcube/starcube.wmc
+share/wmcube/wmlogo.wmc
%%PORTDOCS%%share/doc/wmcube/CHANGES
%%PORTDOCS%%share/doc/wmcube/COPYING
%%PORTDOCS%%share/doc/wmcube/README
%%PORTDOCS%%share/doc/wmcube/TODO
+@dirrm share/wmcube
%%PORTDOCS%%@dirrm share/doc/wmcube
OpenPOWER on IntegriCloud