aboutsummaryrefslogtreecommitdiff
path: root/science/gabedit/Makefile
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-09-21 00:32:05 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-09-21 00:32:05 +0000
commitc4c117dfab4c64079a9fd1963531e139f286149c (patch)
tree5d4566622fcc789196bb3d3965bc18f283945b73 /science/gabedit/Makefile
parent67921cf4254f627872038d47ed9b19c10fe8524a (diff)
downloadports-c4c117dfab4c64079a9fd1963531e139f286149c.tar.gz
ports-c4c117dfab4c64079a9fd1963531e139f286149c.zip
MFH: r549400
science/gabedit: Update 2.5.1-061218 -> 2.5.1-300720; Fix build on 13 Reported by: fallout (breakage on 13) Approved by: ports-secteam (fluffy)
Notes
Notes: svn path=/branches/2020Q3/; revision=549406
Diffstat (limited to 'science/gabedit/Makefile')
-rw-r--r--science/gabedit/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/science/gabedit/Makefile b/science/gabedit/Makefile
index ac2ccb3a155f..7d4b86d1be9d 100644
--- a/science/gabedit/Makefile
+++ b/science/gabedit/Makefile
@@ -1,13 +1,10 @@
# $FreeBSD$
PORTNAME= gabedit
-DISTVERSION= 2.5.1
-PORTREVISION= 4
+DISTVERSION= 2.5.1-300720 # the last number is "snapshot"
CATEGORIES= science
-#MASTER_SITES= http://prdownloads.sourceforge.net/${PORTNAME}/ # old SF-based source
-#DISTNAME= GabeditSrc${DISTVERSION:S/.//g}
-MASTER_SITES= https://sites.google.com/site/allouchear/Home/gabedit/download/ # development version now on sites.google.com, browse to the same URL for details
-DISTNAME= GabeditSrc${DISTVERSION:S/.//g}_061218
+MASTER_SITES= https://sites.google.com/site/allouchear/Home/gabedit/download/
+DISTNAME= GabeditSrc${DISTVERSION:C/([0-9])\.([0-9])\.([0-9])-([0-9])/\1\2\3_\4/}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Graphical user interface for several chemistry software packages
@@ -28,6 +25,8 @@ USE_GL= gl glu
USE_XORG= ice sm x11 xmu xt
INSTALLS_ICONS= yes
+CFLAGS+= -fcommon # change the default because GlobalOrb.h has many common definitions
+
BINARY_ALIAS= make=gmake
PLIST_FILES= bin/${PORTNAME} \