mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# New ports collection makefile for: fdm
|
|
# Date created: 25 August 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fdm
|
|
PORTVERSION= 0.6
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SFE
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Fetches and delivers mail
|
|
|
|
PLIST_FILES= bin/fdm etc/fdm.conf.sample %%EXAMPLESDIR%%/n-marriott.conf \
|
|
%%EXAMPLESDIR%%/w-maier.conf
|
|
PLIST_DIRS= %%EXAMPLESDIR%%
|
|
PORTDOCS= README
|
|
|
|
CFLAGS= -I/usr/include/openssl
|
|
|
|
MAN1= fdm.1
|
|
MAN5= fdm.conf.5
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
|
|
|
|
post-install:
|
|
@${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
|
|
@${INSTALL} -d ${DOCSDIR}/
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 601000
|
|
BROKEN= needs strtonum(3)
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|