aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail22/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-16 10:27:25 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-16 10:27:25 +0000
commit20404b87bff80a626cdd87f8da0bf3fbd20d1bb4 (patch)
tree9dc28de3697672188b209e70ae81e72343f500d7 /mail/dbmail22/Makefile
parent1e7a47b30375d3fb1581bafa3c8180ccf05c12e3 (diff)
downloadports-20404b87bff80a626cdd87f8da0bf3fbd20d1bb4.tar.gz
ports-20404b87bff80a626cdd87f8da0bf3fbd20d1bb4.zip
Notes
Diffstat (limited to 'mail/dbmail22/Makefile')
-rw-r--r--mail/dbmail22/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/dbmail22/Makefile b/mail/dbmail22/Makefile
index 38d6d7e0c056..f6652b99e672 100644
--- a/mail/dbmail22/Makefile
+++ b/mail/dbmail22/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dbmail
PORTVERSION= 2.2.1
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/2.2/
@@ -27,7 +28,7 @@ USE_AUTOTOOLS= libtool:15
USE_GMAKE= YES
USE_GCC= 3.2+
USE_LDCONFIG= ${PREFIX}/lib/dbmail
-USE_RC_SUBR= dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh
+USE_RC_SUBR= dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh dbmail-timsieved.sh
USE_GNOME= glib20 pkgconfig
USE_OPENSSL= YES
@@ -109,6 +110,15 @@ post-configure:
@${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \
${WRKSRC}/dbmail.h
+# remove leftovers which are not removed by some revisions of port
+# fixes the `Shared object "libpgsqldbmail.so.0" not found, required by "libdbmail.so.0"' error.
+pre-install:
+ @for f in 'a' 'la' 'so' 'so.0'; do \
+ if [ -f ${PREFIX}/lib/libdbmail.$$f ] ; then \
+ ${RM} ${PREFIX}/lib/libdbmail.$$f; \
+ fi; \
+ done
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/dbmail.conf ${PREFIX}/etc/dbmail.conf-dist
@if [ ! -f ${PREFIX}/etc/dbmail.conf ] ; then \