diff options
author | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-10-26 03:10:58 +0000 |
---|---|---|
committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-10-26 03:10:58 +0000 |
commit | 7b92f12fb898c148984909112b344ef55a4c7224 (patch) | |
tree | 85593ef3d28e5288c496781480423bb25778cd9a /misc/tet | |
parent | 7b1535eda66748babd7202525a737314d268217c (diff) | |
download | ports-7b92f12fb898c148984909112b344ef55a4c7224.tar.gz ports-7b92f12fb898c148984909112b344ef55a4c7224.zip |
Notes
Diffstat (limited to 'misc/tet')
-rw-r--r-- | misc/tet/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/misc/tet/Makefile b/misc/tet/Makefile index 099e08583cc5..8afe119264ed 100644 --- a/misc/tet/Makefile +++ b/misc/tet/Makefile @@ -3,13 +3,13 @@ # Date created: 02 Oct 1998 # Whom: jkoshy # -# $Id: Makefile,v 1.1.1.1 1998/10/21 08:31:08 jkoshy Exp $ +# $Id: Makefile,v 1.2 1998/10/25 00:58:16 jkoshy Exp $ # DISTNAME= tet3.2c-unsup PKGNAME= tet-3.2c CATEGORIES= misc -MASTER_SITES= ftp://ftp.rdg.opengroup.org/pub/TET/TET3 +MASTER_SITES= ftp://ftp.rdg.opengroup.org/pub/TET/TET3/ EXTRACT_SUFX= .src.tgz MAINTAINER= jkoshy@freebsd.org @@ -24,18 +24,26 @@ TET_CONFIG_TARGET?= inet # options are `lite', `xti' and `inet' do-build: cd ${WRKDIR}/src && ${MAKE} ${ALL_TARGET} -pre-extract pre-clean: +pre-extract: .if !defined(TET_ROOT) @echo @echo "The environment variable \"TET_ROOT\" is not set." @echo "You must set it to the directory where you would like " - @echo "this port to reside before attempting extraction or cleaning." + @echo "this port to reside before attempting extraction." @echo @false .else @true .endif +# remove the TET_ROOT directory if it exists +pre-clean: +.if defined(TET_ROOT) + if [ -d ${TET_ROOT} ]; then ${RM} -rf ${TET_ROOT}; fi +.else + @true +.endif + # move the work directory to $TET_ROOT after extraction post-extract: chmod +x ${WRKDIR}/configure |