Update to xlennart 1.1, from Dmitrij D. Czarkoff, thanks!

This commit is contained in:
landry 2014-12-10 17:53:29 +00:00
parent b8b891e80e
commit 65e16cb8fb
4 changed files with 25 additions and 54 deletions

View File

@ -1,7 +1,10 @@
# $OpenBSD: Makefile,v 1.1.1.1 2014/11/05 22:36:47 landry Exp $
# $OpenBSD: Makefile,v 1.2 2014/12/10 17:53:29 landry Exp $
COMMENT = an XBill Modification
DISTNAME = xlennart-1.0
GH_ACCOUNT = Xylemon
GH_PROJECT = xlennart
GH_TAGNAME = 1.1
DISTNAME = xlennart-${GH_TAGNAME}
CATEGORIES = games x11
HOMEPAGE = https://github.com/Xylemon/xlennart
@ -12,10 +15,6 @@ PERMIT_PACKAGE_CDROM = Yes
WANTLIB += ICE SM X11 Xaw Xmu Xpm Xt c
GH_ACCOUNT = Xylemon
GH_PROJECT = xlennart
GH_TAGNAME = 1.0
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} --disable-motif --disable-gtk \
--enable-athena --localstatedir=/var/games/xlennart

View File

@ -1,2 +1,2 @@
SHA256 (xlennart-1.0.tar.gz) = 7QLBdHwRTf/8n73LmarTE7LcsK7XXLBCHO9tpFbYNPw=
SIZE (xlennart-1.0.tar.gz) = 146355
SHA256 (xlennart-1.1.tar.gz) = Us/EuI7Dir7oZUxvQb7HCbuIEGfwmGB7LcLgWnliUWw=
SIZE (xlennart-1.1.tar.gz) = 177628

View File

@ -1,63 +1,34 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2014/11/05 22:36:47 landry Exp $
--- Makefile.in.orig Mon Nov 3 04:38:53 2014
+++ Makefile.in Wed Nov 5 20:52:50 2014
@@ -23,14 +23,14 @@ VPATH = @srcdir@
ALL_CFLAGS = $(CFLAGS) $(CPPFLAGS) -I$(srcdir)
ALL_LDFLAGS = $(CFLAGS) $(LDFLAGS)
IMAGE_DEFINES=-DIMAGES=\"${datadir}/xlennart\"
-SCORE_DEFINES=-DSCOREFILE=\"${localstatedir}/xlennart/scores\"
+SCORE_DEFINES=-DSCOREFILE=\"${localstatedir}/games/xlennart.scores\"
PROG = xlennart
$OpenBSD: patch-Makefile_in,v 1.2 2014/12/10 17:53:29 landry Exp $
--- Makefile.in.orig Wed Dec 10 11:38:02 2014
+++ Makefile.in Wed Dec 10 11:41:33 2014
@@ -30,7 +30,7 @@ PROG = xlennart
OBJS = Bill.o Bucket.o Cable.o Computer.o Game.o Horde.o Network.o \
OS.o Scorelist.o Spark.o UI.o util.o @WIDGET_OBJS@
-XPMS = pixmaps/about.xpm pixmaps/apple.xpm pixmaps/billA_0.xpm \
-XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \
+XPMS = pixmaps/about.xpm pixmaps/arch.xpm pixmaps/billA_0.xpm \
pixmaps/billA_1.xpm pixmaps/billA_10.xpm pixmaps/billA_11.xpm \
pixmaps/billA_12.xpm pixmaps/billA_2.xpm pixmaps/billA_3.xpm \
pixmaps/billA_4.xpm pixmaps/billA_5.xpm pixmaps/billA_6.xpm \
@@ -39,20 +39,20 @@ XPMS = pixmaps/about.xpm pixmaps/apple.xpm pixmaps/bil
@@ -39,14 +39,13 @@ XPMS = pixmaps/about.xpm pixmaps/billA_0.xpm \
pixmaps/billD_3.xpm pixmaps/billD_4.xpm pixmaps/billL_0.xpm \
pixmaps/billL_1.xpm pixmaps/billL_2.xpm pixmaps/billR_0.xpm \
pixmaps/billR_1.xpm pixmaps/billR_2.xpm pixmaps/bsd.xpm \
- pixmaps/bsdcpu.xpm pixmaps/bucket.xpm pixmaps/arch.xpm \
- pixmaps/icon.xpm pixmaps/centos.xpm pixmaps/logo.xpm \
- pixmaps/maccpu.xpm pixmaps/debian.xpm pixmaps/nextcpu.xpm \
- pixmaps/gentoo.xpm pixmaps/os2cpu.xpm \
- pixmaps/gentoo.xpm pixmaps/openbsd.xpm pixmaps/os2cpu.xpm \
- pixmaps/palm.xpm pixmaps/palmcpu.xpm pixmaps/mandriva.xpm \
- pixmaps/spark_0.xpm pixmaps/slackware.xpm pixmaps/suse.xpm \
- pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/suncpu.xpm \
- pixmaps/toaster.xpm pixmaps/initfail.xpm
- pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/sgicpu.xpm \
- pixmaps/suncpu.xpm pixmaps/toaster.xpm pixmaps/initfail.xpm
+ pixmaps/bsdcpu.xpm pixmaps/bucket.xpm pixmaps/centos.xpm \
+ pixmaps/debian.xpm pixmaps/gentoo.xpm pixmaps/icon.xpm \
+ pixmaps/initfail.xpm pixmaps/logo.xpm pixmaps/maccpu.xpm \
+ pixmaps/mandriva.xpm pixmaps/nextcpu.xpm pixmaps/os2cpu.xpm \
+ pixmaps/sgicpu.xpm pixmaps/slackware.xpm pixmaps/spark_0.xpm \
+ pixmaps/spark_1.xpm pixmaps/suncpu.xpm pixmaps/suse.xpm \
+ pixmaps/toaster.xpm pixmaps/ubuntu.xpm
+ pixmaps/mandriva.xpm pixmaps/nextcpu.xpm pixmaps/openbsd.xpm \
+ pixmaps/os2cpu.xpm pixmaps/sgicpu.xpm pixmaps/slackware.xpm \
+ pixmaps/spark_0.xpm pixmaps/spark_1.xpm pixmaps/suncpu.xpm \
+ pixmaps/suse.xpm pixmaps/toaster.xpm pixmaps/ubuntu.xpm
-XBMS = bitmaps/apple.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm \
- bitmaps/hand_down.xbm bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \
- bitmaps/hand_up_mask.xbm bitmaps/hurd.xbm bitmaps/linux.xbm \
- bitmaps/next.xbm bitmaps/os2.xbm bitmaps/palm.xbm bitmaps/redhat.xbm \
- bitmaps/sgi.xbm bitmaps/sun.xbm
+XBMS = bitmaps/arch.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm bitmaps/centos.xbm \
+ bitmaps/debian.xbm bitmaps/gentoo.xbm bitmaps/hand_down.xbm \
+ bitmaps/hand_down_mask.xbm bitmaps/hand_up.xbm \
+ bitmaps/hand_up_mask.xbm bitmaps/initfail.xbm bitmaps/mandriva.xbm \
+ bitmaps/redhat.xbm bitmaps/slackware.xbm bitmaps/suse.xbm \
+ bitmaps/ubuntu.xbm
MANDIR = man6
MAN = xlennart.6
@@ -85,8 +85,6 @@ install:
$(INSTALL) ${PROG} ${DESTDIR}${bindir}/${PROG}
$(MKINSTALLDIRS) ${DESTDIR}${mandir}/${MANDIR}
$(INSTALL_DATA) ${srcdir}/${MAN} ${DESTDIR}${mandir}/${MANDIR}
- $(MKINSTALLDIRS) ${DESTDIR}${localstatedir}/xlennart
- $(INSTALL_DATA) -m 0666 ${srcdir}/scores ${DESTDIR}${localstatedir}/xlennart
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/pixmaps
$(MKINSTALLDIRS) ${DESTDIR}${datadir}/xlennart/bitmaps
XBMS = bitmaps/arch.xbm bitmaps/bsd.xbm bitmaps/bucket.xbm bitmaps/centos.xbm \
bitmaps/debian.xbm bitmaps/gentoo.xbm bitmaps/hand_down.xbm \

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2014/11/05 22:38:15 landry Exp $
@comment $OpenBSD: PLIST,v 1.3 2014/12/10 17:53:29 landry Exp $
@group games
@bin bin/xlennart
@group
@ -24,7 +24,7 @@ share/xlennart/bitmaps/hand_up.xbm
share/xlennart/bitmaps/hand_up_mask.xbm
share/xlennart/bitmaps/initfail.xbm
share/xlennart/bitmaps/mandriva.xbm
share/xlennart/bitmaps/redhat.xbm
share/xlennart/bitmaps/openbsd.xbm
share/xlennart/bitmaps/slackware.xbm
share/xlennart/bitmaps/suse.xbm
share/xlennart/bitmaps/ubuntu.xbm
@ -67,6 +67,7 @@ share/xlennart/pixmaps/logo.xpm
share/xlennart/pixmaps/maccpu.xpm
share/xlennart/pixmaps/mandriva.xpm
share/xlennart/pixmaps/nextcpu.xpm
share/xlennart/pixmaps/openbsd.xpm
share/xlennart/pixmaps/os2cpu.xpm
share/xlennart/pixmaps/sgicpu.xpm
share/xlennart/pixmaps/slackware.xpm