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

PORTNAME=   ecartis
PORTVERSION=    1.0.0.s20020514
PORTEPOCH=  1
CATEGORIES= mail
MASTER_SITES=   ftp://ftp.ecartis.org/pub/ecartis/snapshots/tar/
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/.s/-snap/}

MAINTAINER= trish@bsdunix.net

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/
    @${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.listar.org/                          -"
    @${ECHO_MSG} "-                                                 -"
    @${ECHO_MSG} "- -The Listar/Ecartis Developers                  -"
    @${ECHO_MSG} "---------------------------------------------------"

.include <bsd.port.mk>