2013-09-01 19:12:03 +02:00
|
|
|
# Created by: Guy Antony Halse <guy@rucus.ru.za.za>
|
2000-08-09 21:04:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ezmlm-web
|
2008-03-13 04:31:32 +01:00
|
|
|
PORTVERSION= 3.2
|
2000-08-09 21:04:59 +02:00
|
|
|
CATEGORIES= mail www
|
2008-03-13 04:31:32 +01:00
|
|
|
MASTER_SITES= https://systemausfall.org/toolforge/ezmlm-web/download/ezmlm-web-3.2/
|
2000-08-09 21:04:59 +02:00
|
|
|
|
2007-02-22 03:29:53 +01:00
|
|
|
MAINTAINER= hans@nordhaug.priv.no
|
|
|
|
COMMENT= Manage ezmlm-idx mailing lists through the web (using CGI)
|
2000-08-09 21:04:59 +02:00
|
|
|
|
2003-07-26 12:32:57 +02:00
|
|
|
RUN_DEPENDS= ezmlm-idx:${PORTSDIR}/mail/ezmlm-idx \
|
2012-06-30 15:10:09 +02:00
|
|
|
p5-Mail-Ezmlm>=0:${PORTSDIR}/mail/p5-Mail-Ezmlm \
|
|
|
|
p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools
|
2000-08-09 21:04:59 +02:00
|
|
|
|
2008-03-13 04:31:32 +01:00
|
|
|
EXAMPLES= apache.conf.dist ezmlmwebrc.dist ezmlmwebrc.minimal-dist \
|
|
|
|
htaccess.dist multidomain.conf.dist webusers.dist
|
|
|
|
DOCS= INSTALL README TODO UPGRADING changelog copyright
|
2000-08-09 21:04:59 +02:00
|
|
|
|
2013-09-01 19:12:03 +02:00
|
|
|
USES= gmake perl5 shebangfix
|
|
|
|
USE_PERL5= configure
|
|
|
|
SHEBANG_FILES= ezmlm-web.cgi
|
2003-07-26 12:32:57 +02:00
|
|
|
|
|
|
|
post-patch:
|
2008-03-13 04:31:32 +01:00
|
|
|
${REINPLACE_CMD} -e 's|local/share|share|' \
|
|
|
|
-e 's|$$SHAREDIR/www-data|${WWWDIR}|' \
|
|
|
|
${WRKSRC}/Makefile.PL
|
|
|
|
${REINPLACE_CMD} -e 's|/usr/local/share/ezmlm-web/www-data/|${WWWDIR}/|' \
|
|
|
|
${WRKSRC}/examples/apache.conf.dist
|
|
|
|
${REINPLACE_CMD} -e 's|/etc/ezmlm|${PREFIX}/etc/ezmlm|' -e 's|/usr/local|${PREFIX}|g' \
|
|
|
|
${WRKSRC}/ezmlm-web.cgi ${WRKSRC}/examples/ezmlmwebrc.dist ${WRKSRC}/suid-wrapper/index.h
|
|
|
|
|
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
CONFIGURE_ENV= BSD_BATCH_INSTALL=yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${EXAMPLESDIR} ${PREFIX}/etc/ezmlm-web
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/ezmlmwebrc.dist ${PREFIX}/etc/ezmlm-web/ezmlmwebrc.sample
|
2003-07-26 12:32:57 +02:00
|
|
|
.for file in ${EXAMPLES}
|
2008-03-13 04:31:32 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/examples/${file} ${EXAMPLESDIR}
|
2000-08-09 21:04:59 +02:00
|
|
|
.endfor
|
2003-07-26 12:32:57 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2000-08-09 21:04:59 +02:00
|
|
|
|
2008-03-13 04:31:32 +01:00
|
|
|
MAN1= ezmlm-web.cgi.1p
|
|
|
|
|
2000-08-09 21:04:59 +02:00
|
|
|
.include <bsd.port.mk>
|