blob: ad9fdf2fd7219b7ca2eecbd2d811c09792d7adee (
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
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
|
# New ports collection makefile for: amulet
# Version required: 3.0
# Date created: 26 July 1997
# Whom: Filip Bovyn (bovynf@awe.be)
#
# $Id$
DISTNAME= amulet
PKGNAME= amulet-3.0
CATEGORIES= devel x11
MASTER_SITES= http://www.cs.cmu.edu/afs/cs/project/amulet/amulet3/
EXTRACT_SUFX= .tar.Z
MAINTAINER= bovynf@awe.be
USE_X11= yes
WRKSRC= $(WRKDIR)/amulet
MAKE_ENV+= AMULET_DIR=$(WRKSRC) AMULET_VARS_FILE=Makefile.vars.gcc.FreeBSD
pre-build:
${CP} $(FILESDIR)/Makefile.vars.gcc.FreeBSD $(WRKSRC)/bin
do-build:
@(cd $(WRKSRC)/bin; $(MAKE_ENV) $(MAKE) libs)
@(cd $(WRKSRC)/bin; $(MAKE_ENV) $(MAKE) all)
SAMPLES= av\
testdpy\
testgem\
testtrans\
testsubwins\
testloop\
testclip\
testpoints\
testwinsizes\
testinput\
testcopy\
testobject\
testopal\
testJIO\
testpolyweb\
testlines\
testgobs\
testmap\
hsv\
testloadsave\
testinter\
testaniminter\
testwidgets\
testselectionwidget\
testdragdrop\
testmaps\
testgest\
testfade\
testflip\
testanimators\
testrichtext\
testpixmap\
checkers\
circuit\
color\
hello\
goodbye_inter\
goodbye_button\
space\
space2\
timing\
tutorial\
tree\
example1\
example2
do-install:
$(INSTALL_PROGRAM) $(WRKSRC)/lib/libamulet.so.3.0 $(PREFIX)/lib
$(INSTALL_PROGRAM) $(WRKSRC)/lib/libamulet-release.so.3.0 $(PREFIX)/lib
$(INSTALL_DATA) $(WRKSRC)/lib/libamulet-release.a $(PREFIX)/lib
$(LDCONFIG) -m $(PREFIX)/lib
$(INSTALL_PROGRAM) $(WRKSRC)/bin/gilt $(PREFIX)/bin
$(INSTALL_PROGRAM) $(WRKSRC)/bin/agate $(PREFIX)/bin
${MKDIR} $(PREFIX)/include/amulet
$(INSTALL_DATA) $(WRKSRC)/include/*.h $(PREFIX)/include
$(INSTALL_DATA) $(WRKSRC)/include/amulet/* $(PREFIX)/include/amulet
${MKDIR} $(PREFIX)/share/amulet/lib
$(INSTALL_DATA) $(WRKSRC)/lib/select.cl $(PREFIX)/share/amulet/lib/select.cl
${MKDIR} $(PREFIX)/share/amulet/lib/images
$(INSTALL_DATA) $(WRKSRC)/lib/images/* $(PREFIX)/share/amulet/lib/images
${MKDIR} $(PREFIX)/share/amulet/samples
$(INSTALL_DATA) $(FILESDIR)/sample.Makefile $(PREFIX)/share/amulet/samples
(for a in $(SAMPLES); \
do \
$(INSTALL_PROGRAM) $(WRKSRC)/bin/$$a $(PREFIX)/share/amulet/samples; \
done)
.include <bsd.port.mk>
|