pkgsrc/games/billardgl/patches/patch-aa
2008-06-20 01:09:05 +00:00

33 lines
1.2 KiB
Text

$NetBSD: patch-aa,v 1.5 2008/06/20 01:09:19 joerg Exp $
--- src/Makefile.orig 2002-04-29 11:26:46.000000000 +0000
+++ src/Makefile
@@ -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 ${DESTDIR}${PREFIX}/bin/BillardGL
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/BillardGL
+ ${PAX} -rw Texturen ${DESTDIR}${PREFIX}/share/BillardGL
+ ${PAX} -rw lang ${DESTDIR}${PREFIX}/share/BillardGL
+ ${BSD_INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/BillardGL
+ ${BSD_INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/BillardGL/README
uninstall:
-rm /usr/X11R6/bin/BillardGL