mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
28 lines
984 B
Plaintext
28 lines
984 B
Plaintext
--- Makefile.in.orig Fri Dec 31 07:47:00 1999
|
|
+++ Makefile.in Sun Jan 2 21:44:26 2000
|
|
@@ -6,10 +6,10 @@
|
|
# including flex and yacc translations.
|
|
|
|
# define location where yabasic will search for libraries
|
|
-library_path = /usr/lib/yabasic
|
|
+library_path = $(PREFIX)/lib/yabasic
|
|
|
|
# flags for cc or gcc (-g for debugging)
|
|
-ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\"
|
|
+ccflags = -DUNIX -DLIBRARY_PATH=\"$(library_path)\" $(CFLAGS)
|
|
|
|
yab: main.o graphic.o function.o symbol.o io.o bison.o flex.o
|
|
@CC@ @CCOPTIONS@ $(ccflags) @X_CFLAGS@ \
|
|
@@ -63,8 +63,8 @@
|
|
|
|
# install yabasic on a linux system, need to be root
|
|
install:
|
|
- install -s -m 755 -o 0 -g 0 yabasic /usr/bin/yabasic
|
|
- install -m 644 -d -o 0 -g 0 /usr/doc/yabasic
|
|
- install -m 644 -o 0 -g 0 yabasic.htm /usr/doc/yabasic
|
|
+ install -c -s -m 755 -o 0 -g 0 yabasic $(PREFIX)/bin/yabasic
|
|
+ install -m 644 -d -o 0 -g 0 $(PREFIX)/share/doc/yabasic
|
|
+ install -c -m 644 -o 0 -g 0 yabasic.htm $(PREFIX)/share/doc/yabasic
|
|
|
|
|