freebsd-ports/security/pks/Makefile
Kris Kennaway 66bcd1ef6c Patches from maintainer:
* HKP (WWW) key submissions disabled by default, enabled via
  configuration file
* nicer formatting of long (SHA-1) fingerprints
* pksdctl usage() shows available commands/arguments
* manual page fixes

Bump PORTREVISION.

PR:		ports/34970
Submitted by:	Jason Harris <jharris@widomaker.com>
2002-04-19 22:23:32 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: pks
# Date created: 15 Jan 2001
# Whom: kris@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= pks
PORTVERSION= 0.9.4
PORTREVISION= 1
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 \
x509patch
PATCH_DIST_STRIP=-p1
MAINTAINER= jharris@widomaker.com
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \
--sysconfdir=${PREFIX}/share/examples \
--libdir=${LOCALBASE}/lib
MAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib
MAN5= pksd.conf.5
MAN8= pks-intro.8 pksclient.8 pksd.8 pksdctl.8
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.sh
.if !exists(${PREFIX}/etc/pksd.conf)
${INSTALL_DATA} ${WRKSRC}/pksd.conf ${PREFIX}/etc/pksd.conf
.endif
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>