1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/security/botan/Makefile

53 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
2002-08-20 05:03:18 +00:00
# New ports collection makefile for: botan
# Date created: Mar 3, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
2002-08-20 05:03:18 +00:00
PORTNAME= botan
PORTVERSION= 1.4.7
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= http://files.randombit.net/botan/
2002-08-20 05:03:18 +00:00
DISTNAME= Botan-${PORTVERSION}
EXTRACT_SUFX= .tbz
MAINTAINER= clsung@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= A portable, easy to use, and efficient C++ crypto library
USE_BZIP2= yes
USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.pl
CONFIGURE_ARGS= --prefix=${PREFIX} gcc-freebsd-generic
USE_GMAKE= yes
MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
LANG_FLAGS="-fpermissive"
INSTALLS_SHLIB= yes
2002-05-10 02:32:18 +00:00
PLIST_SUB= PORTVERSION=${PORTVERSION}
.if !defined(NOPORTDOCS)
DOCSDIR= ${PREFIX}/share/doc/Botan-${PORTVERSION}
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500035
CONFIGURE_ARGS+= --noauto
PLIST_SUB+= OS_4="@comment "
.else
PLIST_SUB+= OS_4=""
post-patch:
@${FIND} ${WRKSRC} -name '*.orig' -delete
.endif
.if ${PERL_LEVEL} < 500601
IGNORE= This port requires perl 5.6.x or later. Install lang/perl5 then try again
.endif
.include <bsd.port.post.mk>