aboutsummaryrefslogtreecommitdiff
path: root/mail/dbmail
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dbmail')
-rw-r--r--mail/dbmail/Makefile11
-rw-r--r--mail/dbmail/pkg-plist8
2 files changed, 9 insertions, 10 deletions
diff --git a/mail/dbmail/Makefile b/mail/dbmail/Makefile
index 0452fca6c20c..bda4073c955e 100644
--- a/mail/dbmail/Makefile
+++ b/mail/dbmail/Makefile
@@ -3,6 +3,7 @@
PORTNAME= dbmail
PORTVERSION= 3.1.13
+PORTREVISION= 1
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/3.1/ \
http://git.dbmail.eu/paul/dbmail/snapshot/
@@ -29,16 +30,16 @@ SIEVE_DESC= Sieve mail sorting language support
OPTIONS_SUB= yes
-USE_AUTOTOOLS= libtool autoheader autoconf
+INSTALL_TARGET= install-strip
+USE_AUTOTOOLS= autoheader autoconf
USE_LDCONFIG= ${PREFIX}/lib/dbmail
USE_RC_SUBR= dbmail-pop3d dbmail-lmtpd dbmail-imapd dbmail-timsieved
USE_OPENSSL= yes
-USES= gmake shebangfix pkgconfig
+USES= gmake libtool pkgconfig shebangfix
SHEBANG_FILES= man/fixsp.pl
-CFLAGS+= -fPIC ${PTHREAD_CFLAGS}
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
+LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-zdb=${LOCALBASE} --sysconfdir=${LOCALBASE}/etc --enable-manpages
MAKE_ARGS+= mandir=${MANPREFIX}/man
@@ -73,7 +74,5 @@ post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/dbmail/libauth_sql.so.0 \
- ${STAGEDIR}${PREFIX}/lib/dbmail/libdbmail.so.0
.include <bsd.port.mk>
diff --git a/mail/dbmail/pkg-plist b/mail/dbmail/pkg-plist
index acc8402a7bf3..334a4e61d2a6 100644
--- a/mail/dbmail/pkg-plist
+++ b/mail/dbmail/pkg-plist
@@ -1,18 +1,18 @@
@unexec if cmp -s %D/etc/dbmail.conf-dist %D/etc/dbmail.conf; then rm -f %D/etc/dbmail.conf; fi
etc/dbmail.conf-dist
@exec if [ ! -f %D/etc/dbmail.conf ] ; then cp -p %D/%F %B/dbmail.conf; fi
-%%LDAP%%lib/dbmail/libauth_ldap.la
%%LDAP%%lib/dbmail/libauth_ldap.so
%%LDAP%%lib/dbmail/libauth_ldap.so.0
-lib/dbmail/libauth_sql.la
+%%LDAP%%lib/dbmail/libauth_ldap.so.0.0.0
lib/dbmail/libauth_sql.so
lib/dbmail/libauth_sql.so.0
-lib/dbmail/libdbmail.la
+lib/dbmail/libauth_sql.so.0.0.0
lib/dbmail/libdbmail.so
lib/dbmail/libdbmail.so.0
-%%SIEVE%%lib/dbmail/libsort_sieve.la
+lib/dbmail/libdbmail.so.0.0.0
%%SIEVE%%lib/dbmail/libsort_sieve.so
%%SIEVE%%lib/dbmail/libsort_sieve.so.0
+%%SIEVE%%lib/dbmail/libsort_sieve.so.0.0.0
man/man1/dbmail-deliver.1.gz
man/man1/dbmail.1.gz
man/man5/dbmail.conf.5.gz