ports/74706: [ maintainer ] deskutils/hot-babe: update to 0.2.1
Roman Bogorodskiy
bogorodskiy at inbox.ru
Sun Dec 5 07:20:13 UTC 2004
>Number: 74706
>Category: ports
>Synopsis: [ maintainer ] deskutils/hot-babe: update to 0.2.1
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sun Dec 05 07:20:12 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Roman Bogorodskiy
>Release: FreeBSD 5.3-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD lame.novel.ru 5.3-RELEASE-p1 FreeBSD 5.3-RELEASE-p1 #2: Sun Nov 21 16:35:38 MSK 2004 root at lame.novel.ru:/usr/obj/usr/src/sys/MIRRORBOX i386
>Description:
Update to 0.2.1. This release should build OK on 4.x, so
patch-hot-babe.c is not needed anymore.
>How-To-Repeat:
>Fix:
--- port.hot-babe.update begins here ---
diff -ruN hot-babe.orig/Makefile hot-babe/Makefile
--- hot-babe.orig/Makefile Sun Dec 5 09:55:47 2004
+++ hot-babe/Makefile Sun Dec 5 10:08:06 2004
@@ -6,7 +6,7 @@
#
PORTNAME= hot-babe
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.1
CATEGORIES= deskutils
MASTER_SITES= http://dindinx.net/hotbabe/downloads/
@@ -17,21 +17,16 @@
USE_X_PREFIX= yes
MAKE_ARGS+= PREFIX="${PREFIX}" CC="${CC}"
USE_GNOME= gtk20
-USE_REINPLACE= yes
MAN1= hot-babe.1
-PORTDOCS= ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright
+PORTDOCS= ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright config.example
pre-everything::
@${ECHO_MSG}
@${ECHO_MSG} "Warning! This port contains some adults only content."
@${ECHO_MSG} "You might hit Ctrl-C to abort."
@${ECHO_MSG}
-
-post-patch:
- @${REINPLACE_CMD} -e 's|gtk-config|${GTK_CONFIG}|g;s|gdk-pixbuf-config|${GDK_PIXBUF_CONFIG}|g' \
- ${WRKSRC}/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/hot-babe.1 ${PREFIX}/man/man1
diff -ruN hot-babe.orig/distinfo hot-babe/distinfo
--- hot-babe.orig/distinfo Sun Dec 5 09:55:47 2004
+++ hot-babe/distinfo Sun Dec 5 09:57:51 2004
@@ -1,2 +1,2 @@
-MD5 (hot-babe-0.2.0.tar.bz2) = e0de887b9ea75dad221830ccfcc3a6da
-SIZE (hot-babe-0.2.0.tar.bz2) = 397541
+MD5 (hot-babe-0.2.1.tar.bz2) = 6b3a59762f3c699696b259b83e9d4307
+SIZE (hot-babe-0.2.1.tar.bz2) = 398540
diff -ruN hot-babe.orig/files/patch-Makefile hot-babe/files/patch-Makefile
--- hot-babe.orig/files/patch-Makefile Sun Dec 5 09:55:47 2004
+++ hot-babe/files/patch-Makefile Sun Dec 5 10:05:12 2004
@@ -1,24 +1,20 @@
---- Makefile.orig Sun Nov 14 16:12:47 2004
-+++ Makefile Sun Nov 21 13:39:35 2004
-@@ -3,11 +3,11 @@
- DESTDIR = ${PREFIX}
+--- Makefile.orig Sun Dec 5 10:03:38 2004
++++ Makefile Sun Dec 5 10:04:18 2004
+@@ -2,7 +2,7 @@
+ PREFIX := /usr/local
# optimization cflags
--CFLAGS = -O2 -Wall -g `pkg-config gdk-2.0 gdk-pixbuf-2.0 --cflags` -DDESTDIR=\"$(DESTDIR)\"
-+CFLAGS += `pkg-config --cflags gtk+-2.0` -DDESTDIR=\"$(DESTDIR)\"
+-CFLAGS += -O2 -Wall -g `pkg-config gdk-2.0 gdk-pixbuf-2.0 --cflags` -DPREFIX=\"$(PREFIX)\"
++CFLAGS += -Wall `pkg-config gdk-2.0 gdk-pixbuf-2.0 --cflags` -DPREFIX=\"$(PREFIX)\"
OBJS = hot-babe.o loader.o
CC = gcc
--LIBS = `pkg-config gdk-2.0 gdk-pixbuf-2.0 --libs`
-+LIBS = `pkg-config --libs gtk+-2.0`
- INSTALL = -m 755
+@@ -23,8 +23,6 @@
+ install -m 0755 hot-babe $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/hot-babe/hb01
+ install -m 0644 hb01/* $(DESTDIR)$(PREFIX)/share/hot-babe/hb01
+- install -d $(DESTDIR)$(PREFIX)/share/doc/hot-babe
+- install -m 0644 $(DOC) $(DESTDIR)$(PREFIX)/share/doc/hot-babe
+ install -d $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 0644 hot-babe.1 $(DESTDIR)$(PREFIX)/share/man/man1
- DOC = ChangeLog NEWS TODO LICENSE CONTRIBUTORS copyright
-@@ -26,7 +26,6 @@
- install -d $(DESTDIR)/share/hot-babe/hb01
- install $(INSTALL) hb01/* $(DESTDIR)/share/hot-babe/hb01
- install -d $(DESTDIR)/share/doc/hot-babe
-- install $(INSTALL) $(DOC) $(DESTDIR)/share/doc/hot-babe
-
- uninstall:
- rm -f $(DESTDIR)/bin/hot-babe
diff -ruN hot-babe.orig/files/patch-hot-babe.c hot-babe/files/patch-hot-babe.c
--- hot-babe.orig/files/patch-hot-babe.c Sun Dec 5 09:55:47 2004
+++ hot-babe/files/patch-hot-babe.c Thu Jan 1 03:00:00 1970
@@ -1,14 +0,0 @@
---- hot-babe.c.orig Tue Nov 16 22:52:44 2004
-+++ hot-babe.c Wed Nov 24 12:15:34 2004
-@@ -20,9 +20,11 @@
- #include <stdlib.h>
- #include <string.h>
- #ifdef __FreeBSD__
-+#include <sys/time.h>
- #include <sys/resource.h>
- #include <sys/types.h>
- #include <sys/sysctl.h>
-+#include <sys/dkstat.h>
- #endif
-
- /* x11 includes */
--- port.hot-babe.update ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list