aboutsummaryrefslogtreecommitdiffstats
path: root/mail/fdm
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2007-06-27 17:14:49 +0800
committersat <sat@FreeBSD.org>2007-06-27 17:14:49 +0800
commite0ba12f43d3cebad37f095652688ba600e828175 (patch)
tree21d820a9a9cf6efbe8bfde96c1a03b8089ac38f4 /mail/fdm
parent7aedccadcd3a72bdf4131af0e16e20caee5e1a1a (diff)
downloadfreebsd-ports-gnome-e0ba12f43d3cebad37f095652688ba600e828175.tar.gz
freebsd-ports-gnome-e0ba12f43d3cebad37f095652688ba600e828175.tar.zst
freebsd-ports-gnome-e0ba12f43d3cebad37f095652688ba600e828175.zip
- Update to 1.2
Diffstat (limited to 'mail/fdm')
-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