blob: 8b6b13158384017dadd118cc42f58e3069c5652d (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
# $NetBSD: Makefile,v 1.6 2001/04/14 21:43:45 jtb Exp $
DISTNAME= tcm-2.01.src
PKGNAME= tcm-2.01
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.utwente.nl/pub/tcm/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://wwwhome.cs.utwente.nl/~tcm/index.html
COMMENT= TCM - Toolkit for Conceptual Modeling
WRKSRC= ${WRKDIR}/tcm-2.01/src
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ${SCRIPTDIR}/configure
USE_X11= yes
USE_X11BASE= yes
USE_MOTIF= yes
MAKE_ENV+= XWIN_HOME="${X11BASE}"
MAKE_ENV+= MOTIF_HOME="${MOTIFBASE}"
TCM_SRC= ${WRKDIR}/tcm-2.01
MAKE_ENV+= TCM_HOME=${TCM_SRC}
ALL_TARGET= depend all
post-extract:
${RM} -f ${TCM_SRC}/lib/COPYING ${TCM_SRC}/lib/CHANGELOG
do-configure:
${CONFIGURE_SCRIPT} ${WRKSRC}
do-install:
cd ${TCM_SRC}/bin && ${INSTALL_PROGRAM} tcm tcmd tcmt text2ps \
${PREFIX}/bin/
for f in tatd tcpd tcrd tdfd tdpd tefd terd tesd tfrt tgd \
tgtt tpsd trpg tsnd tssd tstd tucd; do \
${LN} -fs ${PREFIX}/bin/tcmd ${PREFIX}/bin/$$f; \
done
for f in tfet tgt ttdt ttut; do \
${LN} -fs ${PREFIX}/bin/tcmt ${PREFIX}/bin/$$f; \
done
${INSTALL_SCRIPT} ${TCM_SRC}/bin/psf ${PREFIX}/bin
${INSTALL_DATA} ${TCM_SRC}/lib/tcm.conf ${PREFIX}/etc
${INSTALL_DATA} ${TCM_SRC}/lib/TCM ${PREFIX}/lib/X11/app-defaults/
${INSTALL_DATA} ${TCM_SRC}/man/man1/*.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/tcm
${INSTALL_DATA} ${TCM_SRC}/lib/colorrgb.txt ${PREFIX}/share/tcm
${INSTALL_DATA} ${TCM_SRC}/lib/banner.ps ${PREFIX}/share/tcm
${INSTALL_DATA_DIR} ${PREFIX}/share/tcm/help
cd ${TCM_SRC} && ${INSTALL_DATA} COPYING CHANGELOG lib/help/* \
${PREFIX}/share/tcm/help/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcm
cd ${TCM_SRC} && ${INSTALL_DATA} README COPYING CHANGELOG \
${PREFIX}/share/doc/tcm/
${INSTALL_DATA} ${TCM_SRC}/doc/*.ps.gz ${PREFIX}/share/doc/tcm/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm
${INSTALL_DATA} ${TCM_SRC}/doc/*.html ${PREFIX}/share/doc/html/tcm/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/developersguide
${INSTALL_DATA} ${TCM_SRC}/doc/developersguide/* \
${PREFIX}/share/doc/html/tcm/developersguide/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/sourcecode
${INSTALL_DATA} ${TCM_SRC}/doc/sourcecode/* \
${PREFIX}/share/doc/html/tcm/sourcecode/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/specifications
${INSTALL_DATA} ${TCM_SRC}/doc/specifications/* \
${PREFIX}/share/doc/html/tcm/specifications/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/usersguide
${INSTALL_DATA} ${TCM_SRC}/doc/usersguide/* \
${PREFIX}/share/doc/html/tcm/usersguide/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/wishlist
${INSTALL_DATA} ${TCM_SRC}/doc/wishlist/* \
${PREFIX}/share/doc/html/tcm/wishlist/
.include "../../mk/bsd.pkg.mk"
|