openbsd-ports/mail/pecl-mailparse/Makefile
2011-09-16 10:31:20 +00:00

56 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2011/09/16 10:31:22 espie Exp $
SHARED_ONLY = Yes
COMMENT = PHP extension for parsing and working with rfc822/MIME mail
DISTNAME = mailparse-2.1.5
PKGNAME = pecl-${DISTNAME}
REVISION = 4
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 \
lang/php/${MODPHP_VERSION},-main:patch \
${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
post-extract:
ln -s ${WRKDIR}/lang/php/${MODPHP_VERSION}/php-* ${WRKDIR}/php
.include <bsd.port.mk>