1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/games/actx/files/patch-aa
Seiichirou Hiraoka f8d6d43c09 PR: ports/10370
Submitted by:	esu@yk.rim.or.jp
Lovely characters stay on top of active window.
1999-03-07 00:23:17 +00:00

55 lines
1.2 KiB
Plaintext

--- Imakefile.orig Mon Feb 22 12:16:46 1999
+++ Imakefile Mon Feb 22 12:19:16 1999
@@ -18,23 +18,23 @@
XCOMM (どうも通常にインストールしただけでは /usr/include/neXtaw に
XCOMM ヘッダがインストールされるみたい…→neXtaw-0.5.1)
-#define NEXTAW
+XCOMM #define NEXTAW
XCOMM ------------------ C Compiler -----------------------------
-CC = gcc
+XCOMM CC = gcc
XCOMM -------------- ActX 本体 Install先 Directory ---------------
-BINDIR = ${HOME}/bin
+BINDIR = ${PREFIX}/bin
XCOMM BINDIR = /usr/local/bin
XCOMM -------- ActX マスコットデータ Install先 Directory ----------
-#define MASCOTDIR ${HOME}/lib/One
+#define MASCOTDIR ${PREFIX}/share/examples/actx
XCOMM #define MASCOTDIR /usr/local/lib/ActX
@@ -48,9 +48,10 @@
#endif
OBJS = actx.o action.o menu.o
SRCS = $(OBJS:.o=.c)
-EXTRA_LIBRARIES = -lXpm
-ComplexProgramTarget(actx)
+XPMLIB = -lXpm
+AllTarget(actx)
+NormalProgramTarget(actx,$(OBJS),$(LOCAL_LIBRARIES),XawClientLibs,$(XPMLIB))
#ifdef USE_I18N
DEFINES_I18N = -DI18N
@@ -117,7 +118,6 @@
InstallNamedNonExec(mascots/mayu6.xpm,mayu6.xpm,MASCOTDIR/)
InstallNamedNonExec(mascots/mayu7.xpm,mayu7.xpm,MASCOTDIR/)
-
-
-
-
+install:: actx
+ MakeDir($(DESTDIR)$(BINDIR))
+ $(INSTALL) -c $(INSTPGMFLAGS) actx $(DESTDIR)$(BINDIR)/actx