summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-09-10 17:39:01 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2015-09-10 17:39:01 +0000
commite1e4d57293eedae2c1d85a6a9233157ed3a4a69b (patch)
treecbb4c8a23b650c9d40ec99182a4ea7429bea59f1
parent82704cf7135b8e7f985ab7cdf8642288a0e7f5d5 (diff)
downloadFreeBSD-ports-e1e4d57293eedae2c1d85a6a9233157ed3a4a69b.zip
FreeBSD-ports-e1e4d57293eedae2c1d85a6a9233157ed3a4a69b.tar.gz
- Switch to USES=tar
- Fix LICENSE - Fix install commands for docs - Add NO_ARCH - Switch to options helpers - Fix WWW:
-rw-r--r--databases/adodb/Makefile34
-rw-r--r--databases/adodb/pkg-descr2
2 files changed, 14 insertions, 22 deletions
diff --git a/databases/adodb/Makefile b/databases/adodb/Makefile
index 92d4272..d6d3dbb 100644
--- a/databases/adodb/Makefile
+++ b/databases/adodb/Makefile
@@ -6,34 +6,29 @@ PORTVERSION= 4.99.2
CATEGORIES= databases www
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-php-4-and-5/${PORTNAME}-${PORTVERSION:S/.//g}-for-php
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
-EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Database library for PHP
-LICENSE= BSD4CLAUSE
+LICENSE= BSD4CLAUSE LGPL21
+LICENSE_COMB= dual
+USES= tar:tgz
USE_PHP= pcre
CONFLICTS= adodb-5.*
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_BUILD= YES
+NO_BUILD= yes
+NO_ARCH= yes
+SUB_FILES= pkg-message
ADODB_SUBDIRS= contrib datadict drivers lang pear perf session xsl
OPTIONS_DEFINE= TESTS DOCS
-TESTS_DESC= Install tests
-
-.include <bsd.port.options.mk>
+OPTIONS_SUB= yes
-SUB_FILES+= pkg-message
-
-.if ${PORT_OPTIONS:MTESTS}
-PLIST_SUB+= TESTS=
-.else
-PLIST_SUB+= TESTS="@comment "
-.endif
+TESTS_DESC= Install tests
post-patch:
@cd ${WRKSRC}; ${RM} -f cute_icons_for_site/Thumbs.db
@@ -47,21 +42,18 @@ do-install:
@cd ${WRKSRC}; ${FIND} ${ADODB_SUBDIRS} -type f \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
-.if ${PORT_OPTIONS:MTESTS}
+do-install-TESTS-on:
@${MKDIR} ${STAGEDIR}${DATADIR}/tests
@cd ${WRKSRC}; ${FIND} tests -type f \
-exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DATADIR}/{} \;
-.endif
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${DOCSDIR}/cute_icons_for_site
@cd ${WRKSRC}; ${FIND} . ! -path './*/*' -type f -name '*.txt' \
- -exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
+ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
@cd ${WRKSRC}/docs; ${FIND} . -type f \
- -exec ${INSTALL_MAN} ${WRKSRC}/docs/{} ${STAGEDIR}${DOCSDIR}/{} \;
+ -exec ${INSTALL_DATA} ${WRKSRC}/docs/{} ${STAGEDIR}${DOCSDIR}/{} \;
@cd ${WRKSRC}; ${FIND} cute_icons_for_site -type f \
- -exec ${INSTALL_MAN} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
-.endif
+ -exec ${INSTALL_DATA} ${WRKSRC}/{} ${STAGEDIR}${DOCSDIR}/{} \;
.include <bsd.port.mk>
diff --git a/databases/adodb/pkg-descr b/databases/adodb/pkg-descr
index 4e7e124..91788c3 100644
--- a/databases/adodb/pkg-descr
+++ b/databases/adodb/pkg-descr
@@ -11,4 +11,4 @@ ODBC, ODBTP.
The Sybase, Informix, FrontBase and PostgreSQL, Netezza, LDAP, ODBTP drivers
are community contributions.
-WWW: http://adodb.sourceforge.net
+WWW: http://adodb.sourceforge.net/
OpenPOWER on IntegriCloud