blob: 8fd87f0274538dc3918d297be45d5e82c9588d1a (
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
# $NetBSD: Makefile,v 1.3 2001/03/02 19:45:57 jtb Exp $
DISTNAME= tcm-2.01.src
PKGNAME= tcm-2.01
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.utwente.nl/pub/tcm/
MAINTAINER= jtb@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= #defined
CONFIGURE_SCRIPT= ${SCRIPTDIR}/configure
USE_X11= #defined
USE_X11BASE= #defined
USE_MOTIF= #defined
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:
@for f in tcm tcmd tcmt text2ps; do \
i="${INSTALL_PROGRAM} ${TCM_SRC}/bin/$$f \
${PREFIX}/bin/"; \
${ECHO} $$i; $$i; \
done
@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/tcm
@for f in ${TCM_SRC}/man/man1/*.1; do \
i="${INSTALL_MAN} $$f ${PREFIX}/man/man1/"; \
${ECHO} $$i; $$i; \
done
${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
@for f in ${TCM_SRC}/lib/help/* ${TCM_SRC}/CHANGELOG \
${TCM_SRC}/COPYING; do \
i="${INSTALL_DATA} $$f ${PREFIX}/share/tcm/help/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcm
@for f in README COPYING CHANGELOG; do \
i="${INSTALL_DATA} ${TCM_SRC}/$$f \
${PREFIX}/share/doc/tcm/"; \
${ECHO} $$i; $$i; \
done
@for f in ${TCM_SRC}/doc/*.ps.gz; do \
i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/tcm/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm
@for f in ${TCM_SRC}/doc/*.html; do \
i="${INSTALL_DATA} $$f ${PREFIX}/share/doc/html/tcm/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/developersguide
@for f in ${TCM_SRC}/doc/developersguide/*; do \
i="${INSTALL_DATA} $$f \
${PREFIX}/share/doc/html/tcm/developersguide/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/sourcecode
@for f in ${TCM_SRC}/doc/sourcecode/*; do \
i="${INSTALL_DATA} $$f \
${PREFIX}/share/doc/html/tcm/sourcecode/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/specifications
@for f in ${TCM_SRC}/doc/specifications/*; do \
i="${INSTALL_DATA} $$f \
${PREFIX}/share/doc/html/tcm/specifications/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/usersguide
@for f in ${TCM_SRC}/doc/usersguide/*; do \
i="${INSTALL_DATA} $$f \
${PREFIX}/share/doc/html/tcm/usersguide/"; \
${ECHO} $$i; $$i; \
done
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/tcm/wishlist
@for f in ${TCM_SRC}/doc/wishlist/*; do \
i="${INSTALL_DATA} $$f \
${PREFIX}/share/doc/html/tcm/wishlist/"; \
${ECHO} $$i; $$i; \
done
.include "../../mk/bsd.pkg.mk"
|