mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
eab3d37c7f
- 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)
31 lines
616 B
Makefile
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>
|