summaryrefslogtreecommitdiff
path: root/games/billardgl/patches/patch-aa
blob: c6df4c3b0eefbd90e69e4ad9d4aeb775e320448d (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
$NetBSD: patch-aa,v 1.1.1.1 2006/01/31 02:47:25 rillig Exp $

--- src/Makefile.orig	2002-04-29 13:26:46.000000000 +0200
+++ src/Makefile	2006-01-31 03:25:14.000000000 +0100
@@ -11,7 +11,7 @@ CFLAGS	=	-pipe -Wall -W -DNO_DEBUG -g
 CXXFLAGS=	-pipe -Wall -W -DNO_DEBUG -g 
 INCPATH	=	-I/usr/X11R6/include 
 LINK	=	g++
-LFLAGS	=	
+LFLAGS	=	${LDFLAGS}
 LIBS	=	-L/usr/X11R6/lib -lGL -lGLU -lglut -lXmu -lXext -lX11 -lm -lXi
 
 ## -lqgl -lGLU
@@ -151,13 +151,12 @@ clear:
 	-rm -f *~ core
 
 install: 
-	-cp BillardGL /usr/X11R6/bin/BillardGL
-	-cp BillardGL /usr/X11R6/bin/billardGL
-	-mkdir -p /usr/share/BillardGL
-	-cp -R Texturen /usr/share/BillardGL
-	-cp -R lang /usr/share/BillardGL
-	-mkdir -p /usr/share/doc/packages/BillardGL
-	-cp README /usr/share/doc/packages/BillardGL
+	${BSD_INSTALL_PROGRAM} BillardGL ${PREFIX}/bin/BillardGL
+	${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/BillardGL
+	${PAX} -rw Texturen ${PREFIX}/share/BillardGL
+	${PAX} -rw lang ${PREFIX}/share/BillardGL
+	${BSD_INSTALL_DATA_DIR} ${PREFIX}/share/doc/BillardGL
+	${BSD_INSTALL_DATA} README ${PREFIX}/share/doc/BillardGL/README
 
 uninstall:
 	-rm /usr/X11R6/bin/BillardGL