Files
ports/games/xmemory/files/patch-Imakefile
Dmitry Marakasov ab26dd7e40 - Simplify MASTER_SITES
- Place data files into ${DATADIR}
- Fix default font name
- Simplify installation and plist
2014-12-03 13:37:16 +00:00

33 lines
993 B
Plaintext

--- Imakefile.orig 1996-07-18 19:02:56.000000000 +0400
+++ Imakefile 2014-12-03 03:06:29.000000000 +0300
@@ -4,16 +4,16 @@
XCOMM Default font pattern to be used when creating letter or smiley tiles
- FONT_DEFAULT = \"-bitstream-charter-bold-r-*\"
+ FONT_DEFAULT = \"-bitstream-bitstream\ charter-bold-r-*\"
XCOMM where to search for data-files, when not found in current dir
- XMEMORYDIR = \"/usr/games/lib/xmemory\"
+ XMEMORYDIR = \"${DATADIR}/xmemory\"
XCOMM set the compiler that you like,
XCOMM gcc should suit, since the libraries are not needed.
- CXX = gcc
+ CXX ?= c++
XCOMM #######################################################################
@@ -29,8 +29,7 @@
$(RM) $@
$(CXX) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
-InstallProgram(xmemory,$(BINDIR))
-InstallManPage(xmemory,$(MANDIR))
+ComplexCplusplusProgramTarget(xmemory)
DependTarget()
CleanTarget()