5aa7246575
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.
53 lines
1.6 KiB
Makefile
53 lines
1.6 KiB
Makefile
# New ports collection makefile for: pymol
|
|
# Date created: July 18, 2002
|
|
# Whom: Nakata Maho <chat95@mbox.kyoto-inet.or.jp>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pymol
|
|
PORTVERSION= ${VERSION}.${SVNREVISION}
|
|
PORTREVISION= 2
|
|
CATEGORIES= biology python
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:S|%SUBDIR%|maho/pymol|}
|
|
|
|
MAINTAINER= maho@FreeBSD.org
|
|
COMMENT= Free and Open-Source molecular modeling system
|
|
|
|
BUILD_DEPENDS= ${PYNUMERIC}
|
|
RUN_DEPENDS= ${PYNUMERIC} \
|
|
${PYTHON_SITELIBDIR}/Pmw:${PORTSDIR}/x11-toolkits/py-Pmw
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
|
|
freetype.9:${PORTSDIR}/print/freetype2
|
|
|
|
VERSION= 1.5.0.1
|
|
SVNREVISION= 3978
|
|
|
|
USE_BZIP2= yes
|
|
WRKSRC= ${WRKDIR}/pymol-${PORTVERSION}
|
|
USE_GL= glut glew
|
|
USE_GMAKE= yes
|
|
USE_PYTHON= yes
|
|
PLIST_SUB= PYMOL_VER=${VERSION} PYTHON_VER=${PYTHON_VER}
|
|
|
|
pre-build:
|
|
@${REINPLACE_CMD} -e "s+%%LOCALBASE%%+${LOCALBASE}+" ${WRKSRC}/setup.py
|
|
|
|
#do build process actually installs some files, so omitted.
|
|
do-build:
|
|
|
|
do-install:
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYSETUP} install)
|
|
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup2.py install)
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/pymol ${PREFIX}/bin/pymol
|
|
|
|
#maintainance
|
|
do-fetch-svn:
|
|
#svn ls https://pymol.svn.sourceforge.net/svnroot/pymol/tags
|
|
#http://pymol.svn.sourceforge.net/viewvc/pymol/trunk/
|
|
${RM} -rf pymol-${VERSION}.${SVNREVISION}
|
|
svn -r ${SVNREVISION} export http://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol pymol-${VERSION}.${SVNREVISION}
|
|
tar cvfj pymol-${VERSION}.${SVNREVISION}.tar.bz2 pymol-${VERSION}.${SVNREVISION}
|
|
scp pymol-${VERSION}.${SVNREVISION}.tar.bz2 freefall.freebsd.org:public_distfiles/pymol/
|
|
|
|
.include <bsd.port.mk>
|