aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2005-05-23 17:51:05 +0800
committerskv <skv@FreeBSD.org>2005-05-23 17:51:05 +0800
commit28d2848288a8b5721962d3f9ae7d4aa842039daa (patch)
treea68a9632cdaa03f6299d1011e01e8253740bf4b2 /mail
parent8c082729245e8622a98edd2e8ffb276322c54a67 (diff)
downloadfreebsd-ports-gnome-28d2848288a8b5721962d3f9ae7d4aa842039daa.tar.gz
freebsd-ports-gnome-28d2848288a8b5721962d3f9ae7d4aa842039daa.tar.zst
freebsd-ports-gnome-28d2848288a8b5721962d3f9ae7d4aa842039daa.zip
Add libdomainkeys 0.63, DomainKeys library.
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/libdomainkeys/Makefile35
-rw-r--r--mail/libdomainkeys/distinfo2
-rw-r--r--mail/libdomainkeys/files/Makefile19
-rw-r--r--mail/libdomainkeys/pkg-descr5
-rw-r--r--mail/libdomainkeys/pkg-plist5
6 files changed, 67 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 810904989979..243f4718dd57 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -142,6 +142,7 @@
SUBDIR += kiltdown
SUBDIR += kshowmail
SUBDIR += lbdb
+ SUBDIR += libdomainkeys
SUBDIR += libesmtp
SUBDIR += libetpan
SUBDIR += libnewmail
diff --git a/mail/libdomainkeys/Makefile b/mail/libdomainkeys/Makefile
new file mode 100644
index 000000000000..edae4f6e8c42
--- /dev/null
+++ b/mail/libdomainkeys/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: libdomainkeys
+# Date created: 16 May 2005
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libdomainkeys
+PORTVERSION= 0.63
+CATEGORIES= mail
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= domainkeys
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= DomainKeys library
+
+MAKE_ENV= PREFIX=${PREFIX} OPENSSLBASE="${OPENSSLBASE}"
+INSTALLS_SHLIB= YES
+SHLIB_MAJOR= 1
+PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
+
+USE_OPENSSL= YES
+
+.if defined(NOPROFILE)
+PLIST_SUB+= PROFILE="@comment "
+.else
+PLIST_SUB+= PROFILE=""
+.endif
+
+post-patch:
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
+ @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
+ ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
+
+.include <bsd.port.mk>
diff --git a/mail/libdomainkeys/distinfo b/mail/libdomainkeys/distinfo
new file mode 100644
index 000000000000..b0681870268c
--- /dev/null
+++ b/mail/libdomainkeys/distinfo
@@ -0,0 +1,2 @@
+MD5 (libdomainkeys-0.63.tar.gz) = 761c9494ce7be3032d9d14f218d40892
+SIZE (libdomainkeys-0.63.tar.gz) = 24207
diff --git a/mail/libdomainkeys/files/Makefile b/mail/libdomainkeys/files/Makefile
new file mode 100644
index 000000000000..863b07c72f4d
--- /dev/null
+++ b/mail/libdomainkeys/files/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+LIB = domainkeys
+SRCS= dns_txt.c domainkeys.c
+INCS= domainkeys.h
+
+SHLIB_MAJOR= %%SHLIB_MAJOR%%
+
+LIBDIR= ${PREFIX}/lib
+INCLUDEDIR= ${PREFIX}/include
+CFLAGS+= -DBIND_8_COMPAT -I${OPENSSLBASE}/include
+#LIBS+= -lcrypto -L${OPENSSLBASE}/lib
+
+makeheader: makeheader.c
+
+domainkeys.h: domainkeys.c makeheader
+ ./makeheader <domainkeys.c >domainkeys.h
+
+.include <bsd.lib.mk>
diff --git a/mail/libdomainkeys/pkg-descr b/mail/libdomainkeys/pkg-descr
new file mode 100644
index 000000000000..f93630b10c8f
--- /dev/null
+++ b/mail/libdomainkeys/pkg-descr
@@ -0,0 +1,5 @@
+The DomainKeys Library is being written in C and provides a foundation
+for implementing the DomainKeys email authentication system in mail
+transfer agents and mail user agents.
+
+WWW: http://domainkeys.sourceforge.net/
diff --git a/mail/libdomainkeys/pkg-plist b/mail/libdomainkeys/pkg-plist
new file mode 100644
index 000000000000..e996ae6a9ed9
--- /dev/null
+++ b/mail/libdomainkeys/pkg-plist
@@ -0,0 +1,5 @@
+include/domainkeys.h
+lib/libdomainkeys.a
+lib/libdomainkeys.so
+lib/libdomainkeys.so.%%SHLIB_MAJOR%%
+%%PROFILE%%lib/libdomainkeys_p.a