aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-11-18 05:30:44 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-11-18 05:30:44 +0800
commit8df1c3c946eef95af7fb97ed875d5d2404fd6fe8 (patch)
tree7cc6e5b7edd6de22fc5a4aed731a17cb3abe1a52
parent8ec20d15ca9dda8a2e2b65059b9f1bfc88fe2b9a (diff)
downloadfreebsd-ports-graphics-8df1c3c946eef95af7fb97ed875d5d2404fd6fe8.tar.gz
freebsd-ports-graphics-8df1c3c946eef95af7fb97ed875d5d2404fd6fe8.tar.zst
freebsd-ports-graphics-8df1c3c946eef95af7fb97ed875d5d2404fd6fe8.zip
- Add LICENSE
- Switch to options helpers
-rw-r--r--devel/libghthash/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/libghthash/Makefile b/devel/libghthash/Makefile
index 1c67a932b85..26400eafddb 100644
--- a/devel/libghthash/Makefile
+++ b/devel/libghthash/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://www.ipd.bth.se/ska/sim_home/filer/
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic Hash Table
-OPTIONS_DEFINE= DOCS EXAMPLES
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf libtool
GNU_CONFIGURE= yes
@@ -35,9 +36,13 @@ PLIST_FILES= include/ght_hash_table.h \
PORTDOCS= *
PORTEXAMPLES= *
-post-install:
+OPTIONS_DEFINE= DOCS EXAMPLES
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${STAGEDIR}${EXAMPLESDIR})