openbsd-ports/mail/pecl-mailparse/Makefile
sthen ef770bed89 php-5.3 installs mbstring.h, so no need for a BUILD_DEPENDS=lang/php...:patch
target in pecl-mailparse and associated patches which was only used to pick up
the header.
2012-01-22 10:55:26 +00:00

52 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2012/01/22 10:55:26 sthen Exp $
SHARED_ONLY = Yes
COMMENT = PHP extension for parsing and working with rfc822/MIME mail
DISTNAME = mailparse-2.1.5
PKGNAME = pecl-${DISTNAME}
REVISION = 6
CATEGORIES = www mail
HOMEPAGE = http://pecl.php.net/package/mailparse
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
# PHP License
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://pecl.php.net/get/
EXTRACT_SUFX = .tgz
AUTOCONF_VERSION = 2.52
AUTOMAKE_VERSION = 1.4
MODULES= lang/php
BUILD_DEPENDS = www/pear \
${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE_DEPENDS}
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = AUTOMAKE_VERSION=${AUTOMAKE_VERSION} \
AUTOCONF_VERSION=${AUTOCONF_VERSION}
FAKE_FLAGS = INSTALL_ROOT=${WRKINST}
SUBST_VARS = LOCALBASE
# needs command-line PHP installed and has some interactions
# with chroot directory structure.
NO_REGRESS = Yes
USE_LIBTOOL = Yes
LIBTOOL_FLAGS = --tag=disable-static
MODPHP_DO_SAMPLE= mailparse
MODPHP_DO_PHPIZE= Yes
.include <bsd.port.mk>