summaryrefslogtreecommitdiff
path: root/mail/qpopper/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-06-13 16:53:47 +0000
committertaca <taca@pkgsrc.org>2005-06-13 16:53:47 +0000
commit3928d0b3f478246677b69ce2a8aa29c236dbd129 (patch)
tree8f45697afa388d8be847dc07593b7c9532b68ce3 /mail/qpopper/Makefile
parent17a268cbfe1f897a414d670c34979e1c23e5d2ed (diff)
downloadpkgsrc-3928d0b3f478246677b69ce2a8aa29c236dbd129.tar.gz
Move qpopper specific definition from Makefile.common to Makefile
to avoid accidently sharing options.mk between poppassd and qpopper. No functional change to qpopper pkgsrc itself.
Diffstat (limited to 'mail/qpopper/Makefile')
-rw-r--r--mail/qpopper/Makefile22
1 files changed, 20 insertions, 2 deletions
diff --git a/mail/qpopper/Makefile b/mail/qpopper/Makefile
index c83a59130fe..9b7c4fabc6a 100644
--- a/mail/qpopper/Makefile
+++ b/mail/qpopper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2005/06/01 20:55:16 adrianp Exp $
+# $NetBSD: Makefile,v 1.51 2005/06/13 16:53:47 taca Exp $
#
DISTNAME= qpopper${VERSION}
@@ -6,14 +6,32 @@ PKGNAME= qpopper-${VERSION}
CATEGORIES= mail
MASTER_SITES= ${QPOPPER_MASTER_SITES}
+PATCH_SITES= ${QPOPPER_PATCHSITES}
+PATCHFILES= ${QPOPPER_PATCHFILES}
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= mellon@fugue.com
HOMEPAGE= ${QPOPPER_HOMEPAGE}
COMMENT= Qualcomm's POP server for Eudora
.include "Makefile.common"
-USE_PKGINSTALL= yes
+CONFIGURE_ARGS+= --enable-apop=${QPOPPER_APOP_AUTH} \
+ --enable-popuid=${QPOPPER_USER} \
+ --disable-update-abort --without-gdbm
+
+.include "options.mk"
+QPOPPER_USER?= pop
+QPOPPER_GROUP?= mail
+QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth
+DB_SUFFIX?= db
+
+.if defined(QPOPPER_SPOOL_DIR)
+CONFIGURE_ARGS+= --enable-spool-dir=${QPOPPER_SPOOL_DIR}
+.endif
+
+USE_PKGINSTALL= yes
RCD_SCRIPTS= qpopper
MESSAGE_SUBST+= RCD_SCRIPTS=${RCD_SCRIPTS} \
RCD_SCRIPTS_DIR=${RCD_SCRIPTS_DIR}