aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libdkim/Makefile
blob: 00f6d5af3a923a2e229f40a9aa60292198eb9729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=   libdkim
PORTVERSION=    1.0.21
CATEGORIES= mail
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    DKIM (DomainKeys Identified Mail) library

LICENSE=    APACHE20

USES=       uidfix zip ssl
USE_LDCONFIG=   YES
SHLIB_MAJOR=    1
PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"

WRKSRC=     ${WRKDIR}/${PORTNAME}/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>