aboutsummaryrefslogtreecommitdiff
path: root/security/sks/Makefile
blob: b09d80f5ddfc240d87a58da5163e3989b3835db3 (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
# New ports collection makefile for:	sks
# Date created:		2004-10-16
# Whom:			johans@stack.nl
#
# $FreeBSD$
#

PORTNAME=	sks
PORTVERSION=	1.1.3
CATEGORIES=	security
MASTER_SITES=	GOOGLE_CODE
EXTRACT_SUFX=	.tgz

MAINTAINER=	johans@FreeBSD.org
COMMENT=	Synchronizing Key Server, a fast OpenPGP keyserver

PROJECTHOST=	sks-keyserver

USE_OCAML=	yes
USE_BDB=	5
USE_PERL5_BUILD=yes

USE_GMAKE=	yes
MAKE_ENV=	BDBINCLUDE="-I${BDB_INCLUDE_DIR}" \
		BDBLIB="-L${BDB_LIB_DIR}" \
		LIBDB="-l${BDB_LIB_NAME}" \
		MANDIR="${MANPREFIX}/man"

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

post-extract:
	@: > ${WRKSRC}/Makefile.local
	@${REINPLACE_CMD} 's/-ccopt -pg //' ${WRKSRC}/Makefile

pre-build:
	@cd ${WRKSRC} && test -f .depend || ${GMAKE} dep

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>