summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/Makefile1
-rw-r--r--x11/xwinwrap/Makefile32
-rw-r--r--x11/xwinwrap/distinfo3
-rw-r--r--x11/xwinwrap/files/patch-Makefile46
-rw-r--r--x11/xwinwrap/pkg-descr6
5 files changed, 88 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index a99a68b3c19c..cc298d6de5bc 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -490,6 +490,7 @@
SUBDIR += xwatchwin
SUBDIR += xwd
SUBDIR += xwininfo
+ SUBDIR += xwinwrap
SUBDIR += xwit
SUBDIR += xwud
SUBDIR += xxkb
diff --git a/x11/xwinwrap/Makefile b/x11/xwinwrap/Makefile
new file mode 100644
index 000000000000..adbd3b2ccdb4
--- /dev/null
+++ b/x11/xwinwrap/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: xwinwrap
+# Date created: 2009-11-16
+# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xwinwrap
+PORTVERSION= 0.3
+CATEGORIES= x11
+MASTER_SITES= http://fbsd.zlonet.ru/distfiles/ \
+ http://tourservice.kz/zloidemon/distfiles/ \
+ http://z-up.ru/zloidemon/distfiles/
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= XWinWrap replace a desktop background with a movie or screensaver
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+ONLY_FOR_ARCHS= amd64 i386
+USE_BZIP2= yes
+USE_XLIB= xrender xext
+PLIST_FILES= bin/${PORTNAME}
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+MAKE_ARGS+= ARCH=x86_64
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11/xwinwrap/distinfo b/x11/xwinwrap/distinfo
new file mode 100644
index 000000000000..b25529a4034c
--- /dev/null
+++ b/x11/xwinwrap/distinfo
@@ -0,0 +1,3 @@
+MD5 (xwinwrap-0.3.tar.bz2) = 028e54d47747d50b6e7eee4167fbb06a
+SHA256 (xwinwrap-0.3.tar.bz2) = 2a19645db3dd544318b26ade0f975583ef537bc7f926028bc9c538239b32e668
+SIZE (xwinwrap-0.3.tar.bz2) = 5010
diff --git a/x11/xwinwrap/files/patch-Makefile b/x11/xwinwrap/files/patch-Makefile
new file mode 100644
index 000000000000..7e172869c227
--- /dev/null
+++ b/x11/xwinwrap/files/patch-Makefile
@@ -0,0 +1,46 @@
+--- Makefile.orig 2009-11-16 20:42:09.000000000 +0700
++++ Makefile 2009-11-17 04:52:13.000000000 +0700
+@@ -1,22 +1,23 @@
+-all: all64 all32
+-
+-all64:
+- gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
+- -mkdir x86_64
+- mv ./xwinwrap ./x86_64
+-
+-all32:
+- gcc -m32 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -lX11 -lXext -lXrender xwinwrap.c -o xwinwrap
+- -mkdir i386
+- mv ./xwinwrap ./i386
+-
+-install64:
+- cp x86_64/xwinwrap /usr/bin
+-
+-install32:
+- cp i386/xwinwrap /usr/bin
++INSTALL = /usr/bin/install -m 755
++PREFIX = /usr/local
++CC = gcc
++ARCH = `uname -p`
++
++TARGET = xwinwrap
++
++CFLAGS = -I/usr/X11R6/include -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
++LDFLAGS = -L/usr/X11R6/lib -lX11 -lXext -lXrender
++
++all:
++ if [ "${ARCH}" = "x86_64" ] ; then \
++ $(CC) $(CFLAGS) $(LDFLAGS) $(TARGET).c -o $(TARGET); \
++ elif [ "${ARCH}" = "i386" ] ; then \
++ $(CC) -m32 $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) $(TARGET).c -o $(TARGET); \
++ else \
++ echo 'ERROR: UNKNOWN ARCH'; \
++ fi;
+
++install:
++ $(INSTALL) $(TARGET) $(PREFIX)/bin
+ clean:
+- -rm -rf x86_64/ i386/
+-
+-
++ -rm $(TARGET)
diff --git a/x11/xwinwrap/pkg-descr b/x11/xwinwrap/pkg-descr
new file mode 100644
index 000000000000..2d2df72e2f3f
--- /dev/null
+++ b/x11/xwinwrap/pkg-descr
@@ -0,0 +1,6 @@
+XWinWrap is a small utility written a loooong time ago that allowed you to
+stick most of the apps to your desktop background. What this meant was you
+could use an animated screensaver (like glmatrix, electric sheep, etc) or
+even a movie, and use it as your wallpaper.
+
+WWW: http://tech.shantanugoel.com/projects/linux/shantz-xwinwrap