aboutsummaryrefslogtreecommitdiffstats
path: root/mail/fdm
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-12-05 00:44:25 +0800
committersat <sat@FreeBSD.org>2006-12-05 00:44:25 +0800
commit1932a0f6e7f63cbcf578cd2daf747705f7fe6a98 (patch)
tree6c2dfd74c1428f1d6ed94087cddfd8fb921c17e4 /mail/fdm
parente9dcbd298e4ad6f3bacfbba2e6a2d123ccf701e0 (diff)
downloadfreebsd-ports-gnome-1932a0f6e7f63cbcf578cd2daf747705f7fe6a98.tar.gz
freebsd-ports-gnome-1932a0f6e7f63cbcf578cd2daf747705f7fe6a98.tar.zst
freebsd-ports-gnome-1932a0f6e7f63cbcf578cd2daf747705f7fe6a98.zip
- Update to 0.6
Diffstat (limited to 'mail/fdm')
-rw-r--r--mail/fdm/Makefile18
-rw-r--r--mail/fdm/distinfo6
2 files changed, 16 insertions, 8 deletions
diff --git a/mail/fdm/Makefile b/mail/fdm/Makefile
index 3846a55eec59..d8664efccdf4 100644
--- a/mail/fdm/Makefile
+++ b/mail/fdm/Makefile
@@ -6,14 +6,16 @@
#
PORTNAME= fdm
-PORTVERSION= 0.5
+PORTVERSION= 0.6
CATEGORIES= mail
-MASTER_SITES= SF
+MASTER_SITES= SFE
MAINTAINER= infofarmer@FreeBSD.org
COMMENT= Fetches and delivers mail
-PLIST_FILES= bin/fdm etc/fdm.conf.sample
+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
@@ -21,10 +23,16 @@ 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_DATA} ${WRKSRC}/fdm.conf ${PREFIX}/etc/fdm.conf.sample
+ @${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} -d ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif
diff --git a/mail/fdm/distinfo b/mail/fdm/distinfo
index 4f0785e4f6e1..c0e0a67f17ec 100644
--- a/mail/fdm/distinfo
+++ b/mail/fdm/distinfo
@@ -1,3 +1,3 @@
-MD5 (fdm-0.5.tar.gz) = 81dab2245523a846e1807a51be816ddd
-SHA256 (fdm-0.5.tar.gz) = f1d46bb72b4ce4449c5a54b60bb70d078813507f3bb2f660d62e86875979a096
-SIZE (fdm-0.5.tar.gz) = 44291
+MD5 (fdm-0.6.tar.gz) = 9105e842fc32ef67d985c99880245df5
+SHA256 (fdm-0.6.tar.gz) = 0dde68c136490c106b611f5071eb1d6583b7f5fe4aeff69ed6ea4337533ece78
+SIZE (fdm-0.6.tar.gz) = 74341