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