mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
64bca92785
PR: 58794 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# ex:ts=8
|
|
# New ports collection makefile for: botan
|
|
# Date created: Mar 3, 2001
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= botan
|
|
PORTVERSION= 1.2.7
|
|
PORTREVISION= 0
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= opencl
|
|
DISTNAME= Botan-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= clsung@dragon2.net
|
|
COMMENT= A portable, easy to use, and efficient C++ crypto library
|
|
|
|
USE_REINPLACE= yes
|
|
USE_PERL5= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_SCRIPT= configure.pl
|
|
CONFIGURE_ARGS= gcc-freebsd-generic
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
|
|
LANG_FLAGS="-fpermissive"
|
|
INSTALLS_SHLIB= yes
|
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \
|
|
s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
post-install:
|
|
@${RM} -f ${PREFIX}/include/botan/botan
|
|
|
|
.include <bsd.port.post.mk>
|