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
|
2008-10-06 07:22:26 +02:00
|
|
|
PORTVERSION= 1.6.5
|
2001-03-02 20:15:58 +01:00
|
|
|
CATEGORIES= security
|
2009-01-31 22:30:21 +01:00
|
|
|
MASTER_SITES= http://files.randombit.net/botan/v1.6/
|
2002-08-20 07:03:18 +02:00
|
|
|
DISTNAME= Botan-${PORTVERSION}
|
2005-02-17 08:43:43 +01:00
|
|
|
EXTRACT_SUFX= .tbz
|
2001-03-02 20:15:58 +01:00
|
|
|
|
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
|
|
|
|
2005-02-17 08:43:43 +01:00
|
|
|
USE_BZIP2= yes
|
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
|
2005-02-17 08:43:43 +01:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} 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"
|
2006-08-14 06:09:27 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-03-02 20:15:58 +01:00
|
|
|
|
2002-05-10 04:32:18 +02:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
|
2005-02-17 08:43:43 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-08-04 13:41:30 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/Botan-${PORTVERSION}
|
2005-02-17 08:43:43 +01:00
|
|
|
PORTDOCS= *
|
2009-04-05 15:31:45 +02:00
|
|
|
.else
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e '/$$(MKDIR_INSTALL) $$(DOCDIR)/d' \
|
|
|
|
-e '/$$(INSTALL_CMD_DATA) $$$$i $$(DOCDIR); /d' \
|
|
|
|
${WRKSRC}/Makefile
|
2005-02-17 08:43:43 +01:00
|
|
|
.endif
|
|
|
|
|
2008-10-06 07:22:26 +02:00
|
|
|
.include <bsd.port.mk>
|