1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/mail/libdkim/Makefile
Sergey Skvortsov 81f18b773b * Fix makefile: rename CFLAGS to CXXFLAGS
* Install only "dkim.h" include file

Submitted by:	Bill Milford <bill xx themilfords.com>
2008-12-28 11:48:19 +00:00

39 lines
865 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.17
PORTREVISION= 1
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
#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
.if !exists(${DESTDIR}/lib/libcrypto.so.5)
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>