summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-06-27 09:14:49 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-06-27 09:14:49 +0000
commit748bb316c97b0f27a84e9aa58432dd42fe903e09 (patch)
tree50d2f1a830f35d52ffcb7e41f0192cda7adebc0d /mail
parent- Update to 1.2.0 (diff)
- Update to 1.2
Notes
Notes: svn path=/head/; revision=194326
Diffstat (limited to 'mail')
-rw-r--r--mail/fdm/Makefile21
-rw-r--r--mail/fdm/distinfo6
2 files changed, 15 insertions, 12 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index b2096a2d89c0..e3ccf658ed2d 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -6,33 +6,36 @@
#
PORTNAME= fdm
-PORTVERSION= 1.1
+PORTVERSION= 1.2
CATEGORIES= mail
MASTER_SITES= SFE
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Fetches and delivers mail
-PLIST_FILES= bin/fdm etc/fdm.conf.sample ${CFGEXAMPLES:S|^|%%EXAMPLESDIR%%/|:S|$|.conf|}
-PLIST_DIRS= %%EXAMPLESDIR%%
-PORTDOCS= CHANGES README MANUAL
-CFGEXAMPLES= n-marriott f-terbeck t-ulmer w-maier
+LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
-CFLAGS= -I/usr/include/openssl
+PLIST_FILES= bin/fdm
+PORTDOCS= CHANGES README MANUAL
+PORTEXAMPLES= n-marriott.conf f-terbeck.conf t-ulmer.conf w-maier.conf
+MAKE_ARGS= -DPCRE
MAN1= fdm.1
MAN5= fdm.conf.5
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/*.[ch15]
+ @${REINPLACE_CMD} -e 's|/usr/local/include/openssl|/usr/include/openssl|;\
+ s|/usr/local|${LOCALBASE}|g' ${WRKSRC}/${MAKEFILE}
post-install:
+.ifndef NOPORTEXAMPLES
@${INSTALL} -d ${EXAMPLESDIR}/
- @${INSTALL_DATA} ${CFGEXAMPLES:S|^|${WRKSRC}/examples/|:S|$|.conf|} ${EXAMPLESDIR}/
- @${LN} -sf ${EXAMPLESDIR}/n-marriott.conf ${PREFIX}/etc/fdm.conf.sample
+ @${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/examples/|} ${EXAMPLESDIR}/
+.endif
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+ @${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo
index 44c263384bb5..ad19bb1c3ff9 100644
--- a/mail/fdm/distinfo
+++ b/mail/fdm/distinfo
@@ -1,3 +1,3 @@
-MD5 (fdm-1.1.tar.gz) = 7bd2f693da64a66ab70e0031d3dac99f
-SHA256 (fdm-1.1.tar.gz) = 3908d9aab629b6e92789d770ce11963df29ffaa0cc92dd5b13b298376130e999
-SIZE (fdm-1.1.tar.gz) = 141981
+MD5 (fdm-1.2.tar.gz) = e2ae2c34364daef98528ce826ae006c9
+SHA256 (fdm-1.2.tar.gz) = 5f57d5949f6377491b2d9cadb92eb5d070fe7d5e6dd11c6a02c0ca1bf9501e11
+SIZE (fdm-1.2.tar.gz) = 147483