aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-25 20:21:43 +0800
committerSatoshi Asami <asami@FreeBSD.org>2000-09-25 20:21:43 +0800
commit5e5841f2cd18d6e51ddddeb117432410a7d22614 (patch)
treeff3848099747774e69f3bda4d04dd29927deb93b /math
parent016268dfb5cf0e82b8cf522bc11c60b30fb57175 (diff)
downloadfreebsd-ports-gnome-5e5841f2cd18d6e51ddddeb117432410a7d22614.tar.gz
freebsd-ports-gnome-5e5841f2cd18d6e51ddddeb117432410a7d22614.tar.zst
freebsd-ports-gnome-5e5841f2cd18d6e51ddddeb117432410a7d22614.zip
Eliminate WRKSRC=${WRKDIR}/${PKGNAME} lines, as these will break when
PORTREVISION or PORTEPOCH are defined. Most of these Makefiles were defining DISTNAME and WRKSRC (and sometimes EXTRACT_SUFX) -- change those to define DISTFILES only. Also, some of the WRKSRC lines were not even necessary, as they were defining it to the default value. Instigated by: Peter Pentchev <roam@orbitel.bg> and kris
Diffstat (limited to 'math')
-rw-r--r--math/femlab/Makefile3
-rw-r--r--math/topaz/Makefile3
2 files changed, 2 insertions, 4 deletions
diff --git a/math/femlab/Makefile b/math/femlab/Makefile
index b1b798219d00..bfa83946d298 100644
--- a/math/femlab/Makefile
+++ b/math/femlab/Makefile
@@ -10,13 +10,12 @@ PORTVERSION= 1.1
CATEGORIES= math cad
MASTER_SITES= ftp://ftp.md.chalmers.se/pub/Femlab/ \
ftp://ftp.ifs.hr/pub/SciUtil/
-DISTNAME= femlab-2d-v${PORTVERSION}
+DISTFILES= femlab-2d-v${PORTVERSION}.tar.gz
MAINTAINER= giffunip@asme.org
BUILD_DEPENDS= ${X11BASE}/lib/libsx.a:${PORTSDIR}/x11/libsx
-WRKSRC= ${WRKDIR}/${PKGNAME}
USE_X_PREFIX= yes
FEMLAB_HOME= ${PREFIX}/lib/X11/femlab
diff --git a/math/topaz/Makefile b/math/topaz/Makefile
index 4fad9c9577f8..70c6462863d4 100644
--- a/math/topaz/Makefile
+++ b/math/topaz/Makefile
@@ -9,7 +9,7 @@ PORTNAME= topaz
PORTVERSION= 3.25
CATEGORIES= math
MASTER_SITES= http://hp.vector.co.jp/authors/VA007663/topaz/bin/
-DISTNAME= topaz-3_25-src
+DISTFILES= topaz-3_25-src.tar.gz
MAINTAINER= issei@jp.FreeBSD.ORG
@@ -19,7 +19,6 @@ LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
CXX?= c++
MAKEFILE= Makefile.freebsd
USE_XLIB= yes
-WRKSRC= ${WRKDIR}/${PKGNAME}
post-install:
${LN} -sf ${PREFIX}/lib/topaz/topaz.sh ${PREFIX}/bin/topaz