2006-08-25 12:54:09 +00:00
|
|
|
# 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
|
2006-08-25 12:54:09 +00:00
|
|
|
CATEGORIES= mail
|
2009-09-02 15:01:56 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2006-08-25 12:54:09 +00:00
|
|
|
|
2009-02-17 02:56:31 +00:00
|
|
|
MAINTAINER= chifeng@gmail.com
|
2006-08-25 12:54:09 +00:00
|
|
|
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
|
2006-08-25 12:54:09 +00:00
|
|
|
|
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
|
2006-08-25 12:54:09 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2006-08-25 12:54:09 +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
|
2006-08-25 12:54:09 +00:00
|
|
|
.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}/
|
2006-08-25 12:54:09 +00:00
|
|
|
.endif
|
|
|
|
|
2007-03-30 05:19:02 +00:00
|
|
|
.include <bsd.port.mk>
|