diff options
author | asami <asami@FreeBSD.org> | 2000-09-25 20:21:43 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 2000-09-25 20:21:43 +0800 |
commit | fef0b77e118c4e03b2418bb7481200cb569bf39c (patch) | |
tree | d6f8a4ec3efb295d53b58a994d574ba0e350e745 /archivers | |
parent | f0e2ac052b1ec9f9cbe48e32d98f69268ed91474 (diff) | |
download | freebsd-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 'archivers')
-rw-r--r-- | archivers/makeself/Makefile | 6 |
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 |