aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-04 02:50:23 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-04 02:50:23 +0800
commit114b7b49a7b399e3285b75ddbc9ce7657be50b14 (patch)
treeef4984ad2900a3bc3c1524d6d6d1220d7901265c /x11
parent0d3d6885e715990ec21a9265a16bc21c6b315220 (diff)
downloadfreebsd-ports-gnome-114b7b49a7b399e3285b75ddbc9ce7657be50b14.tar.gz
freebsd-ports-gnome-114b7b49a7b399e3285b75ddbc9ce7657be50b14.tar.zst
freebsd-ports-gnome-114b7b49a7b399e3285b75ddbc9ce7657be50b14.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'x11')
-rw-r--r--x11/gromit/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/gromit/Makefile b/x11/gromit/Makefile
index bead657e8d78..30249915b67d 100644
--- a/x11/gromit/Makefile
+++ b/x11/gromit/Makefile
@@ -10,6 +10,9 @@ MASTER_SITES= http://www.home.unix-ag.org/simon/gromit/
MAINTAINER= ports@FreeBSD.org
COMMENT= GRaphics Over Miscellaneous Objects (Gromit)
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
USES= pkgconfig
USE_GNOME= gtk20
USE_XORG= x11
@@ -18,15 +21,13 @@ DOCS= AUTHORS ChangeLog README
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gromit ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/gromitrc ${STAGEDIR}${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>