aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-17 21:30:44 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-11-17 21:30:44 +0000
commit09fc7a05f5807b2a61f0fab1b6dc04d67d955fb7 (patch)
tree7cc6e5b7edd6de22fc5a4aed731a17cb3abe1a52 /devel
parentdfd4aee28235df85ad992ecc7af7f0da98534418 (diff)
downloadports-09fc7a05f5807b2a61f0fab1b6dc04d67d955fb7.tar.gz
ports-09fc7a05f5807b2a61f0fab1b6dc04d67d955fb7.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/libghthash/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/libghthash/Makefile b/devel/libghthash/Makefile
index 1c67a932b854..26400eafddb1 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})