summaryrefslogtreecommitdiff
path: root/mail/qpopper
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
commit0446b0862f5d59020a637ad00232d6529aae46e5 (patch)
tree8f45697afa388d8be847dc07593b7c9532b68ce3 /mail/qpopper
parenta0804a26de750b35d00bc269666684c8af0d0710 (diff)
downloadpkgsrc-0446b0862f5d59020a637ad00232d6529aae46e5.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')
-rw-r--r--mail/qpopper/Makefile22
-rw-r--r--mail/qpopper/Makefile.common33
2 files changed, 27 insertions, 28 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}
diff --git a/mail/qpopper/Makefile.common b/mail/qpopper/Makefile.common
index 413331e2cf6..db912af49fc 100644
--- a/mail/qpopper/Makefile.common
+++ b/mail/qpopper/Makefile.common
@@ -1,34 +1,15 @@
-# $NetBSD: Makefile.common,v 1.16 2005/06/01 21:12:28 wiz Exp $
+# $NetBSD: Makefile.common,v 1.17 2005/06/13 16:53:47 taca Exp $
-QPOPPER_MASTER_SITES= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
+QPOPPER_MASTER_SITES+= ftp://ftp.qualcomm.com/eudora/servers/unix/popper/ \
http://core.ring.gr.jp/archives/net/mail/qpopper/
QPOPPER_HOMEPAGE= http://www.eudora.com/products/unsupported/qpopper/
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --libexecdir=${LOCALBASE}/libexec \
- --sysconfdir=${LOCALBASE}/etc \
- --enable-apop=${QPOPPER_APOP_AUTH} \
- --enable-popuid=${QPOPPER_USER} \
- --enable-log-facility=LOG_${QPOPPER_FAC} \
- --disable-update-abort --without-gdbm
+QPOPPER_PATCHSITES+= http://www.imasy.or.jp/~ume/ipv6/
+QPOPPER_PATCHFILES= qpopper4.0.8-ipv6-20050515.diff.gz
VERSION= 4.0.8
-
-.include "../../mk/bsd.prefs.mk"
-.include "options.mk"
-
-QPOPPER_USER?= pop
-QPOPPER_GROUP?= mail
QPOPPER_FAC?= LOCAL1
-QPOPPER_APOP_AUTH?= ${PKG_SYSCONFDIR}/apop.auth
-DB_SUFFIX?= db
-
-PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/
-PATCHFILES= qpopper4.0.8-ipv6-20050515.diff.gz
-PATCH_DIST_STRIP= -p1
-
-.if defined(QPOPPER_SPOOL_DIR)
-CONFIGURE_ARGS+= --enable-spool-dir=${QPOPPER_SPOOL_DIR}
-.endif
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} \
+ --enable-log-facility=LOG_${QPOPPER_FAC}
LIBS+= ${LDFLAGS}