diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2008-10-03 10:38:25 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2008-10-03 10:38:25 +0000 |
commit | 720684f7d6dad69e9cd9c3da80cf71092017d322 (patch) | |
tree | ff9affbbaf0d9d20ffb0f55d723e01eef3515314 /mail/libdkim | |
parent | eeaeafaa881473c67f9c77b14235b0c8cf783481 (diff) | |
download | ports-720684f7d6dad69e9cd9c3da80cf71092017d322.tar.gz ports-720684f7d6dad69e9cd9c3da80cf71092017d322.zip |
Notes
Diffstat (limited to 'mail/libdkim')
-rw-r--r-- | mail/libdkim/Makefile | 30 | ||||
-rw-r--r-- | mail/libdkim/distinfo | 3 | ||||
-rw-r--r-- | mail/libdkim/files/Makefile | 16 | ||||
-rw-r--r-- | mail/libdkim/pkg-descr | 3 | ||||
-rw-r--r-- | mail/libdkim/pkg-plist | 8 |
5 files changed, 60 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> diff --git a/mail/libdkim/distinfo b/mail/libdkim/distinfo new file mode 100644 index 000000000000..da59896de995 --- /dev/null +++ b/mail/libdkim/distinfo @@ -0,0 +1,3 @@ +MD5 (libdkim-1.0.17-tk.tar.gz) = ca6608a7aac6be23f8ecda16211c9bf6 +SHA256 (libdkim-1.0.17-tk.tar.gz) = 25e261fa8ad4331b151ef63cd7b6531bc230fd01adc3ab586700c6a0e043a795 +SIZE (libdkim-1.0.17-tk.tar.gz) = 28387 diff --git a/mail/libdkim/files/Makefile b/mail/libdkim/files/Makefile new file mode 100644 index 000000000000..c979609f97f5 --- /dev/null +++ b/mail/libdkim/files/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +LIB = dkim +SRCS= dkim.cpp dns.cpp dkimbase.cpp dkimsign.cpp dkimverify.cpp +INCS= dkim.h dns.h dkimbase.h dkimsign.h dkimverify.h + +SHLIB_MAJOR= %%SHLIB_MAJOR%% + +LIBDIR= ${PREFIX}/lib +INCLUDEDIR= ${PREFIX}/include +CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLBASE}/include +LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib + +NO_PROFILE= + +.include <bsd.lib.mk> diff --git a/mail/libdkim/pkg-descr b/mail/libdkim/pkg-descr new file mode 100644 index 000000000000..f011e13b86e5 --- /dev/null +++ b/mail/libdkim/pkg-descr @@ -0,0 +1,3 @@ +This library implements DKIM (DomainKeys Identified Mail). + +WWW: http://dkim.org/ diff --git a/mail/libdkim/pkg-plist b/mail/libdkim/pkg-plist new file mode 100644 index 000000000000..51771a4e21e7 --- /dev/null +++ b/mail/libdkim/pkg-plist @@ -0,0 +1,8 @@ +include/dns.h +include/dkim.h +include/dkimbase.h +include/dkimsign.h +include/dkimverify.h +lib/libdkim.a +lib/libdkim.so +lib/libdkim.so.%%SHLIB_MAJOR%% |