1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/mail/fdm/Makefile

43 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: fdm
# Date created: 25 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fdm
2008-12-24 14:01:41 +00:00
PORTVERSION= 1.6
CATEGORIES= mail
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= chifeng@gmail.com
COMMENT= Fetches and delivers mail
2007-07-30 16:45:58 +00:00
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \
tdb.1:${PORTSDIR}/databases/tdb
2007-06-27 09:14:49 +00:00
PLIST_FILES= bin/fdm
PORTDOCS= CHANGES README MANUAL
2007-07-30 16:45:58 +00:00
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
2006-12-04 16:44:25 +00:00
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
2007-06-27 09:14:49 +00:00
@${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
2006-12-04 16:44:25 +00:00
post-install:
2007-06-27 09:14:49 +00:00
.ifndef NOPORTEXAMPLES
2006-12-04 16:44:25 +00:00
@${INSTALL} -d ${EXAMPLESDIR}/
2007-06-27 09:14:49 +00:00
@${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
.endif
.ifndef NOPORTDOCS
2006-12-04 16:44:25 +00:00
@${INSTALL} -d ${DOCSDIR}/
2007-06-27 09:14:49 +00:00
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
.endif
.include <bsd.port.mk>