1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/mail/libnewmail/Makefile
Emanuel Haupt a157fe7f74 - This is now fetchable again
- Update WWW
- Remove deprecated USE_REINPLACE

PR:		94215
Submitted by:	Shaun Amott <shaun@inerd.com>
Approved by:	portmgr (erwin)
2006-03-08 13:34:31 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: libnewmail
# Date created: 05.06.2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= libnewmail
PORTVERSION= 0.3
PORTREVISION= 8
CATEGORIES= mail
MASTER_SITES= http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail/
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic mail checking library
LIB_DEPENDS= gnutls.15:${PORTSDIR}/security/gnutls \
oop.4:${PORTSDIR}/devel/liboop
USE_AUTOTOOLS= libltdl:15
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS+= --disable-doxygen --disable-lynx
DOC_FILES= README \
README.html \
doxygen.conf
post-patch:
@${REINPLACE_CMD} -e \
's|#include <wait.h>|#include <sys/wait.h>|g' \
${WRKSRC}/src/imap.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${DOC_FILES}
@${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
.endfor
@${CP} -R ${WRKSRC}/doc/reference/html/ ${DOCSDIR}
.endif
.include <bsd.port.mk>