From a49c7094ea329f396fd98c6f17da0fa53753f4e3 Mon Sep 17 00:00:00 2001 From: flathill Date: Sun, 7 Mar 1999 00:23:17 +0000 Subject: PR: ports/10370 Submitted by: esu@yk.rim.or.jp Lovely characters stay on top of active window. --- games/actx/Makefile | 45 +++++++++++++++++++++++++++++++++++++++ games/actx/distinfo | 1 + games/actx/files/patch-aa | 54 +++++++++++++++++++++++++++++++++++++++++++++++ games/actx/files/patch-ab | 14 ++++++++++++ games/actx/files/patch-ad | 14 ++++++++++++ games/actx/pkg-comment | 1 + games/actx/pkg-descr | 4 ++++ games/actx/pkg-message | 8 +++++++ games/actx/pkg-plist | 52 +++++++++++++++++++++++++++++++++++++++++++++ 9 files changed, 193 insertions(+) create mode 100644 games/actx/Makefile create mode 100644 games/actx/distinfo create mode 100644 games/actx/files/patch-aa create mode 100644 games/actx/files/patch-ab create mode 100644 games/actx/files/patch-ad create mode 100644 games/actx/pkg-comment create mode 100644 games/actx/pkg-descr create mode 100644 games/actx/pkg-message create mode 100644 games/actx/pkg-plist diff --git a/games/actx/Makefile b/games/actx/Makefile new file mode 100644 index 000000000000..6d446859820e --- /dev/null +++ b/games/actx/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: actx +# Version required: 0.98pre4 +# Date created: 19 Feb 1999 +# Whom: Shinya Esu +# +# $Id$ +# + +DISTNAME= actx-0.98pre4 +PKGNAME= actx-0.98p4 +CATEGORIES= games +MASTER_SITES= http://www.astr.tohoku.ac.jp/~taji/ActX/ + +MAINTAINER= esu@yk.rim.or.jp + +LIB_DEPENDS+= Xpm.4:${PORTSDIR}/graphics/xpm + +USE_IMAKE= yes +NO_INSTALL_MANPAGES=yes +NO_CDROM= 'contains commercial character data' +ACTXDIR= ${PREFIX}/share/examples/actx + +post-extract: + @ ${CP} ${WRKSRC}/samples/Imakefile ${WRKSRC} + @ ${CP} ${WRKSRC}/samples/sample.actxrc ${WRKSRC}/install.actxrc + +post-patch: +.for i in install.actxrc samples/sample.actxrc samples/sample.actxrc-jp + @ ${MV} ${WRKSRC}/$i ${WRKSRC}/$i.old + @ ${SED} -e "s#%%ACTXDIR%%#${ACTXDIR}#" ${WRKSRC}/$i.old > ${WRKSRC}/$i +.endfor + +post-install: +.for i in sample.Xdefaults sample.actxrc sample.actxrc-jp + @ ${INSTALL_DATA} ${WRKSRC}/samples/$i ${ACTXDIR} +.endfor +.if !defined(NOPORTDOCS) +.for i in doc/ForDevelloper.jis README.jis + @ ${MKDIR} ${PREFIX}/share/doc/ja/actx + @ ${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/share/doc/ja/actx +.endfor +.endif + @ ${CAT} ${PKGDIR}/MESSAGE + +.include diff --git a/games/actx/distinfo b/games/actx/distinfo new file mode 100644 index 000000000000..870ebdaac5ff --- /dev/null +++ b/games/actx/distinfo @@ -0,0 +1 @@ +MD5 (actx-0.98pre4.tar.gz) = 6baafa5802eb46d55b5de633cfcb5e12 diff --git a/games/actx/files/patch-aa b/games/actx/files/patch-aa new file mode 100644 index 000000000000..e84a61a14f98 --- /dev/null +++ b/games/actx/files/patch-aa @@ -0,0 +1,54 @@ +--- 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 diff --git a/games/actx/files/patch-ab b/games/actx/files/patch-ab new file mode 100644 index 000000000000..9d3eb7075f0c --- /dev/null +++ b/games/actx/files/patch-ab @@ -0,0 +1,14 @@ +--- install.actxrc.org Mon Feb 22 02:40:57 1999 ++++ install.actxrc Mon Feb 22 03:02:49 1999 +@@ -6,9 +6,9 @@ + + Actx*titleOfMenu: ONE - for Bright Season - + +-Actx*xpmDir: /usr/local/lib/ActX ++Actx*xpmDir: %%ACTXDIR%% + +-!Actx*sndDir: /usr/local/lib/ActX/wav ++!Actx*sndDir: %%ACTXDIR%%/wav + + !Actx*sndCom: /usr/local/bin/wavplay -q %s + diff --git a/games/actx/files/patch-ad b/games/actx/files/patch-ad new file mode 100644 index 000000000000..2e2a4a9a007f --- /dev/null +++ b/games/actx/files/patch-ad @@ -0,0 +1,14 @@ +--- samples/sample.actxrc.orig Mon Feb 22 11:57:44 1999 ++++ samples/sample.actxrc Mon Feb 22 11:58:14 1999 +@@ -6,9 +6,9 @@ + + Actx*titleOfMenu: ONE - for Bright Season - + +-Actx*xpmDir: /usr/local/lib/ActX ++Actx*xpmDir: %%ACTXDIR%% + +-!Actx*sndDir: /usr/local/lib/ActX/wav ++!Actx*sndDir: %%ACTXDIR%%/wav + + !Actx*sndCom: /usr/local/bin/wavplay -q %s + diff --git a/games/actx/pkg-comment b/games/actx/pkg-comment new file mode 100644 index 000000000000..9d454b6a0897 --- /dev/null +++ b/games/actx/pkg-comment @@ -0,0 +1 @@ +a window sitter for X11 diff --git a/games/actx/pkg-descr b/games/actx/pkg-descr new file mode 100644 index 000000000000..e4ec9e37a752 --- /dev/null +++ b/games/actx/pkg-descr @@ -0,0 +1,4 @@ +actx - a window sitter for X11 + +Shinya Esu +esu@yk.rim.or.jp diff --git a/games/actx/pkg-message b/games/actx/pkg-message new file mode 100644 index 000000000000..ab0ca6febfc2 --- /dev/null +++ b/games/actx/pkg-message @@ -0,0 +1,8 @@ + +To run this program, you must have your own configuration file, do as simply + + % cp /usr/X11R6/share/examples/actx/sample.actxrc ~/.actxrc + +if you want japanese menu, use sample.actxrc-jp instead. +then edit your ~/.Xdefaults to configure fonts. +/usr/X11R6/share/examples/actx/sample.Xdefaults is for its reference. diff --git a/games/actx/pkg-plist b/games/actx/pkg-plist new file mode 100644 index 000000000000..4f16f78a1693 --- /dev/null +++ b/games/actx/pkg-plist @@ -0,0 +1,52 @@ +bin/actx +share/examples/actx/akane0.xpm +share/examples/actx/akane1.xpm +share/examples/actx/akane2.xpm +share/examples/actx/akane3.xpm +share/examples/actx/akane4.xpm +share/examples/actx/akane5.xpm +share/examples/actx/mayu0.xpm +share/examples/actx/mayu1.xpm +share/examples/actx/mayu2.xpm +share/examples/actx/mayu3.xpm +share/examples/actx/mayu4.xpm +share/examples/actx/mayu5.xpm +share/examples/actx/mayu6.xpm +share/examples/actx/mayu7.xpm +share/examples/actx/mio0.xpm +share/examples/actx/mio1.xpm +share/examples/actx/mio2.xpm +share/examples/actx/mio3.xpm +share/examples/actx/mio4.xpm +share/examples/actx/misaki0.xpm +share/examples/actx/misaki1.xpm +share/examples/actx/misaki2.xpm +share/examples/actx/misaki3.xpm +share/examples/actx/misaki4.xpm +share/examples/actx/misaki5.xpm +share/examples/actx/misaki6.xpm +share/examples/actx/mizuka0.xpm +share/examples/actx/mizuka1.xpm +share/examples/actx/mizuka2.xpm +share/examples/actx/mizuka3.xpm +share/examples/actx/mizuka4.xpm +share/examples/actx/mizuka5.xpm +share/examples/actx/mizuka6.xpm +share/examples/actx/mizuka7.xpm +share/examples/actx/rumi0.xpm +share/examples/actx/rumi1.xpm +share/examples/actx/rumi2.xpm +share/examples/actx/rumi3.xpm +share/examples/actx/rumi4.xpm +share/examples/actx/rumi5.xpm +share/examples/actx/rumi6.xpm +share/examples/actx/rumi7.xpm +share/examples/actx/rumi8.xpm +share/examples/actx/rumi9.xpm +share/examples/actx/sample.actxrc +share/examples/actx/sample.actxrc-jp +share/examples/actx/sample.Xdefaults +@dirrm share/examples/actx +share/doc/ja/actx/README.jis +share/doc/ja/actx/ForDevelloper.jis +@dirrm share/doc/ja/actx -- cgit