diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-12 01:12:25 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1994-11-12 01:12:25 +0000 |
commit | 04354d87ad83d47b9ff505b4d3586ed4ccbc2a78 (patch) | |
tree | 1aca42ca0392389a3653cfd427ff07df3fe691d3 /x11/xsnow | |
parent | c030153a8558d2dc4496a4318adff3c5534a7285 (diff) | |
download | ports-04354d87ad83d47b9ff505b4d3586ed4ccbc2a78.tar.gz ports-04354d87ad83d47b9ff505b4d3586ed4ccbc2a78.zip |
Notes
Diffstat (limited to 'x11/xsnow')
-rw-r--r-- | x11/xsnow/Makefile | 11 | ||||
-rw-r--r-- | x11/xsnow/pkg-comment | 1 | ||||
-rw-r--r-- | x11/xsnow/pkg-descr | 2 | ||||
-rw-r--r-- | x11/xsnow/pkg-plist | 6 | ||||
-rw-r--r-- | x11/xsnow/scripts/configure | 11 |
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; |