blob: a870ccabd7d2c3e58387e7b13da717d94d7739df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: tet
# Version required: 3.2b
# Date created: 02 Oct 1998
# Whom: jkoshy
#
# $Id: Makefile,v 1.3 1998/10/26 03:10:58 jkoshy Exp $
#
DISTNAME= tet3.2c-unsup
PKGNAME= tet-3.2c
CATEGORIES= misc
MASTER_SITES= ftp://ftp.rdg.opengroup.org/pub/TET/TET3/
EXTRACT_SUFX= .src.tgz
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
@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."
@echo
@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:
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>
|