blob: 1d55d072d5ce81348c009ba13cd5a2f10d8ffa8c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# New ports collection makefile for: fdm
# Date created: 25 August 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fdm
PORTVERSION= 0.7
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 MANUAL
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} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 601000
BROKEN= needs strtonum(3)
.endif
.include <bsd.port.post.mk>
|