aboutsummaryrefslogtreecommitdiffstats
path: root/mail/listmanager/Makefile
blob: 03cb44850d468877bccae3aaab66398c9d46baf5 (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
# New ports collection makefile for:    listmanager
# Date created:             29 Dec 1999
# Whom:                 will
#
# $FreeBSD$
#

PORTNAME=   listmanager
PORTVERSION=    2.104
CATEGORIES= mail
MASTER_SITES=   http://www.listmanager.org/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .freebsd34
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX} help.tar.gz listmanager.8 ack

MAINTAINER= ports@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_MAN} ${WRKSRC}/listmanager.8 ${PREFIX}/man/man8
    ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${PREFIX}/sbin/listmanager
    ${CHMOD} 4510 ${PREFIX}/sbin/listmanager

.include <bsd.port.mk>