summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2008-12-12 16:02:26 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2008-12-12 16:02:26 +0000
commit42d5af0e832499a6e37be74e4878f012a4d4e8cf (patch)
tree72b7f8a03dfa11e2df2caa3e685c81350e0200ea /devel
parent- Adjust PYNUMERIC comment (diff)
- Take maintainship
- Support PORTDOCS and PORTEXAMPLES
Notes
Notes: svn path=/head/; revision=224160
Diffstat (limited to 'devel')
-rw-r--r--devel/libghthash/Makefile34
1 files changed, 24 insertions, 10 deletions
diff --git a/devel/libghthash/Makefile b/devel/libghthash/Makefile
index d70b2226607d..8aed6eed0a02 100644
--- a/devel/libghthash/Makefile
+++ b/devel/libghthash/Makefile
@@ -8,10 +8,11 @@
PORTNAME= libghthash
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.ipd.bth.se/ska/sim_home/filer/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= gahr@FreeBSD.org
COMMENT= Generic Hash Table
USE_AUTOTOOLS= libtool:15
@@ -22,14 +23,27 @@ PLIST_FILES= include/ght_hash_table.h \
lib/libghthash.a lib/libghthash.la \
lib/libghthash.so lib/libghthash.so.2
-MAN3= ght_create.3 \
- ght_finalize.3 \
- ght_first.3 \
- ght_first_keysize.3 \
- ght_get.3 \
- ght_insert.3 \
- ght_next.3 \
- ght_next_keysize.3 \
- ght_remove.3
+MAN3= ght_create.3 \
+ ght_finalize.3 \
+ ght_first.3 \
+ ght_first_keysize.3 \
+ ght_get.3 \
+ ght_insert.3 \
+ ght_next.3 \
+ ght_next_keysize.3 \
+ ght_remove.3
+
+PORTDOCS= *
+PORTEXAMPLES= *
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DOCSDIR})
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${EXAMPLESDIR})
+.endif
.include <bsd.port.mk>