summaryrefslogtreecommitdiff
path: root/security/pks/Makefile
blob: 727007a03dfe92b7726f2a82f45a6a141a64994e (plain)
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
# $NetBSD: Makefile,v 1.4 2001/02/17 17:50:02 wiz Exp $

DISTNAME=		pks-0.9.4
CATEGORIES=		security www
MASTER_SITES+=		http://www.mit.edu/people/marc/pks/ \
			ftp://ftp.neonramp.com/pub/pksd/

PATCH_SITES=		http://www.mit.edu/people/marc/pks/ \
			ftp://ftp.neonramp.com/pub/pksd/
PATCHFILES=		pks094-patch2 \
			pks094-patch3
PATCH_DIST_STRIP=	-p1

MAINTAINER=		burgess@neonramp.com
HOMEPAGE=		http://www.mit.edu/people/marc/pks/
COMMENT=		PGP Public Key Server

DEPENDS+=		db-*:../../databases/db

GNU_CONFIGURE=		# defined
CONFIGURE_ARGS+=	--datadir=${PREFIX}/share/pks
CONFIGURE_ARGS+=	--localstatedir=/var/pks
CONFIGURE_ARGS+=	--sysconfdir=${PREFIX}/share/examples

post-build:
	${SED} -e "s,@PREFIX@,${PREFIX},g" \
		< ${FILESDIR}/pksd.sh > ${WRKDIR}/pksd.sh

post-install:
	${INSTALL_SCRIPT} ${WRKDIR}/pksd.sh ${PREFIX}/etc/rc.d/pksd
	PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL

.include "../../mk/bsd.pkg.mk"