1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update to 0.2.1

PR:		ports/74706
Submitted by:	maintainer
This commit is contained in:
Volker Stolz 2004-12-06 08:41:07 +00:00
parent cde6be69bd
commit 7ecbdced63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123288
4 changed files with 18 additions and 41 deletions

View File

@ -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,11 +17,10 @@ USE_BZIP2= yes
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}
@ -29,10 +28,6 @@ pre-everything::
@${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
.ifndef (NOPORTDOCS)

View File

@ -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

View File

@ -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

View File

@ -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 */