aboutsummaryrefslogtreecommitdiff
path: root/devel/libghthash
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 20:09:01 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-04 20:09:01 +0000
commit9fd9b760932fff30316ee6e177e3958bf7b06428 (patch)
tree71b940e987231ce033355bca877c126d84bb7584 /devel/libghthash
parent3ac1b6669fc0e71d8a31b19beeca7dec8745e1f1 (diff)
downloadports-9fd9b760932fff30316ee6e177e3958bf7b06428.tar.gz
ports-9fd9b760932fff30316ee6e177e3958bf7b06428.zip
Notes
Diffstat (limited to 'devel/libghthash')
-rw-r--r--devel/libghthash/Makefile17
1 files changed, 9 insertions, 8 deletions
diff --git a/devel/libghthash/Makefile b/devel/libghthash/Makefile
index f7b681ee6043..42e1438fbcb2 100644
--- a/devel/libghthash/Makefile
+++ b/devel/libghthash/Makefile
@@ -1,10 +1,5 @@
-# ex:ts=8
-# Ports collection makefile for: libghthash
-# Date created: Jul 2, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= libghthash
PORTVERSION= 0.6.2
@@ -23,6 +18,10 @@ PLIST_FILES= include/ght_hash_table.h \
lib/libghthash.a lib/libghthash.la \
lib/libghthash.so lib/libghthash.so.2
+.if defined(.PARSEDIR)
+USE_GMAKE= yes
+.endif
+
MAN3= ght_create.3 \
ght_finalize.3 \
ght_first.3 \
@@ -36,12 +35,14 @@ MAN3= ght_create.3 \
PORTDOCS= *
PORTEXAMPLES= *
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/html && ${COPYTREE_SHARE} \* ${DOCSDIR})
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \*.c ${EXAMPLESDIR})
.endif