diff options
-rw-r--r-- | games/fkiss/DESCR | 19 | ||||
-rw-r--r-- | games/fkiss/Makefile | 38 | ||||
-rw-r--r-- | games/fkiss/PLIST | 12 | ||||
-rw-r--r-- | games/fkiss/distinfo | 11 | ||||
-rw-r--r-- | games/fkiss/patches/patch-aa | 22 | ||||
-rw-r--r-- | games/fkiss/patches/patch-ab | 14 | ||||
-rw-r--r-- | games/fkiss/patches/patch-ac | 26 | ||||
-rw-r--r-- | games/fkiss/patches/patch-ad | 54 | ||||
-rw-r--r-- | games/fkiss/patches/patch-ae | 16 | ||||
-rw-r--r-- | games/fkiss/patches/patch-af | 13 | ||||
-rw-r--r-- | games/fkiss/patches/patch-ag | 15 |
11 files changed, 240 insertions, 0 deletions
diff --git a/games/fkiss/DESCR b/games/fkiss/DESCR new file mode 100644 index 00000000000..2959409310c --- /dev/null +++ b/games/fkiss/DESCR @@ -0,0 +1,19 @@ +from http://embyquinn.tripod.com/history.html + +KiSS is an acronym for Kisekae Set System. "Kisekae" is a Japanese word +used in reference to changing clothes. "Kisekae ningyo" is the Japanese +term for what we call in America a "fashion doll" (such as Barbie). + +In 1991, a Japanese computer programmer known as MIO.H released a +viewing platform and related image archives, or "kisekae sets", +specifically designed to bring the "fashion doll" concept into the +digital world. The result is something of a cross between a paper doll +and a computer game. With the appropriate viewer for their operating +system, a computer user could download various doll "sets" and play with +them on their desktop. The Kisekae Set System, or KiSS, was originally +inspired by the dress-up games young girls play with fashion dolls. The +KiSS computer game found a much broader audience, and today there are +KiSS sets for every age, taste and orientation. Some KiSS sets weren't +even dolls--there were puzzles, board games, maps, even virtual models +like the Space Cruiser Yamato. These came to be called "Aberrant KiSS" +to distinguish them from the regular doll sets. diff --git a/games/fkiss/Makefile b/games/fkiss/Makefile new file mode 100644 index 00000000000..6940688b1a1 --- /dev/null +++ b/games/fkiss/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ +# + +DISTNAME= fkiss-0.32 +CATEGORIES= games +MASTER_SITES= http://www.oersted.co.jp/~yav/soft/fkiss/ + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://www.oersted.co.jp/~yav/soft/indexe.html#fkiss +COMMENT= kisekae viewer + +BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf +BUILD_DEPENDS+= automake>=1.4:../../devel/automake +DEPENDS+= lha-*:../../archivers/lha + +USE_GMAKE= yes +GNU_CONFIGURE= yes + +pre-configure: + cd ${WRKSRC} && \ + automake && \ + autoreconf --force + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fkiss ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/fkiss.man ${PREFIX}/man/man6/fkiss.6 + ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fkiss + ${INSTALL_DATA} ${WRKSRC}/fkissrc.smp \ + ${PREFIX}/share/examples/fkiss/fkissrc + ${INSTALL_DATA} ${WRKSRC}/frkismi4.lzh ${PREFIX}/share/examples/fkiss + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fkiss + for i in ${WRKSRC}/*.doc; do \ + ${SED} -f ${WRKSRC}/english.sed <$$i \ + >${PREFIX}/share/doc/fkiss/`${BASENAME} $$i`; \ + done + +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/games/fkiss/PLIST b/games/fkiss/PLIST new file mode 100644 index 00000000000..c1cb8a3d159 --- /dev/null +++ b/games/fkiss/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ +bin/fkiss +man/man6/fkiss.6 +share/doc/fkiss/fkissex.doc +share/doc/fkiss/fkissex1.doc +share/doc/fkiss/fkissex2.doc +share/doc/fkiss/fkissex3.doc +share/doc/fkiss/kissgs.doc +share/examples/fkiss/fkissrc +share/examples/fkiss/frkismi4.lzh +@dirrm share/doc/fkiss +@dirrm share/examples/fkiss diff --git a/games/fkiss/distinfo b/games/fkiss/distinfo new file mode 100644 index 00000000000..8e0a01bf53c --- /dev/null +++ b/games/fkiss/distinfo @@ -0,0 +1,11 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ + +SHA1 (fkiss-0.32.tar.gz) = 401cfddfbe117de15c1ff36de404a2c360f17d97 +Size (fkiss-0.32.tar.gz) = 160128 bytes +SHA1 (patch-aa) = 26979b546521153704e6b62332998f57242858d3 +SHA1 (patch-ab) = 28a7a8e2c600caea086a8e6163c52e4e4df700c5 +SHA1 (patch-ac) = 40e190d4d40dd3bcbc7f803e1f0e0c8155e69bf1 +SHA1 (patch-ad) = d22771c05d3eea81c95d003e89e4b9dffae70fef +SHA1 (patch-ae) = 517086e4a5273725b6e4c0928b8bb01804e33b55 +SHA1 (patch-af) = c5104a21e9935a4d44741341f792dabb59f09382 +SHA1 (patch-ag) = 2732e7a219a8002686e10abe9c0688da24d4d4f5 diff --git a/games/fkiss/patches/patch-aa b/games/fkiss/patches/patch-aa new file mode 100644 index 00000000000..954344c2ffe --- /dev/null +++ b/games/fkiss/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/07/14 09:40:31 rh Exp $ + +--- configure.in.orig Mon Oct 16 22:10:10 2000 ++++ configure.in +@@ -8,8 +8,6 @@ + AC_PROG_CC + + dnl Checks for libraries. +-dnl Replace `main' with a function in -lesd: +-AC_CHECK_LIB(esd, esd_open_sound) + + dnl Checks for header files. + AC_HEADER_DIRENT +@@ -18,7 +16,7 @@ + + dnl AC_CHECK_HEADERS(fcntl.h strings.h sys/ioctl.h unistd.h) + AC_CHECK_HEADERS(fcntl.h strings.h sys/ioctl.h unistd.h\ +- sys/stat.h stat.h signal.h esd.h) ++ sys/stat.h stat.h signal.h) + + dnl Checks for X. + AC_PATH_X diff --git a/games/fkiss/patches/patch-ab b/games/fkiss/patches/patch-ab new file mode 100644 index 00000000000..dcacd8028a9 --- /dev/null +++ b/games/fkiss/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ + +--- Makefile.am.orig Mon Oct 16 22:22:57 2000 ++++ Makefile.am +@@ -6,8 +6,7 @@ + extern.h fkiss.h headers.h kiss.h timer.h ulaw.h version.h work.h\ + grip0.xbm grip1.xbm hand0.xbm hand1.xbm icon.xbm\ + coptions +-LDFLAGS = @X_LIBS@ +-LDADD = -lX11 ++LDADD = -lX11 -lossaudio @X_LIBS@ + INCLUDES = -I@x_includes@ + + EXTRA_DIST = fkiss.man fkissrc.smp\ diff --git a/games/fkiss/patches/patch-ac b/games/fkiss/patches/patch-ac new file mode 100644 index 00000000000..f5710298f65 --- /dev/null +++ b/games/fkiss/patches/patch-ac @@ -0,0 +1,26 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ + +--- fkiss.c.orig Mon Oct 16 22:10:18 2000 ++++ fkiss.c +@@ -71,11 +71,11 @@ + * Document file browse command + * Uncomment only one line in following #define DOC_COMMAND lines. + */ +-#define DOC_COMMAND "xemacs" ++/* #define DOC_COMMAND "xemacs" */ + /* #define DOC_COMMAND "xemacs --eval '(view-file \"%P\")'" */ + /* #define DOC_COMMAND "emacs" */ + /* #define DOC_COMMAND "kedit" */ +-/* #define DOC_COMMAND "xterm -e less" */ ++#define DOC_COMMAND "xterm -e less" + /* #define DOC_COMMAND "kterm -e less" */ + /* #define DOC_COMMAND "(cd %A; kterm -km sjis -e jless %F) &" */ + +@@ -1846,6 +1846,7 @@ + OPTTBL("-nosuffix", OPT_FUNC, opt_del_doc_suffix, 1), + OPTTBL("-autoadjust", OPT_GET_INT, &auto_adjust, 0), + OPTTBL("-alpha", OPT_GET_INT, &alpha_level, 0), ++ OPTTBL("-midiplayer", OPT_GET_STR, &midi_player, 0), + OPTTBL(NULL, 0, NULL, 0) + }; + diff --git a/games/fkiss/patches/patch-ad b/games/fkiss/patches/patch-ad new file mode 100644 index 00000000000..8b53174dc22 --- /dev/null +++ b/games/fkiss/patches/patch-ad @@ -0,0 +1,54 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/07/14 09:40:30 rh Exp $ + +--- sound.c.orig Mon Oct 16 22:10:55 2000 ++++ sound.c +@@ -43,6 +43,13 @@ + # include <machine/soundcard.h> + #endif + ++#ifdef __NetBSD__ ++# define USE_DSP ++# define DEV_SOUND "/dev/sound" ++# include <sys/ioctl.h> ++# include <soundcard.h> ++#endif ++ + #ifndef DEV_SOUND + # define DEV_SOUND "/dev/audio" + #endif +@@ -61,7 +68,7 @@ + + #include "ulaw.h" + +- ++char *midi_player = "/usr/bin/midiplay"; + char *sound_device = DEV_SOUND; + int sound_debug = 1; /* debug information print level + * 0: print nothing, silent +@@ -218,7 +225,7 @@ + { + if (sound_debug >= 2) + fputs("sync", stderr); +- ioctl(fd, SNDCTL_DSP_SYNC); ++ ioctl(fd, SNDCTL_DSP_SYNC, 0); + if (sound_debug >= 2) + fputs(" ", stderr); + } +@@ -639,6 +646,17 @@ + + if (!sound_enable) + return 0; ++ ++ bufp = name; ++ while (strstr(bufp + 1, ".mid") != NULL) bufp = strstr(bufp + 1, ".mid"); ++ while (strstr(bufp + 1, ".MID") != NULL) bufp = strstr(bufp + 1, ".MID"); ++ if ((!strncmp(bufp, ".mid", 4) || !strncmp(bufp, ".MID", 4)) && ++ strlen(bufp) < 6) ++ { ++ snprintf(buf, sizeof(buf), "%s %s", midi_player, name); ++ ks_system2(buf); ++ return 0; ++ } + + bzero(&sf, sizeof(sf)); + bzero(buf, sizeof(buf)); diff --git a/games/fkiss/patches/patch-ae b/games/fkiss/patches/patch-ae new file mode 100644 index 00000000000..26bcd0d177a --- /dev/null +++ b/games/fkiss/patches/patch-ae @@ -0,0 +1,16 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/07/14 09:40:31 rh Exp $ + +--- sub.c.orig Tue Oct 3 01:52:27 2000 ++++ sub.c +@@ -38,6 +38,11 @@ + } + if (dsp != NULL) + XCloseDisplay(dsp); ++ ++ /* kill outstanding subprocesses ie: external audio players */ ++ signal(15, NULL); ++ killpg(0, 15); ++ + exit(code); + } + diff --git a/games/fkiss/patches/patch-af b/games/fkiss/patches/patch-af new file mode 100644 index 00000000000..8e6fce4dfa5 --- /dev/null +++ b/games/fkiss/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/07/14 09:40:31 rh Exp $ + +--- work.h.orig Tue Oct 3 01:52:27 2000 ++++ work.h +@@ -70,6 +70,8 @@ + extern COLOR *kcflist; + extern SETINFO kset[]; + ++extern char *midi_player; ++ + extern Colormap cmap; + extern int gray_mode; + extern int colcnt; diff --git a/games/fkiss/patches/patch-ag b/games/fkiss/patches/patch-ag new file mode 100644 index 00000000000..d4ce493b485 --- /dev/null +++ b/games/fkiss/patches/patch-ag @@ -0,0 +1,15 @@ +$NetBSD: patch-ag,v 1.1.1.1 2002/07/14 09:40:31 rh Exp $ + +--- fkiss.man.orig Mon Oct 16 22:16:48 2000 ++++ fkiss.man +@@ -265,6 +265,10 @@ + .TP + .B \-noesd + Not use EsounD, use /dev/dsp. ++.TP ++.BI \-midiplayer " program" ++Set external MIDI player \fIprogram\fP. ++Default /usr/bin/midiplay. + .SH "KEY BINDINGS" + .TP + .B Button1 |