aboutsummaryrefslogtreecommitdiffstats
path: root/security/sks/Makefile
blob: e783b31dd9de2edb37e83854bbc4161f1b5b4eb0 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# New ports collection makefile for:    sks
# Date created:     2004-10-16
# Whom:         johans@stack.nl
#
# $FreeBSD$
#

PORTNAME=   sks
PORTVERSION=    1.0.9
PORTREVISION=   1
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=sks
EXTRACT_SUFX=   .tgz

MAINTAINER= johans@stack.nl
COMMENT=    Synchronizing Key Server, a fast OpenPGP keyserver

BUILD_DEPENDS=  ocaml:${PORTSDIR}/lang/ocaml-nox11
LIB_DEPENDS=    db-4.2:${PORTSDIR}/databases/db42

USE_GPG=    yes
SIG_SUFFIX= .sig
USE_GMAKE=  yes
MAKE_ENV=   BDBINCLUDE="-I${LOCALBASE}/include/db42" \
        BDBLIB="-L${LOCALBASE}/lib" \
        LIBDB="-ldb-4.2" \
        MANDIR="${MANPREFIX}/man"
ALL_TARGET= all sks.8
USE_PERL5_BUILD=    yes

PLIST_FILES=    bin/sks bin/sks_add_mail bin/sks_build.sh
MAN8=       sks.8
PORTDOCS=   ANNOUNCEMENT BUGS README TODO

post-patch:
    @${CP} ${FILESDIR}/sks.numerix.patch ${WRKDIR}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/sks      ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/sks_add_mail ${PREFIX}/bin
    ${INSTALL_SCRIPT}  ${WRKSRC}/sks_build.sh ${PREFIX}/bin
    ${INSTALL_MAN}     ${WRKSRC}/sks.8    ${MAN8PREFIX}/man/man8
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>