Lines 7-24
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= botan |
9 |
PORTNAME= botan |
10 |
PORTVERSION= 1.2.8 |
10 |
PORTVERSION= 1.4.0 |
11 |
PORTREVISION= 1 |
11 |
PORTREVISION= 0 |
12 |
CATEGORIES= security |
12 |
CATEGORIES= security |
13 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
13 |
MASTER_SITES= http://botan.randombit.net/ |
14 |
MASTER_SITE_SUBDIR= opencl |
14 |
MASTER_SITE_SUBDIR= files |
15 |
DISTNAME= Botan-${PORTVERSION} |
15 |
DISTNAME= Botan-${PORTVERSION} |
16 |
EXTRACT_SUFX= .tgz |
16 |
EXTRACT_SUFX= .tgz |
17 |
|
17 |
|
18 |
MAINTAINER= clsung@dragon2.net |
18 |
MAINTAINER= clsung@dragon2.net |
19 |
COMMENT= A portable, easy to use, and efficient C++ crypto library |
19 |
COMMENT= A portable, easy to use, and efficient C++ crypto library |
20 |
|
20 |
|
21 |
USE_REINPLACE= yes |
|
|
22 |
USE_PERL5= yes |
21 |
USE_PERL5= yes |
23 |
HAS_CONFIGURE= yes |
22 |
HAS_CONFIGURE= yes |
24 |
CONFIGURE_SCRIPT= configure.pl |
23 |
CONFIGURE_SCRIPT= configure.pl |
Lines 32-44
Link Here
|
32 |
|
31 |
|
33 |
.include <bsd.port.pre.mk> |
32 |
.include <bsd.port.pre.mk> |
34 |
|
33 |
|
|
|
34 |
.if ${OSVERSION} >= 500035 |
35 |
CONFIGURE_ARGS+= --noauto |
36 |
.endif |
37 |
|
35 |
.if ${PERL_LEVEL} < 500601 |
38 |
.if ${PERL_LEVEL} < 500601 |
36 |
BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec |
39 |
BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec |
37 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
40 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
38 |
.endif |
41 |
.endif |
39 |
|
|
|
40 |
post-patch: |
41 |
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \ |
42 |
s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT} |
43 |
|
42 |
|
44 |
.include <bsd.port.post.mk> |
43 |
.include <bsd.port.post.mk> |