mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# Created by: Christian Laursen <xi@borderworlds.dk>
|
|
|
|
PORTNAME= mlmmj
|
|
PORTVERSION= 1.3.0
|
|
PORTREVISION= 10
|
|
CATEGORIES= mail
|
|
MASTER_SITES= http://mlmmj.org/releases/
|
|
|
|
MAINTAINER= bapt@FreeBSD.org
|
|
COMMENT= Simple and slim mailing list manager
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= cpe gmake iconv shebangfix tar:bzip2
|
|
SHEBANG_FILES= contrib/web/perl-user/mlmmj.cgi
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-receive-strip
|
|
|
|
CPPFLAGS+= -I${ICONV_INCLUDE_PATH}
|
|
LDFLAGS+= ${ICONV_LIB_PATH}
|
|
|
|
OPTIONS_DEFINE= DOCS PERL PHP
|
|
OPTIONS_SUB= yes
|
|
|
|
PERL_RUN_DEPENDS= p5-URI>0:net/p5-URI \
|
|
p5-CGI-FastTemplate>0:www/p5-CGI-FastTemplate \
|
|
p5-HTML-Parser>0:www/p5-HTML-Parser
|
|
PHP_USES= php:web
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^AM_CFLAGS/s|-g ||' ${WRKSRC}/src/Makefile.in
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} \
|
|
ChangeLog FAQ README* TODO TUNABLES UPGRADE \
|
|
${STAGEDIR}${DOCSDIR})
|
|
|
|
post-install-PERL-on:
|
|
@(cd ${WRKSRC}/contrib/web && ${COPYTREE_SHARE} "perl-*" \
|
|
${STAGEDIR}${WWWDIR})
|
|
@${CHMOD} ${BINMODE} ${STAGEDIR}${WWWDIR}/perl-user/mlmmj.cgi
|
|
|
|
post-install-PHP-on:
|
|
@(cd ${WRKSRC}/contrib/web && ${COPYTREE_SHARE} "php-*" \
|
|
${STAGEDIR}${WWWDIR})
|
|
|
|
.include <bsd.port.mk>
|