2004-05-30 14:04:30 +02:00
|
|
|
# New ports collection makefile for: mail/firemime
|
|
|
|
# Date created: Sun 31 May 16:35:00 WST 2004
|
|
|
|
# Whom: Dean Hollister <dean@odyssey.apana.org.au>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= firemime
|
|
|
|
PORTVERSION= 0.9.4
|
2010-05-29 09:18:29 +02:00
|
|
|
PORTREVISION= 1
|
2004-05-30 14:04:30 +02:00
|
|
|
CATEGORIES= mail devel
|
|
|
|
MASTER_SITES= http://www.firestuff.org/projects/ \
|
|
|
|
http://www.wa.apana.org.au/~dean/sources/ \
|
|
|
|
ftp://ftp.wa.apana.org.au/pub/pc/unix/packages/
|
|
|
|
|
|
|
|
MAINTAINER= dean@odyssey.apana.org.au
|
|
|
|
COMMENT= Callback-based interface for parsing MIME-encoded messages
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
HAS_CONFIGURE= yes
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-05-30 14:04:30 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
|
|
|
MAN1= mimedump.1
|
|
|
|
MAN3= firemime_decode_body.3 firemime_get_full_header.3 firemime_get_header.3 \
|
|
|
|
firemime_param_value.3 firemime_parse.3 firemime_strerror.3 \
|
|
|
|
firemime_strip_comments.3 firemime_strip_markup.3 libfiremime.3
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2010-05-29 09:16:27 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|(unsigned char) dest-\>s\[o++\] = c|dest-\>s\[o++\] = (char) c|' \
|
|
|
|
${WRKSRC}/firemime.c
|
2004-05-30 14:04:30 +02:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@-${RM} -r ${WRKSRC}/firemake/*.orig
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LN} -s libfiremime.so.0.9.4 ${PREFIX}/lib/libfiremime.so.0
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|