blob: 00675f9b5bf8d2f2bb522267a6311492f9289775 (
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
|
# ex:ts=8
# New ports collection makefile for: cdk
# Date created: 6 May 1999
# Whom: Andrey Zakhvatov
#
# $FreeBSD$
#
PORTNAME= cdk
PORTVERSION= 4.9.9
CATEGORIES= devel
MASTER_SITES= http://www.vexus.ca/release/
DISTNAME= latestCDK
EXTRACT_SUFX= .tgz
MAINTAINER= obrien@FreeBSD.org
WRKSRC= ${WRKDIR}/${PKGNAME}
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
ALL_TARGET= default
MAN3= cdk_alphalist.3 cdk_binding.3 cdk_buttonbox.3 cdk_calendar.3 cdk_cdk.3 \
cdk_dialog.3 cdk_display.3 cdk_entry.3 cdk_fselect.3 cdk_graph.3 \
cdk_histogram.3 cdk_itemlist.3 cdk_label.3 cdk_marquee.3 cdk_matrix.3 \
cdk_mentry.3 cdk_menu.3 cdk_misc.3 cdk_radio.3 cdk_scale.3 \
cdk_screen.3 cdk_scroll.3 cdk_selection.3 cdk_slider.3 cdk_swindow.3 \
cdk_template.3 cdk_viewer.3
do-install:
@ ${INSTALL_DATA} ${WRKSRC}/libcdk.a ${PREFIX}/lib
@ ${INSTALL_DATA} ${WRKSRC}/libcdk.so.1 ${PREFIX}/lib
@ ${LN} -fs ${PREFIX}/lib/libcdk.so.1 ${PREFIX}/lib/libcdk.so
@ ${MKDIR} ${PREFIX}/include/cdk
@ ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/cdk
.for file in ${MAN3}
@ ${INSTALL_MAN} ${WRKSRC}/man/${file} ${PREFIX}/man/man3
.endfor
@ ${MKDIR} ${PREFIX}/share/examples/cdk
@ ${INSTALL_DATA} ${WRKSRC}/examples/*.c ${PREFIX}/share/examples/cdk
@ ${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${PREFIX}/share/examples/cdk
@ ${MKDIR} ${PREFIX}/share/examples/cdk/demos
@ ${INSTALL_DATA} ${WRKSRC}/demos/rolodex.h ${PREFIX}/share/examples/cdk/demos
@ ${INSTALL_DATA} ${WRKSRC}/demos/*.c ${PREFIX}/share/examples/cdk/demos
@ ${INSTALL_DATA} ${WRKSRC}/demos/Makefile ${PREFIX}/share/examples/cdk/demos
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/cdk
.for file in BUGS EXPANDING INSTALL NOTES README TODO
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cdk
.endfor
.endif
.include <bsd.port.mk>
|