blob: d46787991542ae1b91441e8d8265f6a76a78a37a (
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: cdk
# Version required: 4.9.1
# Date created: 6 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
DISTNAME= cdk-4.9.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= libs/ui
MAINTAINER= andy@icc.surw.chel.su
ALL_TARGET= SRCDIR=${WRKSRC} libcdk.so.1
MAN3= alphalist.3 binding.3 buttonbox.3 calendar.3 cdk.3 dialog.3 \
display.3 entry.3 fselect.3 graph.3 histogram.3 itemlist.3 label.3 \
marquee.3 matrix.3 mentry.3 menu.3 misc.3 radio.3 scale.3 screen.3 \
scroll.3 selection.3 slider.3 swindow.3 template.3 viewer.3
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/libcdk.so.1 ${PREFIX}/lib
@ ${LN} -fs ${PREFIX}/lib/libcdk.so.1 ${PREFIX}/lib/libcdk.so
@ ${INSTALL_DATA} ${WRKSRC}/cdk.h ${PREFIX}/include
@ ${MKDIR} ${PREFIX}/include/cdk
@ ${INSTALL_DATA} ${WRKSRC}/cdk/* ${PREFIX}/include/cdk
.for file in ${MAN3}
@ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man3
.endfor
@ ${MKDIR} ${PREFIX}/share/examples/cdk
@ ${INSTALL_DATA} ${WRKSRC}/exam/*.c ${PREFIX}/share/examples/cdk
@ ${INSTALL_DATA} ${WRKSRC}/exam/examples.make ${PREFIX}/share/examples/cdk/Makefile
@ ${MKDIR} ${PREFIX}/share/examples/cdk/demo
@ ${INSTALL_DATA} ${WRKSRC}/demo/rolodex.h ${PREFIX}/share/examples/cdk/demo
@ ${INSTALL_DATA} ${WRKSRC}/demo/*.c ${PREFIX}/share/examples/cdk/demo
@ ${INSTALL_DATA} ${WRKSRC}/demo/demos.make ${PREFIX}/share/examples/cdk/demo/Makefile
@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli
@ ${INSTALL_DATA} ${WRKSRC}/cli/*.c ${PREFIX}/share/examples/cdk/cli
@ ${INSTALL_DATA} ${WRKSRC}/cli/cli.make ${PREFIX}/share/examples/cdk/cli/Makefile
@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/samples
@ ${INSTALL_DATA} ${WRKSRC}/cli/samples/* ${PREFIX}/share/examples/cdk/cli/samples
@ ${MKDIR} ${PREFIX}/share/examples/cdk/cli/utils
@ ${INSTALL_DATA} ${WRKSRC}/cli/utils/* ${PREFIX}/share/examples/cdk/cli/utils
@ ${LDCONFIG} -m ${PREFIX}/lib
post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/cdk
.for file in BUGS COPYING EXPANDING NOTES README TODO
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cdk
.endfor
.endif
.include <bsd.port.mk>
|