2002-04-18 20:42:32 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: librfc822
|
|
|
|
# Date created: Apr 19, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= librfc822
|
|
|
|
PORTVERSION= 1.0
|
2003-05-07 19:21:07 +02:00
|
|
|
PORTREVISION= 1
|
|
|
|
CATEGORIES= mail devel
|
2002-04-18 20:42:32 +02:00
|
|
|
MASTER_SITES= http://cryp.to/librfc822/
|
|
|
|
|
2005-07-24 19:59:17 +02:00
|
|
|
MAINTAINER= ismail@EnderUNIX.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A complete parser for RFC822 addresses
|
2002-04-18 20:42:32 +02:00
|
|
|
|
2004-09-27 20:12:44 +02:00
|
|
|
USE_GCC= 2.95
|
|
|
|
USE_REINPLACE= yes
|
2003-05-07 19:21:07 +02:00
|
|
|
|
2004-09-27 20:12:44 +02:00
|
|
|
PORTDOCS= readme.html readme.txt user-manual.html user-manual.pdf
|
|
|
|
PLIST_FILES= include/rfc822.hh lib/librfc822.a
|
2004-08-16 04:47:09 +02:00
|
|
|
|
2004-09-27 20:12:44 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E -e 's/^(CXX.*)=(.*)/\1\?=\2/' ${WRKSRC}/Makefile
|
2004-08-16 04:47:09 +02:00
|
|
|
|
2002-04-18 20:42:32 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/rfc822.hh ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/librfc822.a ${PREFIX}/lib
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-09-27 20:12:44 +02:00
|
|
|
@cd ${WRKSRC}/documentation && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2002-04-18 20:42:32 +02:00
|
|
|
.endif
|
|
|
|
|
2004-09-27 20:12:44 +02:00
|
|
|
.include <bsd.port.mk>
|