aboutsummaryrefslogtreecommitdiffstats
path: root/mail/eps/Makefile
blob: a292de38a3ed181530693aa5d447fecb3df61b07 (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
# New ports collection makefile for:   eps
# Date created:                 21 Jul 2005
# Whom:             ismail@enderunix.org
#
# $FreeBSD$
#

PORTNAME=   eps
PORTVERSION=    1.5
CATEGORIES= mail
MASTER_SITES=   http://www.inter7.com/eps/

MAINTAINER= ismail@EnderUNIX.org
COMMENT=    EPS is a Email Parsing System

PORTDOCS=   howto

MAKE_ENV+=  DEFS="${CFLAGS}"

post-patch:
    @${REINPLACE_CMD} -e 's|^CC =|CC \?=|' \
              -e 's|^DEFS =|DEFS \?=|' \
        ${WRKSRC}/Makefile

do-install:
    ${INSTALL_DATA} ${WRKSRC}/libeps.a ${PREFIX}/lib
    ${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/

.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>