diff options
-rw-r--r-- | games/sxsame/Makefile | 6 | ||||
-rw-r--r-- | games/sxsame/files/patch-aa | 13 |
2 files changed, 14 insertions, 5 deletions
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 <bsd.port.mk> 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:: |