1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/mail/fdm/Makefile
Martin Matuska b2c4fbb77a Update PCRE to 8.32
Introduces the UTF-32 library pcre32
Bump PORTREVISION in dependent ports
2012-12-10 19:11:11 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: fdm
# Date created: 25 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fdm
PORTVERSION= 1.6
PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= chifeng@gmail.com
COMMENT= Fetches and delivers mail
LIB_DEPENDS= pcre.3:${PORTSDIR}/devel/pcre \
tdb.1:${PORTSDIR}/databases/tdb
PLIST_FILES= bin/fdm
PORTDOCS= CHANGES README MANUAL
PORTEXAMPLES= n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf g-lando.conf
MAKE_ARGS= -DPCRE -DDB
MAN1= fdm.1
MAN5= fdm.conf.5
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
post-install:
.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}/
@${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
.endif
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
.endif
.include <bsd.port.mk>