2001-03-02 20:15:58 +01:00
|
|
|
# ex:ts=8
|
2002-08-20 07:03:18 +02:00
|
|
|
# New ports collection makefile for: botan
|
2001-03-02 20:15:58 +01:00
|
|
|
# Date created: Mar 3, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2002-08-20 07:03:18 +02:00
|
|
|
PORTNAME= botan
|
2004-08-26 12:07:01 +02:00
|
|
|
PORTVERSION= 1.4.0
|
|
|
|
PORTREVISION= 0
|
2001-03-02 20:15:58 +01:00
|
|
|
CATEGORIES= security
|
2004-08-26 12:07:01 +02:00
|
|
|
MASTER_SITES= http://botan.randombit.net/files/
|
2002-08-20 07:03:18 +02:00
|
|
|
DISTNAME= Botan-${PORTVERSION}
|
2001-03-02 20:15:58 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-08-20 04:56:44 +02:00
|
|
|
MAINTAINER= clsung@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A portable, easy to use, and efficient C++ crypto library
|
2001-03-02 20:15:58 +01:00
|
|
|
|
2002-11-03 22:30:54 +01:00
|
|
|
USE_PERL5= yes
|
2001-03-02 20:15:58 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= configure.pl
|
2001-06-10 13:30:06 +02:00
|
|
|
CONFIGURE_ARGS= gcc-freebsd-generic
|
2001-03-02 20:15:58 +01:00
|
|
|
USE_GMAKE= yes
|
2003-04-30 03:05:35 +02:00
|
|
|
MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
|
2003-05-04 02:27:18 +02:00
|
|
|
LANG_FLAGS="-fpermissive"
|
2001-03-02 20:15:58 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-05-10 04:32:18 +02:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
|
2003-07-10 10:25:57 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-08-26 12:07:01 +02:00
|
|
|
.if ${OSVERSION} >= 500035
|
|
|
|
CONFIGURE_ARGS+= --noauto
|
|
|
|
PLIST_SUB+= OS_4="@comment "
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= OS_4=""
|
|
|
|
.endif
|
|
|
|
|
2003-07-10 10:25:57 +02:00
|
|
|
.if ${PERL_LEVEL} < 500601
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|