summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-11-15 05:02:21 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-11-15 05:02:21 +0000
commitb103e9fa9b9f2e1dc858b74a9b0e82bb857ad9fe (patch)
tree17c6a35b5c1678c3e2b76273aac5058138a48987
parentUpgrade to 0.42 (diff)
Chameleon is an application which allows the user to put a picture
in any format or a solid color onto the root window. It can be controlled through a GTK interface, or from the command line. PR: ports/47189.
Notes
Notes: svn path=/head/; revision=93990
-rw-r--r--x11/chameleon/Makefile41
-rw-r--r--x11/chameleon/distinfo1
-rw-r--r--x11/chameleon/files/Makefile18
-rw-r--r--x11/chameleon/pkg-descr3
-rw-r--r--x11/chameleon/pkg-plist3
5 files changed, 66 insertions, 0 deletions
diff --git a/x11/chameleon/Makefile b/x11/chameleon/Makefile
new file mode 100644
index 000000000000..33a6d8719697
--- /dev/null
+++ b/x11/chameleon/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: chameleon
+# Date created: 17 Jan 2003
+# Whom: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>
+#
+# $FreeBSD$
+#
+
+PORTNAME= chameleon
+PORTVERSION= 1.1
+CATEGORIES= x11
+MASTER_SITES= http://ftp.us.debian.org/debian/pool/main/c/chameleon/ \
+ ftp://carroll.aset.psu.edu/pub/linux/distributions/debian/pool/main/c/chameleon/ \
+ http://www.mirror.ac.uk/sites/ftp.debian.org/debian/pool/main/c/chameleon/ \
+ ftp://ftp.debian.org/debian/pool/main/c/chameleon/
+PKGNAMEPREFIX= x11-
+DISTNAME= chameleon_${PORTVERSION}.orig
+
+MAINTAINER= gavin.atkinson@ury.york.ac.uk
+COMMENT= "Application for putting pictures or colors onto the root window"
+
+LIB_DEPENDS= Imlib.5:${PORTSDIR}/graphics/imlib
+
+USE_GTK= yes
+USE_GUNZIP= yes
+USE_X_PREFIX= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+PIXMAPSDIR= ${PREFIX}/share/pixmaps/
+
+MAN1= chameleon.1
+
+MAKEFILE= ${FILESDIR}/Makefile
+
+post-patch:
+ ${GUNZIP_CMD} ${WRKSRC}/${PORTNAME}.1.gz
+
+pre-install:
+ @if test ! -d ${PIXMAPSDIR}; then \
+ ${MKDIR} ${PIXMAPSDIR}; ${CHMOD} 0755 ${PIXMAPSDIR}; fi
+
+.include <bsd.port.mk>
diff --git a/x11/chameleon/distinfo b/x11/chameleon/distinfo
new file mode 100644
index 000000000000..f3aec44b60cf
--- /dev/null
+++ b/x11/chameleon/distinfo
@@ -0,0 +1 @@
+MD5 (chameleon_1.1.orig.tar.gz) = a6d8ad07279451f97f9b9f050ff01782
diff --git a/x11/chameleon/files/Makefile b/x11/chameleon/files/Makefile
new file mode 100644
index 000000000000..d0d6666c960d
--- /dev/null
+++ b/x11/chameleon/files/Makefile
@@ -0,0 +1,18 @@
+#
+# $FreeBSD$
+#
+PROG= chameleon
+SRCS= chameleon.c info.c setfile.c setname.c setrgb.c
+LDADD= `imlib-config --libs` `gtk-config --libs`
+CFLAGS+= `imlib-config --cflags` `gtk-config --cflags`
+
+PREFIX?= /usr/X11R6
+DESTDIR= ${PREFIX}
+BINDIR= /bin
+MANDIR= /man/man
+NOMANCOMPRESS= yes
+
+FILES= cham.xpm
+FILESDIR= /share/pixmaps
+
+.include <bsd.prog.mk>
diff --git a/x11/chameleon/pkg-descr b/x11/chameleon/pkg-descr
new file mode 100644
index 000000000000..50191767ec9d
--- /dev/null
+++ b/x11/chameleon/pkg-descr
@@ -0,0 +1,3 @@
+Chameleon is an application which allows the user to put a picture
+in any format or a solid color onto the root window. It can be
+controlled through a GTK interface, or from the command line.
diff --git a/x11/chameleon/pkg-plist b/x11/chameleon/pkg-plist
new file mode 100644
index 000000000000..1bcc79e727d1
--- /dev/null
+++ b/x11/chameleon/pkg-plist
@@ -0,0 +1,3 @@
+bin/chameleon
+share/pixmaps/cham.xpm
+@unexec rmdir %D/share/pixmaps 2>/dev/null || true