freebsd-ports/mail/listmanager/Makefile
2001-06-09 17:32:47 +00:00

51 lines
1.5 KiB
Makefile

# New ports collection makefile for: listmanager
# Date created: 29 Dec 1999
# Whom: will
#
# $FreeBSD$
#
PORTNAME= listmanager
PORTVERSION= 2.108
CATEGORIES= mail
MASTER_SITES= http://www.listmanager.org/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .freebsd35
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} INSTALL help.tar.gz listmanager.8 ack
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= gshapiro@FreeBSD.org
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
WRKSRC= ${WRKDIR}
MAN8= listmanager.8
pre-patch:
(cd ${WRKSRC} && ${TAR} xfz help.tar.gz)
do-install:
@${MKDIR} ${PREFIX}/etc
@${MKDIR} ${PREFIX}/share/listmanager/db
@${MKDIR} ${PREFIX}/share/listmanager/files
@${MKDIR} ${PREFIX}/share/listmanager/help
@${MKDIR} ${PREFIX}/share/listmanager/synchfiles
${TOUCH} ${PREFIX}/etc/listmanager.cf
${INSTALL_DATA} ${WRKSRC}/help/* ${PREFIX}/share/listmanager/help
${INSTALL_DATA} ${WRKSRC}/INSTALL ${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:
@${ECHO} "************************************************************"
@${ECHO} "* Please read ${PREFIX}/share/listmanager/INSTALL for "
@${ECHO} "* information on installing listmanager without using a "
@${ECHO} "* set-user-id root binary. "
@${ECHO} "************************************************************"
.include <bsd.port.mk>