aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-12 09:12:25 +0800
committerjkh <jkh@FreeBSD.org>1994-11-12 09:12:25 +0800
commit8ec1cd16f1df8b88d7aa2d28f16fda3871326f39 (patch)
tree5057426f35e33f4f0d5575eb9f861067061664f9 /x11
parenta8f441d50e712604170f91354d01d28967173cc8 (diff)
downloadfreebsd-ports-gnome-8ec1cd16f1df8b88d7aa2d28f16fda3871326f39.tar.gz
freebsd-ports-gnome-8ec1cd16f1df8b88d7aa2d28f16fda3871326f39.tar.zst
freebsd-ports-gnome-8ec1cd16f1df8b88d7aa2d28f16fda3871326f39.zip
From: Jean-Marc Zucconi <jmz@thud.cdrom.com>
~jmz/xsnow/ Xsnow - create a snowy and Santa-y desktop Merry X-mas :-) Submitted by: jmz
Diffstat (limited to 'x11')
-rw-r--r--x11/xsnow/Makefile11
-rw-r--r--x11/xsnow/pkg-comment1
-rw-r--r--x11/xsnow/pkg-descr2
-rw-r--r--x11/xsnow/pkg-plist6
-rw-r--r--x11/xsnow/scripts/configure11
5 files changed, 31 insertions, 0 deletions
diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile
new file mode 100644
index 000000000000..4ec7ba7f2491
--- /dev/null
+++ b/x11/xsnow/Makefile
@@ -0,0 +1,11 @@
+DISTNAME= xsnow-1.31
+DISTFILES= xsnow-1.31.tar.Z
+USE_IMAKE= yes
+MASTER_SITES= ftp://ftp.x.org/contrib/games/
+
+pre-install:
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/man/man6
+ @(cd ${WRKSRC}; ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install.man)
+
+.include <bsd.port.mk>
diff --git a/x11/xsnow/pkg-comment b/x11/xsnow/pkg-comment
new file mode 100644
index 000000000000..45138afc4b98
--- /dev/null
+++ b/x11/xsnow/pkg-comment
@@ -0,0 +1 @@
+Xsnow - create a snowy and Santa-y desktop
diff --git a/x11/xsnow/pkg-descr b/x11/xsnow/pkg-descr
new file mode 100644
index 000000000000..ba8b7c77bf27
--- /dev/null
+++ b/x11/xsnow/pkg-descr
@@ -0,0 +1,2 @@
+Xsnow displays lovely moving snowflakes on your desktop, with Santa Claus
+running all over the screen.
diff --git a/x11/xsnow/pkg-plist b/x11/xsnow/pkg-plist
new file mode 100644
index 000000000000..49cc2dcb7a60
--- /dev/null
+++ b/x11/xsnow/pkg-plist
@@ -0,0 +1,6 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/xsnow
+@mode 644
+man/man6/xsnow.6
diff --git a/x11/xsnow/scripts/configure b/x11/xsnow/scripts/configure
new file mode 100644
index 000000000000..6018f41d89db
--- /dev/null
+++ b/x11/xsnow/scripts/configure
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1;
+
+mv xsnow.c xsnow.c.orig
+sed -e 's/^void usleep(usec)/void Xusleep(usec)/' <xsnow.c.orig>xsnow.c
+
+echo "BINDIR=$PREFIX/bin" >> Imakefile || exit 1;
+echo "MANDIR=$PREFIX/man/man6" >> Imakefile || exit 1;
+echo "MANSUFFIX=6" >> Imakefile || exit 1;
+exit 0;