aboutsummaryrefslogtreecommitdiff
path: root/mail/libdomainkeys/Makefile
blob: 4fc25080584ac7b8fc7a87dc312c76ceb24f2a55 (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
27
28
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	libdomainkeys
PORTVERSION=	0.69
CATEGORIES=	mail
MASTER_SITES=	SF/domainkeys/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	DomainKeys library

USE_LDCONFIG=	YES
SHLIB_MAJOR=	3
PLIST_SUB=	SHLIB_MAJOR="${SHLIB_MAJOR}"

USE_OPENSSL=	YES

post-patch:
	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
	@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
		${FILESDIR}/Makefile > ${WRKSRC}/Makefile

post-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/dknewkey ${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/test ${DATADIR}/dktest

.include <bsd.port.mk>