aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/mimekit/Makefile
blob: 45e2443570c72abcb8e7757f921801c81aeecba8 (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
# New ports collection makefile for:    mimekit
# Date created:         9 April 1996
# Whom:             Masafumi NAKANE <max@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   mimekit
PORTVERSION=    1.9
CATEGORIES= japanese devel mail
MASTER_SITES=   ftp://ftp.delegate.org/pub/DeleGate/
DISTNAME=   delegate8.9.6-pre11

MAINTAINER= ports@FreeBSD.org
COMMENT=    Library to handle messages with MIME-encoded headers

WRKSRC=     ${WRKDIR}/${DISTNAME}/mimekit
.if !defined(NOPORTDOCS)
PORTDOCS=   README README-LIB README-PGP
.endif

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Broken with gcc 4.2
.endif

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/deMime ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/enMime ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/libmimekit.a ${PREFIX}/lib
    ${RANLIB} ${PREFIX}/lib/libmimekit.a

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>