aboutsummaryrefslogtreecommitdiffstats
path: root/biology/molden
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-27 16:58:36 +0800
committermiwi <miwi@FreeBSD.org>2014-02-27 16:58:36 +0800
commita0826899e1f704cfe12e20408446098d09cdfd1e (patch)
tree11a7ddca95a1a0c90c3bc41e04ee522764a84c0e /biology/molden
parentee338cbbbc8c79b7c7ee36457f5fce802566eb6c (diff)
downloadfreebsd-ports-gnome-a0826899e1f704cfe12e20408446098d09cdfd1e.tar.gz
freebsd-ports-gnome-a0826899e1f704cfe12e20408446098d09cdfd1e.tar.zst
freebsd-ports-gnome-a0826899e1f704cfe12e20408446098d09cdfd1e.zip
- Update to 5.0.7
PR: 185942 Submitted by: ports fury
Diffstat (limited to 'biology/molden')
-rw-r--r--biology/molden/Makefile41
-rw-r--r--biology/molden/distinfo4
2 files changed, 21 insertions, 24 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile
index bb2eaea4f1fc..61ba6a50a6ce 100644
--- a/biology/molden/Makefile
+++ b/biology/molden/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= molden
-PORTVERSION= 5.0.6
-PORTREVISION= 1
+PORTVERSION= 5.0.7
PORTEPOCH= 1
CATEGORIES= biology
MASTER_SITES= ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/
@@ -14,25 +13,25 @@ COMMENT= Display molecular orbitals and electron densities in 2D and 3D
RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable.
-OPTIONS_DEFINE= DATA DOCS
-OPTIONS_DEFAULT=DATA
-
WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R}
USES= fortran gmake
-USE_XORG= x11 xproto
+USE_XORG= x11
USE_GL= glu
MAKEFILE= makefile
MAKE_JOBS_UNSAFE=yes
CFLAGS+= -D${OPSYS:U} -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0 \
- -I/usr/local/include -Wno-return-type
+ -I${LOCALBASE}/include -Wno-return-type
PORTDOCS= *
PORTDATA= *
PLIST_FILES= bin/ambfor bin/gmolden bin/molden bin/surf
-.include <bsd.port.options.mk>
+PORTSCOUT= limit:^5\.0\.
+
+OPTIONS_DEFINE= DATA DOCS
+OPTIONS_DEFAULT= DATA
post-patch:
@${REINPLACE_CMD} -e \
@@ -50,19 +49,17 @@ post-configure:
@${ECHO_MSG} "********************"
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/molden ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/gmolden ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/ambfor/ambfor ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/surf/surf ${STAGEDIR}${PREFIX}/bin
-.if ${PORT_OPTIONS:MDATA}
- ${MKDIR} ${STAGEDIR}${DATADIR}/test
- ${INSTALL_DATA} ${WRKSRC}/test/* ${STAGEDIR}${DATADIR}/test
- ${MKDIR} ${STAGEDIR}${DATADIR}/utils
- ${INSTALL_DATA} ${WRKSRC}/utils/* ${STAGEDIR}${DATADIR}/utils
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-.endif
+.for i in molden gmolden
+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
+.endfor
+.for i in ambfor surf
+ (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}/${PREFIX}/bin)
+.endfor
+ @${MKDIR} ${STAGEDIR}${DATADIR}/test
+ (cd ${WRKSRC}/test && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/test)
+ @${MKDIR} ${STAGEDIR}${DATADIR}/utils
+ (cd ${WRKSRC}/utils && ${INSTALL_DATA} * ${STAGEDIR}${DATADIR}/utils)
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
diff --git a/biology/molden/distinfo b/biology/molden/distinfo
index a4adcf24c6c6..32892d7bfcaa 100644
--- a/biology/molden/distinfo
+++ b/biology/molden/distinfo
@@ -1,2 +1,2 @@
-SHA256 (molden5.0.6.tar.gz) = b22339129140095fdb3f2a5b9b11518e1bb81cc0fd02a627aa44575294b064cf
-SIZE (molden5.0.6.tar.gz) = 3084150
+SHA256 (molden5.0.7.tar.gz) = e46bd783acdb27277731afd0693681dab91f0af4f281be2ce2d83777038ba62e
+SIZE (molden5.0.7.tar.gz) = 3076093