mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 5.18
- while here trim header and adopt optionsNG PR: 174122 Submitted by: maintainer, joehorn@gmail.com Feature safe: yes
This commit is contained in:
parent
17b90cddaa
commit
3987029956
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308295
3 changed files with 13 additions and 14 deletions
|
@ -1,15 +1,12 @@
|
|||
# New ports collection makefile for: adodb5
|
||||
# Date created: 25 Dec 2007
|
||||
# Whom: mm@FreeBSD.org
|
||||
# Created by: mm@FreeBSD.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= adodb
|
||||
DISTVERSION= 5.15
|
||||
DISTVERSION= 5.18
|
||||
CATEGORIES= databases www
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-php5-only/${PORTNAME}-${DISTVERSION:S/.//g}-for-php5
|
||||
DISTNAME= ${PORTNAME:S/5//}${DISTVERSION:S/.//g}
|
||||
DISTNAME= ${PORTNAME:S/5//}${DISTVERSION:S/.//g}a
|
||||
|
||||
MAINTAINER= joehorn@gmail.com
|
||||
COMMENT= Database library for PHP
|
||||
|
@ -29,13 +26,14 @@ NO_BUILD= YES
|
|||
|
||||
ADODB_SUBDIRS= contrib datadict drivers lang pear perf session xsl
|
||||
|
||||
OPTIONS= TESTS "Install tests" off
|
||||
OPTIONS_DEFINE= TESTS
|
||||
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 +48,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 +66,4 @@ post-install:
|
|||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (adodb515.zip) = 51ccd7e9cbd1ba5ad2e0af2a77f3da602944e1adbf70c7307207a7132f3cc127
|
||||
SIZE (adodb515.zip) = 733036
|
||||
SHA256 (adodb518a.zip) = 0f5411be4675c2161a489ac1091d8e30d66e3f8f9bfc98a518e541db93b2733b
|
||||
SIZE (adodb518a.zip) = 738496
|
||||
|
|
|
@ -85,6 +85,7 @@
|
|||
%%DATADIR%%/drivers/adodb-postgres64.inc.php
|
||||
%%DATADIR%%/drivers/adodb-postgres7.inc.php
|
||||
%%DATADIR%%/drivers/adodb-postgres8.inc.php
|
||||
%%DATADIR%%/drivers/adodb-postgres9.inc.php
|
||||
%%DATADIR%%/drivers/adodb-proxy.inc.php
|
||||
%%DATADIR%%/drivers/adodb-sapdb.inc.php
|
||||
%%DATADIR%%/drivers/adodb-sqlanywhere.inc.php
|
||||
|
|
Loading…
Add table
Reference in a new issue