1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/tet/Makefile

58 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: tet
# Version required: 3.2b
# Date created: 02 Oct 1998
# Whom: jkoshy
#
1999-08-25 07:23:21 +00:00
# $FreeBSD$
#
1999-12-27 09:20:30 +00:00
DISTNAME= tet3.3d-unsup
PKGNAME= tet-3.3d
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rdg.opengroup.org/pub/TET/TET3/ \
1999-12-08 11:18:31 +00:00
http://www.FreeBSD.org/~jkoshy/PORTS/
1999-12-27 09:20:30 +00:00
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= jkoshy@freebsd.org
NO_WRKSUBDIR= yes
NO_PACKAGE= TET_ROOT needs to be set at compile time
HAS_CONFIGURE= yes
CONFIGURE_ARGS= -t ${TET_CONFIG_TARGET}
TET_CONFIG_TARGET?= inet # options are `lite', `xti' and `inet'
do-build:
cd ${WRKDIR}/src && ${MAKE} ${ALL_TARGET}
pre-extract:
.if !defined(TET_ROOT)
@${ECHO_MSG}
@${ECHO_MSG} "The environment variable \"TET_ROOT\" is not set."
@${ECHO_MSG} "You must set it to the directory where you would like "
@${ECHO_MSG} "this port to reside before attempting extraction."
@${ECHO_MSG}
@${FALSE}
.else
@${TRUE}
.endif
# remove the TET_ROOT directory if it exists
pre-clean:
.if defined(TET_ROOT)
${RM} -rf ${TET_ROOT}
.endif
${RM} -rf ${WRKDIR}
# move the work directory to $TET_ROOT after extraction
post-extract:
1999-08-22 19:01:07 +00:00
${CHMOD} +x ${WRKDIR}/configure
${MKDIR} ${TET_ROOT}
cd ${WRKDIR} && tar cf - . | (cd ${TET_ROOT} && tar xf -)
${RM} -rf ${WRKDIR} && ${LN} -s ${TET_ROOT} ${WRKDIR}
do-install:
cd ${WRKDIR}/src && ${MAKE} ${INSTALL_TARGET}
.include <bsd.port.mk>