aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2013-11-01 07:45:23 +0800
committergarga <garga@FreeBSD.org>2013-11-01 07:45:23 +0800
commit3bd0bc4a591047a4e9261f524bd645e4de241575 (patch)
tree89c08fab27518082161f84ca735a3618e556e4d8 /sysutils
parent7dac8b4eb5fb3e187fd51e555908fb28263a163f (diff)
downloadfreebsd-ports-gnome-3bd0bc4a591047a4e9261f524bd645e4de241575.tar.gz
freebsd-ports-gnome-3bd0bc4a591047a4e9261f524bd645e4de241575.tar.zst
freebsd-ports-gnome-3bd0bc4a591047a4e9261f524bd645e4de241575.zip
. Add LICENSE
. Simplify Makefile
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wmcube/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysutils/wmcube/Makefile b/sysutils/wmcube/Makefile
index eed327edde58..68ac767cd55b 100644
--- a/sysutils/wmcube/Makefile
+++ b/sysutils/wmcube/Makefile
@@ -13,6 +13,8 @@ MASTER_SITE_SUBDIR= x11/dock
MAINTAINER= garga@FreeBSD.org
COMMENT= Window Maker dockapp that displays cpu load and a realtime 3D object
+LICENSE= GPLv2
+
OPTIONS_DEFINE= DOCS
WRKSRC= ${WRKDIR}/${PORTNAME}/${PORTNAME}
@@ -24,8 +26,6 @@ USE_CSTD= gnu89
MAKE_JOBS_UNSAFE= yes
NEED_ROOT= yes
-.include <bsd.port.pre.mk>
-
do-install:
${INSTALL_PROGRAM} -m 2755 -o root -g kmem ${WRKSRC}/wmcube ${STAGEDIR}${PREFIX}/bin
.for file in *.wmc
@@ -33,13 +33,11 @@ do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/3dObjects/${file} ${STAGEDIR}${DATADIR}
.endfor
-.if ${PORT_OPTIONS:MDOCS}
@${ECHO} "===> Installing README in ${STAGEDIR}${PREFIX}/share/doc/${PORTNAME}"
@${ECHO} "===> Please Read pkg-descr and README for usage information"
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-. for f in ${PORTDOCS}
+.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/../${f} ${STAGEDIR}${DOCSDIR}
-. endfor
-.endif
+.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>