diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2011-04-12 21:50:11 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2011-04-12 21:50:11 +0000 |
commit | 422593a798d12d4815d7726740c3c438b36a0dc0 (patch) | |
tree | 95f4991cb308224a26e1d5f6fc6656e46da3d7f5 /security/pks/Makefile | |
parent | 1e27535f8a6cf32053d818efbc2df973aa870cd0 (diff) |
Upgrade to a later snapshot, to allow build with newer BDB versions.
PR: ports/155760
Submitted by: mandree
Approved by: Graham Todd <gtodd@bellanet.org>
Notes
Notes:
svn path=/head/; revision=272644
Diffstat (limited to 'security/pks/Makefile')
-rw-r--r-- | security/pks/Makefile | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/security/pks/Makefile b/security/pks/Makefile index 736586707c00..718ab25dc7c5 100644 --- a/security/pks/Makefile +++ b/security/pks/Makefile @@ -5,48 +5,45 @@ # $FreeBSD$ # -PORTNAME= pks -PORTVERSION= 0.9.6 -PORTREVISION= 1 -CATEGORIES= security www -MASTER_SITES= SF +PORTNAME= pks +PORTVERSION= 0.9.6.20040312 +CATEGORIES= security www +MASTER_SITES= http://pks.sourceforge.net/:sf ${MASTER_SITE_LOCAL}:local +MASTER_SITE_SUBDIR= .:sf mandree:local +DISTFILES= pks-current.tgz:sf,local MAINTAINER= gtodd@bellanet.org COMMENT= PGP Public Key Server -USE_BDB= yes -WANT_BDB_VER= 2 +USE_BDB= 41 # 42 would be ok +WRKSRC= ${WRKDIR}/${PORTNAME} + +.include <bsd.port.pre.mk> GNU_CONFIGURE= yes +USE_AUTOTOOLS= autoconf CONFIGURE_ARGS= --datadir=${PREFIX}/share/pks --localstatedir=/var/pks \ --sysconfdir=${EXAMPLESDIR} \ --libdir=${LOCALBASE}/lib --with-libwrap -CFLAGS+= -I${BDB_INCLUDE_DIR} MAKE_ENV+= LDFLAGS=-L${LOCALBASE}/lib SUBDIRS= +CONFIGURE_ENV= DBLIB="-L${BDB_LIB_DIR} -l${BDB_LIB_NAME}" DBINC=-I${BDB_INCLUDE_DIR} DBHDR=db.h USE_RC_SUBR= pksd.sh MAN5= pksd.conf.5 -MAN8= pks-intro.8 pksclient.8 pksd.8 pksdctl.8 -SUB_FILES= pkg-message pkg-deinstall +MAN8= pks-intro.8 pksclient.8 pksd.8 pksdctl.8 pks-mail.sh.8 \ + pks-queue-run.sh.8 pgpsplit.8 -# remove embedded sleepycat, remove associated build commands, make -# the build use the headers and libraries from the db2 port -post-patch: - ${RM} -rf ${WRKSRC}/db2-sleepycat - ${REINPLACE_CMD} 's|SUBDIRS =.*|SUBDIRS =|; \ - s|LIBDB =.*|LIBDB = -L${LOCALBASE}/lib -l${BDB_LIB_NAME}|; \ - s|DBDIR =.*|DBDIR = ${BDB_INCLUDE_DIR}|' \ - ${WRKSRC}/Makefile.in +SUB_FILES= pkg-message pkg-deinstall post-install: ${INSTALL_DATA} ${WRKSRC}/pksd.conf ${PREFIX}/etc/pksd.conf.sample .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/pks_help.en ${WRKSRC}/pks_help.es ${WRKSRC}/pks_help.fr \ - ${WRKSRC}/pks_help.cz ${WRKSRC}/pks_help.de ${WRKSRC}/pks_help.ja \ + ${WRKSRC}/pks_help.cz ${WRKSRC}/pks_help.de ${WRKSRC}/pks_help.ja \ ${WRKSRC}/mail_intro ${DOCSDIR} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |