blob: 0199f7cd65062e51e1569647fb5ce5a6df7f1824 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Created by: gmarco@scotty.masternet.it
# $FreeBSD$
PORTNAME= minimalist
PORTVERSION= 2.5.3
CATEGORIES= mail
MASTER_SITES= http://www.mml.org.ua/LIST/ \
http://utenti.gufi.org/~gmarco/files/distfiles/
MAINTAINER= gmarco@gufi.org
COMMENT= Minimalistic mailing list manager
USES= shebangfix perl5
USE_PERL5= run
NO_BUILD= yes
SUB_FILES= pkg-message
SHEBANG_FILES= minimalist.pl contrib/minimalist_request.pl
post-patch:
${REINPLACE_CMD} -e 's,--fqdn,,' ${WRKSRC}/minimalist.conf-sample
${REINPLACE_CMD} -e 's,/usr/lib/sendmail,/usr/sbin/sendmail,' \
${WRKSRC}/contrib/minimalist_request.pl
${REINPLACE_CMD} \
-e 's,/usr/local/sbin,${PREFIX}/bin,' \
-e 's,/usr/local,${PREFIX},' \
${WRKSRC}/docs/README \
${WRKSRC}/contrib/minimalist_request.pl \
${WRKSRC}/docs/virtual-domains.txt \
${WRKSRC}/docs/FAQ/sendmail.smrsh \
${WRKSRC}/minimalist.pl
do-install:
@${RM} ${WRKSRC}/docs/FAQ/sendmail.smrsh.bak
${MKDIR} \
${STAGEDIR}${PREFIX}/share/minimalist/FAQ \
${STAGEDIR}${PREFIX}/share/minimalist/sample
${INSTALL_SCRIPT} \
${WRKSRC}/minimalist.pl \
${WRKSRC}/contrib/minimalist_request.pl \
${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/minimalist.conf-sample \
${STAGEDIR}${PREFIX}/etc/
${INSTALL_DATA} \
${WRKSRC}/minimalist.conf-sample \
${WRKSRC}/docs/CHANGES.txt \
${WRKSRC}/docs/README \
${WRKSRC}/docs/virtual-domains.txt \
${STAGEDIR}${PREFIX}/share/minimalist/
${INSTALL_DATA} ${WRKSRC}/docs/FAQ/* \
${STAGEDIR}${PREFIX}/share/minimalist/FAQ/
${INSTALL_DATA} ${WRKSRC}/sample/lists.lst \
${STAGEDIR}${PREFIX}/share/minimalist/lists.lst-sample
${INSTALL_DATA} ${WRKSRC}/sample/sample/* \
${STAGEDIR}${PREFIX}/share/minimalist/sample/
.include <bsd.port.mk>
|