mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
e0ac1afbf4
- Thanks to crees@ for generating the initial patch PR: ports/163521 Submitted by: Pedro Giffuni <pfg apache.org> Hat: portmgr Exp run by: pav
42 lines
812 B
Makefile
42 lines
812 B
Makefile
# New ports collection makefile for: libdkim
|
|
# Date created: 03 Oct 2008
|
|
# Whom: Sergey Skvortsov <skv@protey.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libdkim
|
|
PORTVERSION= 1.0.21
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= skv@FreeBSD.org
|
|
COMMENT= DKIM (DomainKeys Identified Mail) library
|
|
|
|
LICENSE= AL2
|
|
|
|
USE_ZIP= YES
|
|
USE_LDCONFIG= YES
|
|
SHLIB_MAJOR= 1
|
|
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
|
|
|
USE_OPENSSL= YES
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
|
|
.if ${OSVERSION} < 700019
|
|
WITH_OPENSSL_PORT= yes
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
|
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
|
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
|
|
|
|
.include <bsd.port.post.mk>
|