2013-04-22 15:27:47 +02:00
|
|
|
# Created by: Sergey Skvortsov <skv@protey.ru>
|
2008-10-03 12:38:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libdkim
|
2011-08-13 20:45:32 +02:00
|
|
|
PORTVERSION= 1.0.21
|
2008-10-03 12:38:25 +02:00
|
|
|
CATEGORIES= mail
|
2011-08-13 20:45:32 +02:00
|
|
|
MASTER_SITES= SF
|
2008-10-03 12:38:25 +02:00
|
|
|
|
2013-04-22 15:27:47 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2008-10-03 12:38:25 +02:00
|
|
|
COMMENT= DKIM (DomainKeys Identified Mail) library
|
|
|
|
|
2012-01-09 16:41:08 +01:00
|
|
|
LICENSE= AL2
|
2011-08-13 20:45:32 +02:00
|
|
|
|
|
|
|
USE_ZIP= YES
|
2008-10-03 12:38:25 +02:00
|
|
|
USE_LDCONFIG= YES
|
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
|
2011-08-13 20:45:32 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
2008-10-03 12:38:25 +02:00
|
|
|
|
2013-09-20 21:59:12 +02:00
|
|
|
NO_STAGE= yes
|
2009-01-09 13:09:34 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2008-12-24 19:05:19 +01:00
|
|
|
#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
|
2009-01-09 13:09:34 +01:00
|
|
|
.if ${OSVERSION} < 700019
|
|
|
|
WITH_OPENSSL_PORT= yes
|
2008-12-19 18:47:03 +01:00
|
|
|
.endif
|
|
|
|
|
2008-12-24 19:05:19 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2008-10-03 12:38:25 +02:00
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
|
|
|
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
|
|
|
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
|
|
|
|
|
2008-12-19 18:47:03 +01:00
|
|
|
.include <bsd.port.post.mk>
|