aboutsummaryrefslogtreecommitdiff
path: root/mail/libdkim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/libdkim/Makefile')
-rw-r--r--mail/libdkim/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/libdkim/Makefile b/mail/libdkim/Makefile
new file mode 100644
index 000000000000..f4743928bb0d
--- /dev/null
+++ b/mail/libdkim/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: libdkim
+# Date created: 03 Oct 2008
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdkim
+PORTVERSION= 1.0.17
+CATEGORIES= mail
+MASTER_SITES= http://duncanthrax.net/exim-experimental/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-tk
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= DKIM (DomainKeys Identified Mail) library
+
+USE_LDCONFIG= YES
+SHLIB_MAJOR= 1
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
+USE_OPENSSL= YES
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+post-patch:
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
+ @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
+ ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>