summaryrefslogtreecommitdiff
path: root/mail/php-imap/Makefile
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-10-31 19:30:29 +0000
commit52c19805011b2d8d525f4d2a6c01cf961940d9aa (patch)
tree9eebc2a4ea3e6fa6c783e1abb83bc43228266985 /mail/php-imap/Makefile
parent0ed49ace1ff1fc3ca3ff39742f593ac63c9a9c81 (diff)
downloadpkgsrc-52c19805011b2d8d525f4d2a6c01cf961940d9aa.tar.gz
new PHP extension module framework, which makes it possible to build
individual PHP extension packages with either PHP 4.x or PHP 5.x convert existing php4-* packages to this framework and import as php-*
Diffstat (limited to 'mail/php-imap/Makefile')
-rw-r--r--mail/php-imap/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/php-imap/Makefile b/mail/php-imap/Makefile
new file mode 100644
index 00000000000..a535552fd96
--- /dev/null
+++ b/mail/php-imap/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/10/31 19:30:30 jdolecek Exp $
+
+MODNAME= imap
+PKGREVISION= # empty
+CATEGORIES+= mail
+COMMENT= PHP extension for IMAP (Internet Mailbox Access Protocol)
+
+USE_BUILDLINK3= YES
+USE_PHP_EXT_PATCHES= yes
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared,${BUILDLINK_PREFIX.imap-uw}
+CONFIGURE_ARGS+= --with-${MODNAME}-ssl=${SSLBASE}
+CONFIGURE_ARGS+= --with-${MODNAME}-linkage
+CONFIGURE_ENV+= ac_cv_lib_pam_pam_start=no
+
+LIBS+= -lssl -lcrypto
+
+.include "../../lang/php/ext.mk"
+.include "../../mail/imap-uw/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"