aboutsummaryrefslogtreecommitdiff
path: root/mail/libdomainkeys
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2005-05-23 09:51:05 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2005-05-23 09:51:05 +0000
commit4c217f887f35d6fd717d33526fa2faf0ebb3e97a (patch)
tree2b9038e2b8d9ad98719c1d9993960d33668f8fd8 /mail/libdomainkeys
parent95e80732c420944cc2fe42f972daf43ebb4f30e6 (diff)
downloadports-4c217f887f35d6fd717d33526fa2faf0ebb3e97a.tar.gz
ports-4c217f887f35d6fd717d33526fa2faf0ebb3e97a.zip
Add libdomainkeys 0.63, DomainKeys library.
Notes
Notes: svn path=/head/; revision=135939
Diffstat (limited to 'mail/libdomainkeys')
-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
5 files changed, 66 insertions, 0 deletions
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