2006-08-25 14:54:09 +02:00
|
|
|
# New ports collection makefile for: fdm
|
|
|
|
# Date created: 25 August 2006
|
|
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fdm
|
2007-02-28 08:30:00 +01:00
|
|
|
PORTVERSION= 1.0
|
2006-08-25 14:54:09 +02:00
|
|
|
CATEGORIES= mail
|
2006-12-04 17:44:25 +01:00
|
|
|
MASTER_SITES= SFE
|
2006-08-25 14:54:09 +02:00
|
|
|
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
|
|
COMMENT= Fetches and delivers mail
|
|
|
|
|
2006-12-04 17:44:25 +01:00
|
|
|
PLIST_FILES= bin/fdm etc/fdm.conf.sample %%EXAMPLESDIR%%/n-marriott.conf \
|
|
|
|
%%EXAMPLESDIR%%/w-maier.conf
|
|
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
2007-02-28 08:30:00 +01:00
|
|
|
PORTDOCS= CHANGES README MANUAL
|
2006-08-25 14:54:09 +02:00
|
|
|
|
|
|
|
CFLAGS= -I/usr/include/openssl
|
|
|
|
|
|
|
|
MAN1= fdm.1
|
|
|
|
MAN5= fdm.conf.5
|
|
|
|
|
2006-12-04 17:44:25 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
|
|
|
|
|
2006-08-25 14:54:09 +02:00
|
|
|
post-install:
|
2006-12-04 17:44:25 +01:00
|
|
|
@${INSTALL} -d ${EXAMPLESDIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/n-marriott.conf ${EXAMPLESDIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/examples/w-maier.conf ${EXAMPLESDIR}
|
|
|
|
@${LN} -sf ${EXAMPLESDIR}/n-marriott.conf ${PREFIX}/etc/fdm.conf.sample
|
2006-08-25 14:54:09 +02:00
|
|
|
.ifndef NOPORTDOCS
|
2006-12-04 17:44:25 +01:00
|
|
|
@${INSTALL} -d ${DOCSDIR}/
|
2006-12-13 00:48:37 +01:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2006-08-25 14:54:09 +02:00
|
|
|
.endif
|
|
|
|
|
2006-09-01 10:43:42 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-11-03 23:40:07 +01:00
|
|
|
.if ${OSVERSION} < 601000
|
|
|
|
BROKEN= needs strtonum(3)
|
2006-09-01 10:43:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|