summaryrefslogtreecommitdiff
path: root/mail/freepops/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz>2007-06-05 05:56:01 +0000
committerschmonz <schmonz>2007-06-05 05:56:01 +0000
commit026ebee29fec0a922d307115f0102300a8e07917 (patch)
treecd906a3292bdd613b455fb6288c9e94f2c06e37c /mail/freepops/Makefile
parentd407ade654b835b22295108c3636406b24d36423 (diff)
downloadpkgsrc-026ebee29fec0a922d307115f0102300a8e07917.tar.gz
Initial import of FreePOPs 0.2.4, an extensible POP3 server which
acts as a gateway to a variety of webmail services. One possible use of this package, which I've tested, is in migrating from Hotmail (which provides neither mail forwarding nor POP access to the mailstore) to Gmail (which can act as a POP client).
Diffstat (limited to 'mail/freepops/Makefile')
-rw-r--r--mail/freepops/Makefile54
1 files changed, 54 insertions, 0 deletions
diff --git a/mail/freepops/Makefile b/mail/freepops/Makefile
new file mode 100644
index 00000000000..54a9750bf4f
--- /dev/null
+++ b/mail/freepops/Makefile
@@ -0,0 +1,54 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/06/05 05:56:01 schmonz Exp $
+#
+
+DISTNAME= freepops-0.2.4
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=freepops/}
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= http://www.freepops.org/
+COMMENT= Extensible POP3 interface to webmail
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= bash:run bison gmake patch tar
+USE_LIBTOOL= yes
+REPLACE_BASH= configure.sh
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= configure.sh
+CONFIGURE_ARGS= pkgsrc
+
+PKG_SYSCONFSUBDIR= freepops
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/config.lua ${PKG_SYSCONFDIR}/config.lua
+OWN_DIRS+= ${VARBASE}/lib/${PKGBASE}/lua_unofficial
+OWN_DIRS+= ${VARBASE}/lib/${PKGBASE}/lua_updates
+OWN_DIRS+= ${VARBASE}/lib/${PKGBASE}/lua_updates/lxp
+OWN_DIRS+= ${VARBASE}/lib/${PKGBASE}/lua_updates/browser
+OWN_DIRS+= ${VARBASE}/lib/${PKGBASE}/lua_updates/soap
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= do-configure
+SUBST_FILES.paths= config.h doc/freepopsd.1 src/freepops.h
+SUBST_FILES.paths+= src/lua/freepops.lua
+SUBST_SED.paths= -e 's|@PREFIX@|${PREFIX}|g'
+SUBST_SED.paths+= -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'
+SUBST_SED.paths+= -e 's|@VARBASE@|${VARBASE}|g'
+SUBST_MESSAGE.paths= Adjusting paths.
+
+BUILD_DEFS+= VARBASE
+
+.include "../../mk/bsd.prefs.mk"
+
+RCD_SCRIPTS= freepopsd
+FREEPOPSD_USER?= freepops
+FREEPOPSD_GROUP?= freepops
+PKG_GROUPS= ${FREEPOPSD_GROUP}
+PKG_USERS= ${FREEPOPSD_USER}:${FREEPOPSD_GROUP}
+PKG_GECOS.${FREEPOPSD_USER}= freepopsd POP3 user
+FILES_SUBST+= FREEPOPSD_USER=${FREEPOPSD_USER:Q}
+FILES_SUBST+= FREEPOPSD_GROUP=${FREEPOPSD_GROUP:Q}
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"