From 6c307331624bdcb04459d51b322fd781e874cdb2 Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sat, 3 Jan 2015 19:30:12 +0000 Subject: [PATCH] - New port games/xlennart - Pass maintainership to submitter PR: 195977 Submitted by: Neel Chauhan --- games/Makefile | 1 + games/xlennart/Makefile | 60 ++++++++++++++++++++++++++ games/xlennart/distinfo | 2 + games/xlennart/files/patch-Makefile.in | 11 +++++ games/xlennart/pkg-descr | 11 +++++ 5 files changed, 85 insertions(+) create mode 100644 games/xlennart/Makefile create mode 100644 games/xlennart/distinfo create mode 100644 games/xlennart/files/patch-Makefile.in create mode 100644 games/xlennart/pkg-descr diff --git a/games/Makefile b/games/Makefile index 56a2a4e48e2e..15800479dd3d 100644 --- a/games/Makefile +++ b/games/Makefile @@ -1088,6 +1088,7 @@ SUBDIR += xjumpx SUBDIR += xkoules SUBDIR += xlaby + SUBDIR += xlennart SUBDIR += xlife SUBDIR += xlogical SUBDIR += xmahjongg diff --git a/games/xlennart/Makefile b/games/xlennart/Makefile new file mode 100644 index 000000000000..25d6d6e69270 --- /dev/null +++ b/games/xlennart/Makefile @@ -0,0 +1,60 @@ +# $FreeBSD$ + +PORTNAME= xlennart +PORTVERSION= 1.1 +CATEGORIES= games + +MAINTAINER= neel@neelc.org +COMMENT= XBill Modification + +LICENSE= GPLv2 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --localstatedir=${SCORES_DIR} + +SCORES_DIR?= ${DATADIR}/scores + +DESKTOP_ENTRIES="xLennart" \ + "Save your computers from the evil clutches of Lennart" \ + "${DATADIR}/pixmaps/icon.xpm" \ + "xlennart" \ + "Game;ArcadeGame;" \ + false + +PLIST_FILES= bin/${PORTNAME} \ + man/man6/${PORTNAME}.6.gz + +PORTDATA= * + +OPTIONS_SINGLE= WIDGETSET +OPTIONS_SINGLE_WIDGETSET= ATHENA GTK MOTIF +OPTIONS_DEFAULT= GTK + +ATHENA_DESC= Athena widget set +GTK_DESC= GTK widget set +MOTIF_DESC= Motif widget set + +USE_GITHUB= yes +GH_ACCOUNT= Xylemon +GH_COMMIT= da84384 + +USES= pkgconfig + +ATHENA_CONFIGURE_ON= --disable-gtk --disable-motif +ATHENA_USE= XORG=xaw,xmu,xt,x11,sm,ice + +MOTIF_CONFIGURE_ON= --disable-athena --disable-gtk +MOTIF_USE= XORG=xt,x11,sm,ice,xpm +MOTIF_USES= motif + +GTK_CONFIGURE_ON= --disable-athena --disable-motif +GTK_USE= GNOME=gtk20 XORG=sm,ice + +post-patch: + @${REINPLACE_CMD} -e '/WIDGET_LIBS=/ s|-lXm"$$|-lXm -lXpm"|' \ + ${WRKSRC}/configure + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xlennart + +.include diff --git a/games/xlennart/distinfo b/games/xlennart/distinfo new file mode 100644 index 000000000000..df2b52790d23 --- /dev/null +++ b/games/xlennart/distinfo @@ -0,0 +1,2 @@ +SHA256 (xlennart-1.1.tar.gz) = ee5e6d738a4e6ec7e9e341ecf1f7add416dec553906006ba991c5552ccea2b82 +SIZE (xlennart-1.1.tar.gz) = 177680 diff --git a/games/xlennart/files/patch-Makefile.in b/games/xlennart/files/patch-Makefile.in new file mode 100644 index 000000000000..38230fd7b210 --- /dev/null +++ b/games/xlennart/files/patch-Makefile.in @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2014-12-09 13:17:00.000000000 -0500 ++++ Makefile.in 2014-12-14 14:31:27.388377891 -0500 +@@ -43,7 +43,7 @@ + pixmaps/icon.xpm pixmaps/centos.xpm pixmaps/logo.xpm \ + pixmaps/maccpu.xpm pixmaps/debian.xpm pixmaps/nextcpu.xpm \ + pixmaps/gentoo.xpm pixmaps/openbsd.xpm pixmaps/os2cpu.xpm \ +- pixmaps/palm.xpm pixmaps/palmcpu.xpm pixmaps/mandriva.xpm \ ++ pixmaps/mandriva.xpm \ + pixmaps/spark_0.xpm pixmaps/slackware.xpm pixmaps/suse.xpm \ + pixmaps/spark_1.xpm pixmaps/ubuntu.xpm pixmaps/sgicpu.xpm \ + pixmaps/suncpu.xpm pixmaps/toaster.xpm pixmaps/initfail.xpm diff --git a/games/xlennart/pkg-descr b/games/xlennart/pkg-descr new file mode 100644 index 000000000000..62c5768a0423 --- /dev/null +++ b/games/xlennart/pkg-descr @@ -0,0 +1,11 @@ +Yet again, the fate of the world rests in your hands! An evil computer hacker, +known only by his handle 'Lennart', has created the ultimate computer virus. A +virus so powerful that it has the power to transmute an ordinary computer into +a toaster oven. (oooh!) 'Lennart' has cloned himself into a billion-jillion +micro-Lenns. Their sole purpose is to deliver the nefarious virus, which has +been cleverly diguised as a popularinit system. + +As System Administrator/Exterminator, your job is to keep Lennart from +succeeding at his task. + +WWW: http://www.github.com/Xylemon/xlennart