mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
46 lines
1.2 KiB
Plaintext
46 lines
1.2 KiB
Plaintext
--- Imakefile.orig Sat May 11 16:06:00 1996
|
|
+++ Imakefile Wed Oct 18 08:09:08 2000
|
|
@@ -1,21 +1,22 @@
|
|
-BINDIR = /usr/local/games
|
|
+XCOMM BINDIR = /usr/local/games
|
|
PAD = # -DUSE_PAD
|
|
+CHOWN = /usr/sbin/chown
|
|
CHMOD = /bin/chmod
|
|
MKDIR = /bin/mkdir
|
|
|
|
-CC = gcc
|
|
+XCOMM CC = gcc
|
|
REGULATE_TIMER = -DREG_TIMER
|
|
-DATADIR = $(BINDIR)/cosmodir
|
|
+DATADIR = $(LIBDIR)/cosmo
|
|
DATAFILE = $(DATADIR)/best.dat
|
|
PROTO_DEFINES = -DRANK_FILE=\"$(DATAFILE)\" $(PAD) $(REGULATE_TIMER) $(SIGNAL)
|
|
-CDEBUGFLAGS = -O2 # -g
|
|
+XCOMM CDEBUGFLAGS = -O2 # -g
|
|
LOCAL_LIBRARIES = $(XLIB)
|
|
TAR = /bin/tar
|
|
|
|
SRCS = main.c animation.c cosmo.c ex.c pixmap.c score.c setup.c tiff.c timer.c title.c pad.c
|
|
OBJS = $(SRCS:.c=.o)
|
|
|
|
-ComplexProgramTarget(cosmo)
|
|
+ComplexProgramTargetNoMan(cosmo)
|
|
|
|
hd: hd.c
|
|
$(CC) -o hd hd.c
|
|
@@ -27,11 +28,12 @@
|
|
|
|
install::
|
|
@if [ -d $(DATADIR) ]; then echo cosmodir exists, not created.;\
|
|
- else $(MKDIR) $(DATADIR); fi
|
|
+ else $(MKDIRHIER) $(DATADIR); fi
|
|
$(CHMOD) 711 $(DATADIR)
|
|
@if [ -f $(DATAFILE) ]; then echo ranking file exists, not created.;\
|
|
else echo > $(DATAFILE); fi
|
|
- $(CHMOD) 666 $(DATAFILE)
|
|
+ $(CHOWN) root:games $(DATAFILE)
|
|
+ $(CHMOD) 664 $(DATAFILE)
|
|
|
|
pack::
|
|
$(TAR) cfz cosmo.tgz *.c *.h Imakefile chara.dat *.doc
|