1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/databases/php-adodb-ext/Makefile
Sunpoet Po-Chuan Hsieh eab3d37c7f - Allow build with php55
- Remove DEFAULT_PHP_VER
- Bump PORTREVISION for dependency change
- While I'm here:
  - Use USE_PHPEXT and PHP_MODNAME
  - Remove unnecessary CONFIGURE_ARGS
  - Simplify Makefile: move common part of two extra patches to patch-adodb.c
  - Use USES=dos2unix
  - Support STAGEDIR
  - Use single space after WWW:

PR:		ports/188236
Submitted by:	Joe Horn <joehorn@gmail.com> (maintainer)
2014-04-06 05:49:11 +00:00

31 lines
616 B
Makefile

# Created by: JoeHorn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= adodb-ext
PORTVERSION= 5.04
PORTREVISION= 3
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/.//}
USES= dos2unix zip
USE_PHP= yes
USE_PHPEXT= yes
PHP_MODNAME= adodb
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${PHP_VER} == "5" || ${PHP_VER} == "54" || ${PHP_VER} == "55"
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-php54-adodb.c
.endif
.include <bsd.port.post.mk>