From fef0b77e118c4e03b2418bb7481200cb569bf39c Mon Sep 17 00:00:00 2001 From: asami Date: Mon, 25 Sep 2000 12:21:43 +0000 Subject: 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 and kris --- math/femlab/Makefile | 3 +-- math/topaz/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'math') 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 -- cgit