aboutsummaryrefslogtreecommitdiffstats
path: root/mail/libdomainkeys/Makefile
blob: 3b4d61fb71535d5f40a81348086d051a69bad195 (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

USES=       uidfix
USE_LDCONFIG=   yes
SHLIB_MAJOR=    3
PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"
MAKE_ENV=   SHLIB_MAJOR="${SHLIB_MAJOR}"

USE_OPENSSL=    yes

post-patch:
    @${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile

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

.include <bsd.port.mk>