d7f69e47ce
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2003/01/28 22:04:07 jlam 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
|
|
|
|
USE_BUILDLINK2= YES
|
|
USE_PKGINSTALL= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/pks
|
|
CONFIGURE_ARGS+= --localstatedir=/var/pks
|
|
#
|
|
# pksd doesn't actually look for it's config file anywhere; it must be
|
|
# specified directly on the command-line. Setting sysconfdir here just
|
|
# causes the example pksd.conf file to be installed at the named location.
|
|
#
|
|
CONFIGURE_ARGS+= --sysconfdir=${EGDIR}
|
|
|
|
EGDIR= ${PREFIX}/share/examples
|
|
CONF_FILES= ${EGDIR}/pksd.conf ${PKG_SYSCONFDIR}/pksd.conf
|
|
RCD_SCRIPTS= pksd
|
|
OWN_DIRS= /var/pks /var/pks/db /var/pks/incoming
|
|
|
|
.include "../../databases/db/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|