mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
4aed6f1e65
games/affenspiel - Support CC properly *** games/battalion - Support PREFIX properly *** games/block - Support CC/CFLAGS properly *** games/blue - Support CC/CFLAGS properly - Add WWW: line into pkg/DESCR New file: patches/patch-aa *** games/bs - Add WWW: line into pkg/DESCR *** games/columns - Support CXXFLAGS properly - Support sdl-config *** games/empire - Exclude GPL doc from package - Add WWW: line into pkg/DESCR *** games/freesweep to 0.87 - Update to version 0.87 *** games/galaxis - Support CC properly - Add WWW: line into pkg/DESCR *** games/garith - Support CC/CFLAGS properly - Support GTK_CONFIG *** games/gemdropx to 0.7 - Update to version 0.7 *** games/gtkballs - Exclude GPL doc from package - Support GTK_CONFIG *** games/icbm3d - Update WWW: line of pkg/DESCR *** games/mirrormagic - Support CC/X11BASE properly *** games/phalanx to 22 - Update to version 22 - Add WWW: line into pkg/DESCR *** games/spellcast - Update MASTER_SITES and WWW: line of pkg/DESCR - Support CFLAGS properly - Exclude GPL doc from package *** games/starlanes - Support CC properly - Exclude GPL doc from package *** games/xdigger to 1.0.10 - Update to version 1.0.10 New file: patches/patch-ad patches/patch-ae *** games/xtron - Support PREFIX properly - Exclude GPL doc from package *** games/xtruco - Support CC/CFLAGS/X11BASE properly *** games/xvier - Support X11BASE properly *** PR: 17741 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
30 lines
775 B
Plaintext
30 lines
775 B
Plaintext
--- Makefile.orig Sun Mar 30 09:36:44 1997
|
|
+++ Makefile Thu Mar 30 01:54:39 2000
|
|
@@ -2,21 +2,17 @@
|
|
# Makefile for Starlanes
|
|
#
|
|
|
|
-CC=gcc
|
|
-CCOPTS=-Wall
|
|
+CC?=gcc
|
|
+CCOPTS=${CFLAGS}
|
|
CURSESLIB=ncurses
|
|
-INSTALLDIR=/usr/local
|
|
+INSTALLDIR=${PREFIX}
|
|
|
|
starlanes: starlanes.c
|
|
$(CC) $(CCOPTS) -o starlanes starlanes.c -l$(CURSESLIB)
|
|
|
|
install:
|
|
- cp starlanes $(INSTALLDIR)/games
|
|
- cp starlanes.6 $(INSTALLDIR)/man/man6
|
|
- chown bin:bin $(INSTALLDIR)/games/starlanes
|
|
- chown root:root $(INSTALLDIR)/man/man6/starlanes.6
|
|
- chmod 755 $(INSTALLDIR)/games/starlanes
|
|
- chmod 444 $(INSTALLDIR)/man/man6/starlanes.6
|
|
+ ${BSD_INSTALL_PROGRAM} starlanes $(INSTALLDIR)/bin
|
|
+ ${BSD_INSTALL_MAN} starlanes.6 $(INSTALLDIR)/man/man6
|
|
|
|
# fakeinstall just echos the install commands:
|
|
fakeinstall:
|