|
Lines 2-28
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= pkcs11-helper |
4 |
PORTNAME= pkcs11-helper |
| 5 |
PORTVERSION= 1.09 |
5 |
PORTVERSION= 1.11 |
| 6 |
CATEGORIES= security devel |
6 |
CATEGORIES= security devel |
| 7 |
MASTER_SITES= http://www.opensc-project.org/files/${PORTNAME}/ |
7 |
MASTER_SITES= SF/opensc/pkcs11-helper/ |
| 8 |
|
8 |
|
| 9 |
MAINTAINER= ale@FreeBSD.org |
9 |
MAINTAINER= ale@FreeBSD.org |
| 10 |
COMMENT= A helper library for multiple PKCS\#11 providers |
10 |
COMMENT= A helper library for multiple PKCS\#11 providers |
| 11 |
|
11 |
|
| 12 |
OPTIONS_DEFINE= DOCS |
12 |
LICENSE= BSD3CLAUSE GPLv2 |
| 13 |
|
|
|
| 14 |
LICENSE= BSD GPLv2 |
| 15 |
LICENSE_COMB= dual |
13 |
LICENSE_COMB= dual |
| 16 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 17 |
LICENSE_FILE_BSD= ${WRKSRC}/COPYING.BSD |
15 |
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/COPYING.BSD |
| 18 |
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL |
16 |
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING.GPL |
| 19 |
|
17 |
|
| 20 |
USE_BZIP2= yes |
|
|
| 21 |
USE_OPENSSL= yes |
18 |
USE_OPENSSL= yes |
| 22 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
| 23 |
USES= pathfix pkgconfig |
20 |
USES= pathfix pkgconfig tar:bzip2 |
| 24 |
USE_LDCONFIG= yes |
21 |
USE_LDCONFIG= yes |
| 25 |
|
22 |
|
|
|
23 |
OPTIONS_DEFINE= DOCS |
| 24 |
|
| 26 |
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
25 |
CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ |
| 27 |
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" |
26 |
OPENSSL_LIBS="-L${OPENSSLLIB} -lssl" |
| 28 |
|
27 |
|
|
Lines 31-42
Link Here
|
| 31 |
|
30 |
|
| 32 |
PORTDOCS= * |
31 |
PORTDOCS= * |
| 33 |
|
32 |
|
|
|
33 |
.include <bsd.port.options.mk> |
| 34 |
|
| 34 |
post-patch: |
35 |
post-patch: |
| 35 |
@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \ |
36 |
@${REINPLACE_CMD} 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|' \ |
| 36 |
${WRKSRC}/configure |
37 |
${WRKSRC}/configure |
| 37 |
@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \ |
38 |
@${REINPLACE_CMD} 's|install-data-am: install-apidocDATA|install-data-am:|' \ |
| 38 |
${WRKSRC}/doc/api/Makefile.in |
39 |
${WRKSRC}/doc/api/Makefile.in |
| 39 |
.if defined(NOPORTDOCS) |
40 |
.if empty(PORT_OPTIONS:MDOCS) |
| 40 |
@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ |
41 |
@${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ |
| 41 |
${WRKSRC}/Makefile.in |
42 |
${WRKSRC}/Makefile.in |
| 42 |
@${REINPLACE_CMD} 's|install-data-am: install-man install-nodist_htmlDATA|install-data-am: install-man|' \ |
43 |
@${REINPLACE_CMD} 's|install-data-am: install-man install-nodist_htmlDATA|install-data-am: install-man|' \ |