blob: ef23a7dd37fecb5cc5a7fd277d74452dddf57eba (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= sks
PORTVERSION= 1.1.6
CATEGORIES= security
MASTER_SITES= http://bitbucket.org/skskeyserver/sks-keyserver/downloads/
EXTRA_PATCHES= ${FILESDIR}/debian-bug-870150:-p1
MAINTAINER= acm@FreeBSD.org
COMMENT= Synchronizing Key Server, a fast OpenPGP keyserver
LICENSE= GPLv2+
USE_OCAML= yes
USE_OCAML_CAMLP4=yes
USES= bdb:5 perl5 gmake shebangfix tar:tgz
USE_PERL5= build
MAKE_JOBS_UNSAFE=yes
SHEBANG_FILES= sks_build.sh
MAKE_ENV= BDBINCLUDE="-I${BDB_INCLUDE_DIR}" \
BDBLIB="-L${BDB_LIB_DIR}" \
LIBDB="-l${BDB_LIB_NAME}" \
MANDIR="${MANPREFIX}/man"
SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
post-extract:
@: > ${WRKSRC}/Makefile.local
@${REINPLACE_CMD} 's/-ccopt -pg //' ${WRKSRC}/Makefile
@cd ${WRKSRC} && ${RM} .depend
post-patch:
@${REINPLACE_CMD} -e '/^CC=/d; /^CFLAGS=/s/=/+=/' ${WRKSRC}/bdb/Makefile
pre-build:
@cd ${WRKSRC} && test -f .depend || ${MAKE_CMD} dep
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} BUGS README.md TODO UPGRADING \
${STAGEDIR}${DOCSDIR}
@cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} sks sks_add_mail
.include <bsd.port.mk>
|