head	1.17;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.11
	RELEASE_8_0_0:1.10
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.6
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1;
locks; strict;
comment	@# @;


1.17
date	2013.03.19.05.12.12;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.05.54.53;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.08.04.22.52.02;	author kwm;	state Exp;
branches;
next	1.14;

1.14
date	2012.06.01.05.16.29;	author dinoex;	state Exp;
branches;
next	1.13;

1.13
date	2011.09.23.22.21.21;	author amdmi3;	state Exp;
branches;
next	1.12;

1.12
date	2010.03.28.06.31.39;	author dinoex;	state Exp;
branches;
next	1.11;

1.11
date	2010.02.05.11.34.38;	author dinoex;	state Exp;
branches;
next	1.10;

1.10
date	2009.08.22.00.15.01;	author amdmi3;	state Exp;
branches;
next	1.9;

1.9
date	2009.07.18.11.10.12;	author dinoex;	state Exp;
branches;
next	1.8;

1.8
date	2009.01.23.16.27.17;	author flz;	state Exp;
branches;
next	1.7;

1.7
date	2008.07.25.14.34.11;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2008.04.19.17.46.47;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2008.03.28.19.01.48;	author gahr;	state Exp;
branches;
next	1.4;

1.4
date	2008.03.25.22.44.09;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.10.02.09.08.37;	author linimon;	state Exp;
branches;
next	1.2;

1.2
date	2007.05.19.20.00.27;	author flz;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.05.20.09.54;	author ehaupt;	state Exp;
branches;
next	;


desc
@@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314531
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Sangwoo Shim <sangwoos@@gmail.com>
# $FreeBSD: head/biology/protomol/Makefile 314531 2013-03-18 06:54:39Z jgh $

PORTNAME=	protomol
PORTVERSION=	2.0.3
PORTREVISION=	8
CATEGORIES=	biology
MASTER_SITES=	SF/${PORTNAME}/ProtoMol/${PORTVERSION}
DISTNAME=	${PORTNAME}-${PORTVERSION}-tar.gz
EXTRACT_SUFX=	# empty

MAINTAINER=	sangwoos@@gmail.com
COMMENT=	OO, component based, framework for molecular dynamics (MD) simulations

LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
		jpeg.11:${PORTSDIR}/graphics/jpeg \
		tiff.4:${PORTSDIR}/graphics/tiff

GNU_CONFIGURE=	yes
USE_XORG=	xmu xt sm ice xext x11 xi

# Hack to cure a misbehavior of the configure script
CONFIGURE_ARGS+=	--without-irix_mipspro_mpi

CPPFLAGS+=	-I${LOCALBASE}/include
CXXFLAGS+=	-L${LOCALBASE}/lib

WRKSRC=		${WRKDIR}/${PORTNAME}

OPTIONS_DEFINE=	GLUT
OPTIONS_DEFAULT=	GLUT

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

.if ${PORT_OPTIONS:MGLUT}
CONFIGURE_ARGS+=	--with-glut=yes
USE_GL=	glut
.else
CONFIGURE_ARGS+=	--with-glut=no
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
post-install:
	@@${MKDIR} ${EXAMPLESDIR}
	cd ${WRKSRC}/examples && ${FIND} . | ${EGREP} -v '\.cvsignore' | \
		${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:   protomol
# Date created:         5 May 2006
# Whom:                 Sangwoo Shim <sangwoos@@gmail.com>
#
# $FreeBSD: head/biology/protomol/Makefile 302037 2012-08-04 22:52:02Z kwm $
d10 1
a10 1
EXTRACT_SUFX=	# nada
d30 2
a31 1
OPTIONS=	GLUT "Use glut" on
d34 1
d36 1
a36 1
.if defined(WITH_GLUT)
d43 1
a43 1
.if !defined(NOPORTDOCS)
@


1.15
log
@SVN rev 302037 on 2012-08-04 22:52:02Z by kwm

Switch from libglut to freeglut and retire libglut. Libglut hasn't been
developed in years and has been dropped from the MESA 8.0 distribution.
Freeglut is a rewrite of glut and is actively developed and is used by
many linux distributions instead of libglut.

Bump all ports that directly depend on libglut because of the shlib version
change.

There are some extra items in this patch.

*) Because freeglut doesn't have the same dependancies as libglut, some ports
	need extra dependencies added to USE_XORG to make them build.
*) Mark graphics/f90gl broken, f90gl depends on a header that is only shipped
	with libglut.
*) Remove option for libglut/freeglut selection in games/cake, only freeglut
	remains now.
*) While here fix a png related build issue games/vegastrike.

Thanks to miwi for running the exp-run.

Approved by:	portmgr (miwi)

Collaboration with:	zeising@@
Obtained from:	xorg-dev staging area.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- update png to 1.5.10
@
text
@d9 1
a9 1
PORTREVISION=	7
d23 1
@


1.13
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 1
PORTREVISION=	6
d18 1
a18 1
LIB_DEPENDS=	png.6:${PORTSDIR}/graphics/png \
@


1.12
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@a29 2
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" CXXFLAGS="${CXXFLAGS}"

@


1.11
log
@- update to jpeg-8
@
text
@d9 1
a9 1
PORTREVISION=	5
d18 1
a18 1
LIB_DEPENDS=	png.5:${PORTSDIR}/graphics/png \
@


1.10
log
@- Switch SourceForge ports to the new File Release System: categories starting with B,C
@
text
@d9 1
a9 1
PORTREVISION=	4
d19 1
a19 1
		jpeg.10:${PORTSDIR}/graphics/jpeg \
@


1.9
log
@- update to jpeg7
Tested by:	pav on pointyhat
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.8
log
@- Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
@
text
@d9 1
a9 1
PORTREVISION=	3
d20 1
a20 1
		jpeg.9:${PORTSDIR}/graphics/jpeg \
@


1.7
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@d9 1
a9 1
PORTREVISION=	2
@


1.6
log
@- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
@
text
@a23 1
USE_GCC=	3.4+
@


1.5
log
@- Fix build with GCC 4.2

Approved by:	miwi (mentor)
@
text
@d29 2
a30 2
CPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
CXXFLAGS+=	-L${LOCALBASE}/lib -L${X11BASE}/lib
@


1.4
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@a39 4
.if ${OSVERSION} >= 700042
BROKEN=		Does not compile with GCC 4.2
.endif

d42 1
a42 1
LIB_DEPENDS+=	glut.4:${PORTSDIR}/graphics/libglut
@


1.3
log
@Mark as broken with gcc4.2.
@
text
@d9 1
a9 1
PORTREVISION=	1
a23 1
USE_XLIB=	yes
@


1.2
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d41 4
@


1.1
log
@Add protomol 2.0.3, OO, component based, framework for molecular
dynamics (MD) simulations.

PR:		95123
Submitted by:	Sangwoo Shim <sangwoos@@gmail.com>
@
text
@d9 1
@

