aboutsummaryrefslogtreecommitdiff
path: root/archivers/makeself
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-09-25 12:21:43 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-09-25 12:21:43 +0000
commit5e5841f2cd18d6e51ddddeb117432410a7d22614 (patch)
treeff3848099747774e69f3bda4d04dd29927deb93b /archivers/makeself
parent016268dfb5cf0e82b8cf522bc11c60b30fb57175 (diff)
downloadports-5e5841f2cd18d6e51ddddeb117432410a7d22614.tar.gz
ports-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
Notes
Notes: svn path=/head/; revision=33101
Diffstat (limited to 'archivers/makeself')
-rw-r--r--archivers/makeself/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/archivers/makeself/Makefile b/archivers/makeself/Makefile
index 56f96fa5768a..19c63275f30c 100644
--- a/archivers/makeself/Makefile
+++ b/archivers/makeself/Makefile
@@ -9,8 +9,7 @@ PORTNAME= makeself
PORTVERSION= 1.5.3
CATEGORIES= archivers
MASTER_SITES= http://www.lokigames.com/~megastep/makeself/
-DISTNAME= makeself
-EXTRACT_SUFX= .gz.sh
+DISTFILES= makeself.gz.sh
MAINTAINER= ports@FreeBSD.org
@@ -18,12 +17,11 @@ EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS= ${WRKDIR}
NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${PKGNAME}
# The DISPLAY thing is to prevent the script from trying to launch a xterm
# just to extract the source.
pre-patch:
- (cd ${WRKDIR} && ${SETENV} DISPLAY="" ${SH} ${DISTNAME}${EXTRACT_SUFX})
+ (cd ${WRKDIR} && ${SETENV} DISPLAY="" ${SH} ${DISTFILES})
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/makeself.sh ${PREFIX}/bin/makeself