freebsd-ports/japanese/mimekit/Makefile
Masafumi Max NAKANE d6057a7a29 Upgrade, and use mimekit included in the delegate8.9.6-pre11 distribution.
This source contains the patch submitted in PR/28995.

PR:	28995
Submitted by:	amagai@nue.org

While I'm at this:
* Better handling for portdocs.
* Define do-install: instead of patching the distributed Makefile.
* Bump the version to 1.9, since I found that version in the mimekit/Makefile. Don't know since when this was version 1.9.
* Update the master site.
2004-07-27 05:35:57 +00:00

36 lines
858 B
Makefile

# 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= max@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
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.mk>