head	1.9;
access;
symbols
	RELEASE_8_3_0:1.7
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.5
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2013.03.19.05.06.34;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.11.17.05.54.52;	author svnexp;	state Exp;
branches;
next	1.7;

1.7
date	2010.10.08.02.06.53;	author wen;	state Exp;
branches;
next	1.6;

1.6
date	2010.09.16.03.31.29;	author wen;	state Exp;
branches;
next	1.5;

1.5
date	2010.05.24.07.19.35;	author wen;	state Exp;
branches;
next	1.4;

1.4
date	2009.11.20.22.52.52;	author pav;	state Exp;
branches;
next	1.3;

1.3
date	2009.09.23.01.06.29;	author wen;	state Exp;
branches;
next	1.2;

1.2
date	2009.08.22.00.15.01;	author amdmi3;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.28.23.36.10;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.9
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314530
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Wen Heping <wenheping@@gmail.com>
# $FreeBSD: head/biology/libsbml/Makefile 314530 2013-03-18 06:50:12Z jgh $

PORTNAME=	libsbml
PORTVERSION=	4.2.0
CATEGORIES=	biology devel
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	sbml/${PORTNAME}/${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}-src

MAINTAINER=	wen@@FreeBSD.org
COMMENT=	API Library for Working with SBML File

LIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2

OPTIONS_DEFINE=	PYTHON RUBY

USE_GMAKE=	yes
USE_ZIP=	yes
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAKE_JOBS_UNSAFE=	yes

.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MPYTHON}
.include "../../Mk/bsd.python.mk"
BUILD_DEPENDS+=		${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
CONFIGURE_ARGS+=	--with-python
PLIST_SUB+=		WITH_PYTHON="" \
			SBML_EGGINFO=${PORTNAME}-${PORTVERSION}-${PYTHON_VERSION:S/thon//}.egg-info
.else
PLIST_SUB+=		WITH_PYTHON="@@comment "
.endif

.if ${PORT_OPTIONS:MRUBY}
.include "../../Mk/bsd.ruby.mk"
BUILD_DEPENDS+=		${LOCALBASE}/bin/ruby:${PORTSDIR}/lang/ruby18
CONFIGURE_ARGS+=	--with-ruby
PLIST_SUB+=		WITH_RUBY=""
.else
PLIST_SUB+=		WITH_RUBY="@@comment "
.endif

post-patch:
	${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#' \
		${WRKSRC}/Makefile.in

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
	${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC}/examples \
		&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
		&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
.endif
.include <bsd.port.post.mk>
@


1.8
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	libsbml
# Date created:			29 May, 2009
# Whom:				Wen Heping <wenheping@@gmail.com>
#
# $FreeBSD: head/biology/libsbml/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d12 1
a12 1
COMMENT=	An API Library for Working with SBML File
d16 1
a16 2
OPTIONS=	PYTHON "Support for Python" off \
		RUBY "Support for Ruby" off
d26 3
a28 1
.if defined(WITH_PYTHON)
d38 1
a38 1
.if defined(WITH_RUBY)
d52 1
a52 1
.if !defined(NOPORTEXAMPLES)
@


1.7
log
@- Update to 4.2.0
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@- Update to 4.1.0
@
text
@d9 1
a9 1
PORTVERSION=	4.1.0
@


1.5
log
@- Update to 4.0.1
@
text
@d9 1
a9 1
PORTVERSION=	4.0.1
@


1.4
log
@- Mark MAKE_JOBS_UNSAFE

Reported by:	pointyhat
@
text
@d9 1
a9 1
PORTVERSION=	4.0.0
@


1.3
log
@- Update to 4.0.0
- Update my mail address to FreeBSD

PR:		ports/137652
Submitted by:	wenheping@@gmail.com(myself)
Approved by:	miwi(mentor)
Feature safe:	yes
@
text
@d28 1
@


1.2
log
@- Switch SourceForge ports to the new File Release System: categories starting with B,C
@
text
@d9 1
a9 1
PORTVERSION=	3.3.2
d11 2
a12 1
MASTER_SITES=	SF/sbml/${PORTNAME}/${PORTVERSION}
d15 1
a15 1
MAINTAINER=	wenheping@@gmail.com
d49 4
@


1.1
log
@LibSBML is an open-source programming library to help you read, write,
manipulate, translate, and validate SBML files and data streams. It is
not an application itself (though it does come with example programs),
but rather a library you can embed in your own applications.

LibSBML understands all Levels and Versions of SBML, as well as the
SBML Layout proposal by Gauges, Rost, Sahle and Wegner. It's written in
ISO C and C++ but can be used from all the languages listed in the
right-hand box.

WWW: http://www.sbml.org/

PR:		ports/135022
Submitted by:	Wen Heping <wenheping at gmail.com>
@
text
@d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	sbml
@

