1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/mail/libnewmail/Makefile
Joe Marcus Clarke d3702246bb Chase the gnutls shared lib version.
Pointy hat to:	sergei
2004-06-06 01:44:39 +00:00

48 lines
1.1 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= 4
CATEGORIES= mail
MASTER_SITES= http://www.stud.uni-hamburg.de/~lennart/projects/libnewmail/
MAINTAINER= krion@FreeBSD.org
COMMENT= Generic mail checking library
LIB_DEPENDS= gnutls.12:${PORTSDIR}/security/gnutls \
oop.4:${PORTSDIR}/devel/liboop
USE_LIBLTDL= yes
GNU_CONFIGURE= yes
USE_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
USE_REINPLACE= 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>