summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-11-15 05:02:21 +0000
committerlinimon <linimon@FreeBSD.org>2003-11-15 05:02:21 +0000
commite508d1f10122ba9aeec142e208b0195040929106 (patch)
tree0b65dfcfa4a005d1bc3e6f7257422862d1b72e74 /x11
parent5fc425888daee942f4f68c0d82126a999e5699ae (diff)
downloadFreeBSD-ports-e508d1f10122ba9aeec142e208b0195040929106.zip
FreeBSD-ports-e508d1f10122ba9aeec142e208b0195040929106.tar.gz
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.
Diffstat (limited to 'x11')
-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 0000000..33a6d87
--- /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 0000000..f3aec44
--- /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 0000000..d0d6666
--- /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 0000000..5019176
--- /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 0000000..1bcc79e
--- /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
OpenPOWER on IntegriCloud