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