summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-wm/Makefile1
-rw-r--r--x11-wm/icepref/Makefile40
-rw-r--r--x11-wm/icepref/distinfo1
-rw-r--r--x11-wm/icepref/files/patch-aa22
-rw-r--r--x11-wm/icepref/pkg-comment1
-rw-r--r--x11-wm/icepref/pkg-descr5
-rw-r--r--x11-wm/icepref/pkg-plist5
7 files changed, 75 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 67cb514f4e38..e4a891454d0d 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -20,6 +20,7 @@
SUBDIR += fvwm95-i18n
SUBDIR += gnome2wmaker
SUBDIR += gwm
+ SUBDIR += icepref
SUBDIR += icewm
SUBDIR += icewm-i18n
SUBDIR += libdockapp
diff --git a/x11-wm/icepref/Makefile b/x11-wm/icepref/Makefile
new file mode 100644
index 000000000000..b26d24fa3b16
--- /dev/null
+++ b/x11-wm/icepref/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: icepref
+# Date created: 06 June 2000
+# Whom: Michael Urban <murban@tznet.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= icepref
+PORTVERSION= 1.1
+CATEGORIES= x11-wm
+MASTER_SITES= http://209.132.18.205/downloads/portfiles/
+
+MAINTAINER= murban@tznet.com
+
+LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_X_PREFIX= yes
+NO_BUILD= yes
+MAN1= icepref.1
+FETCH_BEFORE_ARGS= -b
+.if defined(NOPORTDOCS)
+PLIST_SUB+= PORTDOCS="@comment "
+.else
+PLIST_SUB+= PORTDOCS=""
+.endif
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/icepref ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/icepref.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/icepref
+.for DOC in README FAQ LICENSE
+ ${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/doc/icepref
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11-wm/icepref/distinfo b/x11-wm/icepref/distinfo
new file mode 100644
index 000000000000..141543809370
--- /dev/null
+++ b/x11-wm/icepref/distinfo
@@ -0,0 +1 @@
+MD5 (icepref-1.1.tar.gz) = 25d1af96450d34b82d4026b1b18ca61b
diff --git a/x11-wm/icepref/files/patch-aa b/x11-wm/icepref/files/patch-aa
new file mode 100644
index 000000000000..9eadf03c33c0
--- /dev/null
+++ b/x11-wm/icepref/files/patch-aa
@@ -0,0 +1,22 @@
+--- icepref.orig Wed Jan 5 17:16:04 2000
++++ icepref Tue Jun 6 23:26:56 2000
+@@ -1898,8 +1898,8 @@
+ # work on other non Linux systems. Under Debian, this function requires
+ # the installation of the psmisc package.
+
+- os.system('killall -HUP -q icewm')
+- os.system('killall -HUP -q icewm-gnome')
++ os.system('killall -HUP icewm')
++ os.system('killall -HUP icewm-gnome')
+
+ # this is the callback for the OK button
+
+@@ -2090,7 +2090,7 @@
+ button.show()
+
+ # Disable the Restart button in the OS is BSD or the user is root
+- if item[0] == 'Restart' and ( self.os == 'BSD' or USER == 'root'):
++ if item[0] == 'Restart' and ( USER == 'root'):
+ button.set_sensitive(FALSE)
+
+ bbox.pack_start(button, TRUE, FALSE, 0)
diff --git a/x11-wm/icepref/pkg-comment b/x11-wm/icepref/pkg-comment
new file mode 100644
index 000000000000..cccaf5ff5149
--- /dev/null
+++ b/x11-wm/icepref/pkg-comment
@@ -0,0 +1 @@
+A small graphical configuration utility for the Ice Window Manager
diff --git a/x11-wm/icepref/pkg-descr b/x11-wm/icepref/pkg-descr
new file mode 100644
index 000000000000..a45f5edbc2ca
--- /dev/null
+++ b/x11-wm/icepref/pkg-descr
@@ -0,0 +1,5 @@
+This is a port of IcePref, a graphical configuration utility for the Ice Window Manager that uses Python and GTK. This port fixes the problem with the Restart button not working in FreeBSD if you install from the original source.
+
+WWW: http://members.xoom.com/SaintChoj/icepref.html
+
+murban@tznet.com
diff --git a/x11-wm/icepref/pkg-plist b/x11-wm/icepref/pkg-plist
new file mode 100644
index 000000000000..966d96b7d587
--- /dev/null
+++ b/x11-wm/icepref/pkg-plist
@@ -0,0 +1,5 @@
+bin/icepref
+%%PORTDOCS%%share/doc/icepref/FAQ
+%%PORTDOCS%%share/doc/icepref/LICENSE
+%%PORTDOCS%%share/doc/icepref/README
+%%PORTDOCS%%@dirrm share/doc/icepref