From 6542dd22222027395463c554d8d945cf43cff961 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Sat, 15 Jul 2000 16:36:51 +0000 Subject: Support CFLAGS properly. Conform to one file per patch guideline. Be extra careful with $i; remove unnecessary WRKSRC. PR: 19925 Submitted by: KATO Tsuguru --- games/sxsame/Makefile | 6 +++--- games/sxsame/files/patch-aa | 13 +++++++++++-- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'games/sxsame') diff --git a/games/sxsame/Makefile b/games/sxsame/Makefile index 395ec733a19c..74d5ed9a4aa8 100644 --- a/games/sxsame/Makefile +++ b/games/sxsame/Makefile @@ -25,12 +25,12 @@ BINGRP= games BINMODE= 2755 MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE} -WRKSRC= ${WRKDIR}/sxsame-3.02 - post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/sxsame .for i in INSTALL.jp README.jp - @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/sxsame + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/sxsame .endfor +.endif .include diff --git a/games/sxsame/files/patch-aa b/games/sxsame/files/patch-aa index be66a133feb2..e052bf8c11ce 100644 --- a/games/sxsame/files/patch-aa +++ b/games/sxsame/files/patch-aa @@ -1,11 +1,11 @@ --- Imakefile.orig Sun May 5 04:10:27 1996 -+++ Imakefile Mon Nov 1 02:11:20 1999 ++++ Imakefile Tue Jul 11 21:14:48 2000 @@ -3,7 +3,7 @@ # * Copyleft (c) 1994-1996 Software Research Academy * # ************************************************************** # -SAMEDIR = /usr/local/games/sxsame -+SAMEDIR = $(PREFIX)/lib/X11/sxsame ++SAMEDIR = $(LIBDIR)/sxsame #BINDIR = /usr/local/bin #MANDIR = /usr/local/man/man1 @@ -17,6 +17,15 @@ XPMLIB = -lXpm LOCAL_LIBRARIES = $(XPMLIB) -lX11 +@@ -19,7 +20,7 @@ + DEFINES = -DSAME_DIR=\"$(SAMEDIR)\" + + #CDEBUGFLAGS = -O2 -Wall +-CDEBUGFLAGS = -g -Wall ++#CDEBUGFLAGS = -g -Wall + #CDEBUGFLAGS = -O2 + ComplexProgramTarget(sxsame) + InstallManPage(sxsame,$(MANDIR)) @@ -29,6 +30,10 @@ #defdata.o:: defdata.c defdata.h install.dir:: -- cgit v1.2.3