freebsd-ports/mail/fdm/Makefile

46 lines
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
2007-02-28 08:30:00 +01:00
PORTVERSION= 1.0
CATEGORIES= mail
2006-12-04 17:44:25 +01:00
MASTER_SITES= SFE
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
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]
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
.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}/
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 601000
BROKEN= needs strtonum(3)
.endif
.include <bsd.port.post.mk>