freebsd-ports/security/botan/Makefile

49 lines
1.1 KiB
Makefile
Raw Normal View History

# ex:ts=8
2002-08-20 07:03:18 +02:00
# New ports collection makefile for: botan
# Date created: Mar 3, 2001
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#
2002-08-20 07:03:18 +02:00
PORTNAME= botan
PORTVERSION= 1.2.6
2003-01-30 16:47:04 +01:00
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
2002-08-20 07:03:18 +02:00
MASTER_SITE_SUBDIR= opencl
DISTNAME= Botan-${PORTVERSION}
EXTRACT_SUFX= .tgz
2001-06-10 13:30:06 +02:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 20:00:52 +01:00
COMMENT= A portable, easy to use, and efficient C++ crypto library
USE_REINPLACE= yes
USE_PERL5= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.pl
2001-06-10 13:30:06 +02:00
CONFIGURE_ARGS= gcc-freebsd-generic
USE_GMAKE= yes
MAKE_ARGS= CXX="${CXX}" LIB_OPT="${CXXFLAGS}" \
LANG_FLAGS="-fpermissive"
INSTALLS_SHLIB= yes
2002-05-10 04:32:18 +02:00
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
2002-05-10 04:32:18 +02:00
post-patch:
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g ; \
2002-05-10 04:32:18 +02:00
s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
@${RM} -f ${WRKSRC}/src/pipe_io.cpp.orig
post-install:
@${RM} -f ${PREFIX}/include/botan/botan
.include <bsd.port.post.mk>