2000-07-09 10:46:46 +02:00
|
|
|
# New ports collection makefile for: listmanager
|
|
|
|
# Date created: 29 Dec 1999
|
|
|
|
# Whom: will
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= listmanager
|
2001-12-15 21:27:30 +01:00
|
|
|
PORTVERSION= 2.109
|
2000-07-09 10:46:46 +02:00
|
|
|
CATEGORIES= mail
|
2002-01-24 05:26:58 +01:00
|
|
|
MASTER_SITES= http://www.listmanager.org/v${PORTVERSION}/ \
|
|
|
|
http://www.listmanager.org/
|
2000-07-09 10:46:46 +02:00
|
|
|
DISTNAME= ${PORTNAME}
|
2001-12-15 21:27:30 +01:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 440000
|
|
|
|
EXTRACT_SUFX= .freebsd44
|
|
|
|
.else
|
2000-09-08 11:37:25 +02:00
|
|
|
EXTRACT_SUFX= .freebsd35
|
2001-12-15 21:27:30 +01:00
|
|
|
.endif
|
2001-05-15 08:45:00 +02:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack
|
2000-07-09 10:46:46 +02:00
|
|
|
|
2001-02-10 00:21:28 +01:00
|
|
|
MAINTAINER= gshapiro@FreeBSD.org
|
2000-07-09 10:46:46 +02:00
|
|
|
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS=
|
|
|
|
EXTRACT_AFTER_ARGS= ${WRKDIR}
|
|
|
|
NO_BUILD= yes
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
WRKSRC= ${WRKDIR}
|
2001-11-24 20:23:01 +01:00
|
|
|
PKGMESSAGE= ${WRKSRC}/pkg-message
|
2000-07-09 10:46:46 +02:00
|
|
|
MAN8= listmanager.8
|
|
|
|
|
2001-11-24 20:23:01 +01:00
|
|
|
LISTMANAGER_HOME?=/var/listmanager
|
|
|
|
|
2000-07-09 10:46:46 +02:00
|
|
|
pre-patch:
|
|
|
|
(cd ${WRKSRC} && ${TAR} xfz help.tar.gz)
|
|
|
|
|
2001-11-24 20:23:01 +01:00
|
|
|
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
|
|
|
|
|
2000-07-09 10:46:46 +02:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/etc
|
|
|
|
@${MKDIR} ${PREFIX}/share/listmanager/help
|
2001-11-24 20:23:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/listmanager.cf ${PREFIX}/etc/listmanager.cf.sample
|
2001-05-15 08:45:00 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/listmanager
|
2001-11-24 20:23:01 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/ack ${PREFIX}/share/listmanager
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/listmanager/help
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/setup ${PREFIX}/share/listmanager
|
2000-07-09 10:46:46 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/listmanager.8 ${PREFIX}/man/man8
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/sbin/listmanager
|
|
|
|
${CHMOD} 4510 ${PREFIX}/sbin/listmanager
|
|
|
|
|
2001-05-15 08:45:00 +02:00
|
|
|
post-install:
|
2001-11-24 20:23:01 +01:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
2001-06-09 19:32:47 +02:00
|
|
|
|
2001-12-15 21:27:30 +01:00
|
|
|
.include <bsd.port.post.mk>
|