diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /biology/molden | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | FreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip FreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz |
- 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)
Diffstat (limited to 'biology/molden')
-rw-r--r-- | biology/molden/Makefile | 7 | ||||
-rw-r--r-- | biology/molden/distinfo | 6 | ||||
-rw-r--r-- | biology/molden/files/patch-aa | 8 |
3 files changed, 10 insertions, 11 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index d3ae859..137ecf3 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -7,7 +7,7 @@ PORTNAME= molden PORTVERSION= 4.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= biology MASTER_SITES= ftp://ftp.cmbi.kun.nl/pub/molgraph/molden/ DISTNAME= ${PORTNAME}${PORTVERSION} @@ -18,9 +18,8 @@ EXTRACT_ONLY= ${PORTNAME}${PORTVERSION}.tar.Z MAINTAINER= ports@FreeBSD.org COMMENT= Display molecular orbitals and electron densities in 2D and 3D -LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut - -USE_XLIB= yes +USE_XORG= x11 xmu +USE_GL= glut RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable. MAKEFILE= ${WRKSRC}/makefile diff --git a/biology/molden/distinfo b/biology/molden/distinfo index 7268a4f..3a06d43 100644 --- a/biology/molden/distinfo +++ b/biology/molden/distinfo @@ -1,3 +1,3 @@ -MD5 (molden-4.5_1/molden4.5.tar.Z) = 2706a205de011f2dca042f8c7fe95834 -SHA256 (molden-4.5_1/molden4.5.tar.Z) = 84b6905ec786bde9af8bfa6439b0c066b65a98028ffaf1ebc543e58b31fe2ca7 -SIZE (molden-4.5_1/molden4.5.tar.Z) = 3605279 +MD5 (molden-4.5_2/molden4.5.tar.Z) = 2706a205de011f2dca042f8c7fe95834 +SHA256 (molden-4.5_2/molden4.5.tar.Z) = 84b6905ec786bde9af8bfa6439b0c066b65a98028ffaf1ebc543e58b31fe2ca7 +SIZE (molden-4.5_2/molden4.5.tar.Z) = 3605279 diff --git a/biology/molden/files/patch-aa b/biology/molden/files/patch-aa index d8a7295..82a56ab 100644 --- a/biology/molden/files/patch-aa +++ b/biology/molden/files/patch-aa @@ -8,12 +8,12 @@ +#CC = cc LIBS = -lX11 -lm -LIBSG = -L/usr/X11R6/lib -lGLU -lGL -lXmu -lX11 -lm -+LIBSG = -L${X11BASE}/lib -lGLU -lGL -lXmu -lX11 -lm ++LIBSG = -L${LOCALBASE}/lib -lGLU -lGL -lXmu -lX11 -lm + +### +# FreeBSD +#CC = gcc -+CFLAGS += -c -DDOBACK -DHASTIMER -I${X11BASE}/include ++CFLAGS += -c -DDOBACK -DHASTIMER -I${LOCALBASE}/include +#FC = f77 +.if ${MACHINE_ARCH} == i386 +FFLAGS += -malign-double @@ -24,7 +24,7 @@ +.else +FFLAGS += #-Wno-globals -fno-globals +.endif -+LIBS = -L${X11BASE}/lib -lX11 -lm ++LIBS = -L${LOCALBASE}/lib -lX11 -lm +LDR = ${FC} +### @@ -52,7 +52,7 @@ # (make gmolden) # -LIBSOGL = -lglut -lGLU -lGL -lXmu -lX11 -lm -+LIBSOGL = -L${X11BASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm ++LIBSOGL = -L${LOCALBASE}/lib -lglut -lGLU -lGL -lXmu -lX11 -lm # # on linux : # |