2008-08-08 08:44:28 +02:00
|
|
|
# New ports collection makefile for: php-adodb-ext
|
|
|
|
# Date created: 29 July 2008
|
|
|
|
# Whom: JoeHorn <joehorn@gmail.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= adodb-ext
|
|
|
|
PORTVERSION= 5.04
|
2010-04-12 15:56:14 +02:00
|
|
|
PORTREVISION= 1
|
2008-08-08 08:44:28 +02:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= http://phplens.com/lens/dl/
|
|
|
|
PKGNAMEPREFIX= php-
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
MAINTAINER= joehorn@gmail.com
|
|
|
|
COMMENT= ADOdb Extension
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/adodb-${PORTVERSION:S/.//}
|
|
|
|
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHPIZE= yes
|
|
|
|
USE_ZIP= yes
|
2010-04-12 15:56:14 +02:00
|
|
|
|
2008-08-08 08:44:28 +02:00
|
|
|
DEFAULT_PHP_VER= 5
|
|
|
|
CONFIGURE_ARGS= --with-php-config=${PREFIX}/bin/php-config \
|
|
|
|
--prefix=${PREFIX}/lib/php/${PHP_EXT_DIR}
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
PLIST_SUB= PHP_EXT_DIR=${PHP_EXT_DIR}
|
2010-04-12 15:56:14 +02:00
|
|
|
USE_DOS2UNIX= yes
|
2008-08-08 08:44:28 +02:00
|
|
|
|
2011-08-08 13:04:45 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PHP_VER} != "52"
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-adodb.c
|
|
|
|
.endif
|
|
|
|
|
2008-08-08 08:44:28 +02:00
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2011-08-08 13:04:45 +02:00
|
|
|
.include <bsd.port.post.mk>
|