aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-09-25 20:21:43 +0800
committerasami <asami@FreeBSD.org>2000-09-25 20:21:43 +0800
commitfef0b77e118c4e03b2418bb7481200cb569bf39c (patch)
treed6f8a4ec3efb295d53b58a994d574ba0e350e745 /math
parentf0e2ac052b1ec9f9cbe48e32d98f69268ed91474 (diff)
downloadfreebsd-ports-gnome-fef0b77e118c4e03b2418bb7481200cb569bf39c.tar.gz
freebsd-ports-gnome-fef0b77e118c4e03b2418bb7481200cb569bf39c.tar.zst
freebsd-ports-gnome-fef0b77e118c4e03b2418bb7481200cb569bf39c.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