blob: 00b35652b8f3cfb149cc3b8183c471fc4970849c (
plain) (
blame)
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
|
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$
PORTNAME= openpgpsdk
PORTVERSION= 0.9
CATEGORIES= security
MASTER_SITES= http://openpgp.nominet.org.uk/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= OpenPGP SDK
BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
LIB_DEPENDS= libcunit.so:${PORTSDIR}/devel/cunit
USES= perl5 tar:tgz
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --without-idea --with-cunit=${LOCALBASE}
PLIST_FILES= bin/openpgp lib/libops.a
post-patch:
@${REINPLACE_CMD} 's|-Werror -W -g|${CFLAGS}|' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name Makefile.template -exec ${REINPLACE_CMD} \
's|-Werror -g|${CFLAGS}|; /^LDFLAGS/ s|-g|${LDFLAGS}|' {} \;
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/openpgp ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/lib/libops.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|