summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>1997-12-02 14:27:47 +0000
committeris <is@pkgsrc.org>1997-12-02 14:27:47 +0000
commit35023e73101cc807aea379271caba443e625b08a (patch)
tree3fdf5319100e7bb7380be9907b1484d9b9979d9f /x11
parentf38e7b58dfdcf4799aba6da51b24d3acc25744e0 (diff)
downloadpkgsrc-35023e73101cc807aea379271caba443e625b08a.tar.gz
Initial import of the FreeBSD xsnow port.
Diffstat (limited to 'x11')
-rw-r--r--x11/xsnow/Makefile24
-rw-r--r--x11/xsnow/files/md51
-rw-r--r--x11/xsnow/pkg/COMMENT1
-rw-r--r--x11/xsnow/pkg/DESCR2
-rw-r--r--x11/xsnow/pkg/PLIST2
-rw-r--r--x11/xsnow/scripts/configure11
6 files changed, 41 insertions, 0 deletions
diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile
new file mode 100644
index 00000000000..f888278e270
--- /dev/null
+++ b/x11/xsnow/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: xsnow
+# Version required: 1.40
+# Date created: 12 November 1994
+# Whom: jmz
+#
+# $Id: Makefile,v 1.1.1.1 1997/12/02 14:27:47 is Exp $
+#
+
+DISTNAME= xsnow-1.40
+CATEGORIES= x11
+MASTER_SITES= ${MASTER_SITE_XCONTRIB}
+MASTER_SITE_SUBDIR= games
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= jmz@FreeBSD.org
+
+USE_IMAKE= yes
+
+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/files/md5 b/x11/xsnow/files/md5
new file mode 100644
index 00000000000..659eb4a0d33
--- /dev/null
+++ b/x11/xsnow/files/md5
@@ -0,0 +1 @@
+MD5 (xsnow-1.40.tar.Z) = 3d47c3bf4df725ecf41f282a185f51b9
diff --git a/x11/xsnow/pkg/COMMENT b/x11/xsnow/pkg/COMMENT
new file mode 100644
index 00000000000..c485f81c86f
--- /dev/null
+++ b/x11/xsnow/pkg/COMMENT
@@ -0,0 +1 @@
+Create a snowy and Santa-y desktop.
diff --git a/x11/xsnow/pkg/DESCR b/x11/xsnow/pkg/DESCR
new file mode 100644
index 00000000000..ba8b7c77bf2
--- /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 00000000000..348b74079c5
--- /dev/null
+++ b/x11/xsnow/pkg/PLIST
@@ -0,0 +1,2 @@
+bin/xsnow
+man/man6/xsnow.6.gz
diff --git a/x11/xsnow/scripts/configure b/x11/xsnow/scripts/configure
new file mode 100644
index 00000000000..6018f41d89d
--- /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;