aboutsummaryrefslogtreecommitdiff
path: root/sysutils/wmcube-gdk
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
committerRenato Botelho <garga@FreeBSD.org>2012-08-03 15:34:45 +0000
commit90d97bb7c0b335bf482b1243aaab6676246ab4ea (patch)
tree840e8379f841715c5db9a647458ff49f7766d803 /sysutils/wmcube-gdk
parent3699fb2fba0a69c608a43ba48f60a0bf905f0f1c (diff)
Notes
Diffstat (limited to 'sysutils/wmcube-gdk')
-rw-r--r--sysutils/wmcube-gdk/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/sysutils/wmcube-gdk/Makefile b/sysutils/wmcube-gdk/Makefile
index 75642f4b4ecb..ff20cf49270f 100644
--- a/sysutils/wmcube-gdk/Makefile
+++ b/sysutils/wmcube-gdk/Makefile
@@ -16,6 +16,9 @@ DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= A modified version of the dockapp wmCube
+OPTIONS_DEFINE= DOCS
+OPTIONS_DEFAULT=DOCS
+
USE_XORG= xpm
USE_GNOME= gtk12
MAKEFILE= Makefile.FREEBSD
@@ -26,6 +29,8 @@ DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
PORTDOCS= CHANGES README README.GDK TODO
+.include <bsd.port.pre.mk>
+
do-install:
@${INSTALL_PROGRAM} -m 2755 -o root -g kmem ${WRKSRC}/wmcube \
${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
@@ -35,12 +40,12 @@ post-install:
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${WRKSRC}/3dObjects/${files} ${DATADIR}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
. for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
. endfor
-.endif #NOPORTDOCS
+.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>