aboutsummaryrefslogtreecommitdiffstats
path: root/mail/ecartis/Makefile
blob: 9b637100a3a5a3d51fef0d8cedbf1cef7f4f7f01 (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
# New ports collection makefile for: ecartis
# Date created:                20 January 2002
# Whom:                        Trish Lynch <trish@bsdunix.net>
#
# $FreeBSD$
#

PORTNAME=   ecartis
PORTVERSION=    1.0.0.s20060813
PORTEPOCH=  1
CATEGORIES= mail
MASTER_SITES=   http://conducive.net/tarballs/ \
        http://rodrigo.osorio.free.fr/freebsd/distfiles/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.s/-snap/}

MAINTAINER= jtrigg@spamcop.net
COMMENT=    The Ecartis Listserver \ Mailing List Manager

USE_GMAKE=  yes

NO_PACKAGE= Requires ecartis uid
IS_INTERACTIVE= "Stops to ask to create ecartis user/group"
WRKSRC=     ${WRKDIR}/ecartis-1.0.0/src

pre-patch:
    @${CP} ${WRKSRC}/Makefile.dist ${WRKSRC}/Makefile

pre-install:
    @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
    @${MKDIR} ${PREFIX}/${PORTNAME}
    @${CP} -R ${WRKDIR}/${PORTNAME}-1.0.0/* ${PREFIX}/ecartis
    @${RM} -R ${PREFIX}/${PORTNAME}/src/
    @${RM} -R ${PREFIX}/${PORTNAME}/debian/
    @${RM} ${PREFIX}/${PORTNAME}/ecartis.dsp ${PREFIX}/${PORTNAME}/ecartis.dsw
    @${CHOWN} -R ecartis:ecartis ${PREFIX}/${PORTNAME}/*

post-install:
    @${ECHO_MSG} "---------------------------------------------------"
    @${ECHO_MSG} "- Thank You for installing the Ecartis Listserver -"
    @${ECHO_MSG} "- package.  Please read the documentation located -"
    @${ECHO_MSG} "- in ${PREFIX}/ecartis/, or online at:            -"
    @${ECHO_MSG} "-                                                 -"
    @${ECHO_MSG} "- http://www.ecartis.org/                         -"
    @${ECHO_MSG} "-                                                 -"
    @${ECHO_MSG} "- -The Ecartis Developers                         -"
    @${ECHO_MSG} "---------------------------------------------------"

.include <bsd.port.mk>