blob: a38ce5ac66fb67ecc69363b8b377d8ca696558dd (
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
57
58
59
60
61
62
63
64
|
# New ports collection makefile for: listmanager
# Date created: 29 Dec 1999
# Whom: will
#
# $FreeBSD$
#
PORTNAME= listmanager
PORTVERSION= 2.109
CATEGORIES= mail
MASTER_SITES= http://www.listmanager.org/v${PORTVERSION}/ \
http://www.listmanager.org/
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 440000
EXTRACT_SUFX= .freebsd44
.else
EXTRACT_SUFX= .freebsd35
.endif
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack
MAINTAINER= gshapiro@FreeBSD.org
COMMENT= Fully-featured mailing list manager
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}
PKGMESSAGE= ${WRKSRC}/pkg-message
MAN8= listmanager.8
LISTMANAGER_HOME?=/var/listmanager
pre-patch:
(cd ${WRKSRC} && ${TAR} xfz help.tar.gz)
post-patch:
@ for file in listmanager.cf pkg-message setup; do \
${SED} -e "s|@@VARPREFIX@@|${LISTMANAGER_HOME}|g" \
-e "s|@@INSPREFIX@@|${PREFIX}|g" \
< ${FILESDIR}/$$file.in > ${WRKSRC}/$$file; \
done
do-install:
@${MKDIR} ${PREFIX}/etc
@${MKDIR} ${PREFIX}/share/listmanager/help
${INSTALL_DATA} ${WRKSRC}/listmanager.cf ${PREFIX}/etc/listmanager.cf.sample
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/listmanager
${INSTALL_DATA} ${WRKSRC}/ack ${PREFIX}/share/listmanager
${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/listmanager/help
${INSTALL_SCRIPT} ${WRKSRC}/setup ${PREFIX}/share/listmanager
${INSTALL_MAN} ${WRKSRC}/listmanager.8 ${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/sbin/listmanager
${CHMOD} 4510 ${PREFIX}/sbin/listmanager
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
|