diff options
author | taca <taca> | 2010-12-23 16:57:33 +0000 |
---|---|---|
committer | taca <taca> | 2010-12-23 16:57:33 +0000 |
commit | a559f7ee78409d9d2d33f5a33db3f83dbcdacb13 (patch) | |
tree | d2b3eacdf3450e2a071eb2c43f64e634c7897fde /mail/fml/Makefile | |
parent | 3452916b78fa98957fbd4b89aeb6fd31a01557d1 (diff) | |
download | pkgsrc-a559f7ee78409d9d2d33f5a33db3f83dbcdacb13.tar.gz |
Importing fml 7.98.15-20100306 snapshot.
This is popular mailing list manager package in Japan and development
version almost believed to be stable.
Diffstat (limited to 'mail/fml/Makefile')
-rw-r--r-- | mail/fml/Makefile | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/mail/fml/Makefile b/mail/fml/Makefile new file mode 100644 index 00000000000..6a0af58c096 --- /dev/null +++ b/mail/fml/Makefile @@ -0,0 +1,71 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/23 16:57:33 taca Exp $ +# + +DISTNAME= fml-7.98.15-${FML_STAMP} +CATEGORIES= mail +MASTER_SITES= ftp://ftp.fml.org/pub/fml8/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.fml.org/software/fml8/index.html.en +COMMENT= FML mailing list server development version +LICENSE= gnu-gpl-v2 OR artistic + +PKG_DESTDIR_SUPPORT= user-destdir + +# development version +FML_STAMP= 20100306 + +GNU_CONFIGURE= yes +USE_TOLLS= perl:run + +PLIST_SUBST+= FML_STAMP=${FML_STAMP} EGDIR=${EGDIR} + +.include "../../mk/bsd.prefs.mk" + +FMLDIR?= ${VARBASE}/fml +FMLGROUP?= fml +FMLUSER?= fml +PKG_GROUPS_VARS+= FML_GROUP +PKG_USERS_VARS+= FML_USER + +PKG_GROUPS= ${FML_GROUP} +PKG_USERS= ${FML_USER}:${FML_GROUP} +PKG_GECOS.${FML_USER}= FML mailing list owner + +PKG_SYSCONFSUBDIR?= fml +EGDIR= share/examples/fml + +INSTALLATION_DIRS+= ${EGDIR} + +CONFS= main.cf mime_component_filter site_default_config.cf +.for f in ${CONFS} +CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} +.endfor +OWN_DIRS_PERMS+= ${FMLDIR} ${FMLUSER} ${FMLGROUP} 0755 + +CONFIGURE_ARGS+= --with-sysconfdir=${PKG_SYSCONFDIR} \ + --with-mlspooldir=${FMLDIR} \ + --with-default-domain=example.net \ + --with-default-hostname=mail \ + --with-fml-owner=${FMLUSER} \ + --with-fml-group=${FMLGROUP} +CONFIGURE_ENV+= ac_cv_path_GZCAT=${GZCAT:Q} \ + ac_cv_path_PERL=${PERL5:Q} +MAKE_ENV+= install_root=${DESTDIR} PERL=${PERL5} + + +PRINT_PLIST_AWK+= /${FML_STAMP}/ \ + { gsub(/${FML_STAMP}/, "$${FML_STAMP}"); } + +CHECK_INTERPRETER_SKIP+= lib/fml/${FML_STAMP}/* \ + libexec/fml/${FML_STAMP}/loader.in + +pre-configure: + echo ${FML_STAMP} > ${WRKSRC}/.version + +post-install: +.for f in ${CONFS} + ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/${f} ${DESTDIR}${PREFIX}/${EGDIR}/${f} +.endfor + +.include "../../mk/bsd.pkg.mk" |