aboutsummaryrefslogtreecommitdiff
path: root/databases/adodb
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:43:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:43:46 +0000
commit14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3 (patch)
tree761cd23e07e2b5224d73f540985d84eede599029 /databases/adodb
parent7ef963090c1ba3fae0e4ab7630e60ff49fe6a9f0 (diff)
downloadports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.tar.gz
ports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.zip
Notes
Diffstat (limited to 'databases/adodb')
-rw-r--r--databases/adodb/Makefile19
1 files changed, 8 insertions, 11 deletions
diff --git a/databases/adodb/Makefile b/databases/adodb/Makefile
index b092ff653441..84a2e1dd89c2 100644
--- a/databases/adodb/Makefile
+++ b/databases/adodb/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: adodb
-# Date created: 4 May 2001
-# Whom: abgoeree@uwnet.nl
-#
+# Created by: abgoeree@uwnet.nl
# $FreeBSD$
-#
PORTNAME= adodb
PORTVERSION= 4.99.2
@@ -26,13 +22,14 @@ NO_BUILD= YES
ADODB_SUBDIRS= contrib datadict drivers lang pear perf session xsl
-OPTIONS= TESTS "Install tests" off
+OPTIONS_DEFINE= TESTS DOCS
+TESTS_DESC= Install tests
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
SUB_FILES+= pkg-message
-.if defined (WITH_TESTS)
+.if ${PORT_OPTIONS:MTESTS}
PLIST_SUB+= TESTS=
.else
PLIST_SUB+= TESTS="@comment "
@@ -50,14 +47,14 @@ do-install:
@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
-.if defined (WITH_TESTS)
+.if ${PORT_OPTIONS:MTESTS}
@${MKDIR} ${DATADIR}/tests
@cd ${WRKSRC}; ${FIND} tests -type f \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${DATADIR}/{} \;
.endif
post-install:
-.if !defined (NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR} ${DOCSDIR}/cute_icons_for_site
@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \
-exec ${INSTALL_MAN} ${WRKSRC}/{} ${DOCSDIR}/{} \;
@@ -68,4 +65,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>