aboutsummaryrefslogtreecommitdiffstats
path: root/mail/librfc822/Makefile
blob: a5158f553da82d319bf6f0794d2adc2273950431 (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
# ex:ts=8
# Ports collection makefile for:    librfc822
# Date created:         Apr 19, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   librfc822
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= mail devel
MASTER_SITES=   http://cryp.to/librfc822/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A complete parser for RFC822 addresses

USE_GCC=    2.95
USE_REINPLACE=  yes

PORTDOCS=   readme.html readme.txt user-manual.html user-manual.pdf
PLIST_FILES=    include/rfc822.hh lib/librfc822.a

post-patch:
    @${REINPLACE_CMD} -E -e 's/^(CXX.*)=(.*)/\1\?=\2/' ${WRKSRC}/Makefile

do-install:
    ${INSTALL_DATA} ${WRKSRC}/rfc822.hh ${PREFIX}/include
    ${INSTALL_DATA} ${WRKSRC}/librfc822.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    @cd ${WRKSRC}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>