aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-27 19:53:16 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-27 19:53:16 +0800
commiteeb37f39cf393ce9cc758762769952be56da6d8c (patch)
treed14e507cc0a69d27f963ed6544dd6129a003839f /misc
parentba30d859eb3c4944b50a6fac48614119ec869ab3 (diff)
downloadfreebsd-ports-gnome-eeb37f39cf393ce9cc758762769952be56da6d8c.tar.gz
freebsd-ports-gnome-eeb37f39cf393ce9cc758762769952be56da6d8c.tar.zst
freebsd-ports-gnome-eeb37f39cf393ce9cc758762769952be56da6d8c.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'misc')
-rw-r--r--misc/dvorakng/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/dvorakng/Makefile b/misc/dvorakng/Makefile
index a630d7585dd5..65c5082f84c5 100644
--- a/misc/dvorakng/Makefile
+++ b/misc/dvorakng/Makefile
@@ -10,19 +10,24 @@ MASTER_SITES= http://www.free.of.pl/n/nopik/
MAINTAINER= ports@FreeBSD.org
COMMENT= Dvorak typing tutor
-USES= tar:bzip2
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= tar:bzip2
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ARGS= CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS} ${CPPFLAGS}" \
CXXFLAGS="${CXXFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-OPTIONS_DEFINE= DOCS
-
PLIST_FILES= bin/dvorakng
PORTDOCS= README TODO
+OPTIONS_DEFINE= DOCS
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dvorakng ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}