diff options
author | obache <obache@pkgsrc.org> | 2011-06-19 10:01:53 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-06-19 10:01:53 +0000 |
commit | 52b611e9c3f096fd51e962fde0a3960d1e4b83cd (patch) | |
tree | e77839df22c916f232ea8180db655e73e103dcdd /mail/quickml/Makefile | |
parent | 8297e28c05bd479b624dfbd1ffbeac52489aaf69 (diff) | |
download | pkgsrc-52b611e9c3f096fd51e962fde0a3960d1e4b83cd.tar.gz |
Import quickml-0.7 as mail/quickml.
Based on PR#44939 by Susumu Miwa.
Modified by Makoto Fujiwawa and me in pkgsrc-wip.
Quickml server provides very-easy-to-use mailing list service.
It was too open in this age, some limitation is provided in
this package. The original code is written by Satoru Takabayashi.
Diffstat (limited to 'mail/quickml/Makefile')
-rw-r--r-- | mail/quickml/Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/mail/quickml/Makefile b/mail/quickml/Makefile new file mode 100644 index 00000000000..4f0eea3996b --- /dev/null +++ b/mail/quickml/Makefile @@ -0,0 +1,52 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/06/19 10:01:53 obache Exp $ +# + +DISTNAME= quickml-0.7 +CATEGORIES= mail +MASTER_SITES= http://0xcc.net/quickml/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://0xcc.net/quickml/ +COMMENT= Easy-to-use mailing list system +LICENSE= gnu-gpl-v2 + +PKG_DESTDIR_SUPPORT= user-destdir +GNU_CONFIGURE= yes +USE_LANGUAGES= # none +RCD_SCRIPTS+= quickml + +QUICKML_USER= quickml +QUICKML_GROUP= quickml +PKG_GROUPS= ${QUICKML_GROUP} +PKG_USERS= ${QUICKML_USER}:${QUICKML_GROUP} +BUILD_DEFS+= VARBASE + +.include "../../mk/bsd.prefs.mk" + +QUICKML_DATA_DIR= ${PREFIX}/share/quickml + +.include "options.mk" +.include "../../lang/ruby/buildlink3.mk" + +CONFIGURE_ARGS+= --datadir=${QUICKML_DATA_DIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --with-user=${QUICKML_USER} +CONFIGURE_ARGS+= --with-group=${QUICKML_GROUP} +CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/quickml.pid +CONFIGURE_ARGS+= --with-logfile=${VARBASE}/log/quickml.log +CONFIGURE_ARGS+= --with-rubydir=${PREFIX}/${RUBY_VENDORLIB} +CONFIGURE_ARGS+= --localstatedir=${VARBASE} + +INSTALL_MAKE_FLAGS+= etcdir=${PREFIX}/share/examples/quickml + +OWN_DIRS_PERMS+= ${VARBASE}/quickml ${QUICKML_USER} ${QUICKML_GROUP} 0750 + +CONF_FILES= ${PREFIX}/share/examples/quickml/quickmlrc.sample ${PKG_SYSCONFDIR}/quickmlrc + +INSTALLATION_DIRS+= ${QUICKML_DATA_DIR} + +post-install: + ${INSTALL_DATA} ${WRKSRC}/messages.ja ${DESTDIR}${QUICKML_DATA_DIR} + +.include "../../lang/ruby/modules.mk" +.include "../../mk/bsd.pkg.mk" |