1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- Update to 1.2

This commit is contained in:
Andrew Pantyukhin 2007-06-27 09:14:49 +00:00
parent c3adcca61f
commit 748bb316c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194326
2 changed files with 15 additions and 12 deletions

View File

@ -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>

View File

@ -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