diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-08-29 12:11:05 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2006-08-29 12:11:05 +0000 |
commit | 7c78512327db793c8c6e85936d738577159fd869 (patch) | |
tree | dda5588dd257d77550610c8f2454fc8564fef034 /sysutils | |
parent | e7b1bcc99111df4754e8819528a44bd097521717 (diff) | |
download | ports-7c78512327db793c8c6e85936d738577159fd869.tar.gz ports-7c78512327db793c8c6e85936d738577159fd869.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/bubblemon-dockapp/Makefile | 11 | ||||
-rw-r--r-- | sysutils/bubblemon-dockapp/files/patch-bubblemon.c | 11 | ||||
-rw-r--r-- | sysutils/bubblemon-dockapp/pkg-plist | 10 |
3 files changed, 22 insertions, 10 deletions
diff --git a/sysutils/bubblemon-dockapp/Makefile b/sysutils/bubblemon-dockapp/Makefile index 361d736ccce5..8fc8fde2c2f6 100644 --- a/sysutils/bubblemon-dockapp/Makefile +++ b/sysutils/bubblemon-dockapp/Makefile @@ -7,19 +7,22 @@ PORTNAME= bubblemon-dockapp PORTVERSION= 1.46 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils -MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ +MASTER_SITES= http://www.ne.jp/asahi/linux/timecop/software/ \ + http://critical.ch/distfiles/ \ + http://energy.critical.ch/distfiles/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/0$//} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gurkan@linuks.mine.nu COMMENT= X eye candy for displaying CPU and memory load in a dock USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= gtk12 MAKE_ARGS+= PREFIX="${PREFIX}" -EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME} + +PORTDOCS= README post-patch: ${REINPLACE_CMD} -e "s@CC = gcc@CC = ${CC}@g; \ diff --git a/sysutils/bubblemon-dockapp/files/patch-bubblemon.c b/sysutils/bubblemon-dockapp/files/patch-bubblemon.c new file mode 100644 index 000000000000..dbbd93d4cce3 --- /dev/null +++ b/sysutils/bubblemon-dockapp/files/patch-bubblemon.c @@ -0,0 +1,11 @@ +--- bubblemon.c.orig Wed Oct 1 02:37:32 2003 ++++ bubblemon.c Tue Aug 29 01:10:47 2006 +@@ -912,7 +912,7 @@ + + while (i--) { + unsigned char *rgb = (unsigned char *) &col[*buf_ptr++]; +-#if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) || defined(_LITTLE_ENDIAN) || (BYTE_ORDER == LITTLE_ENDIAN) ++#if (defined(__BYTE_ORDER) && defined(__LITTLE_ENDIAN) && (__BYTE_ORDER == __LITTLE_ENDIAN)) || (defined(_LITTLE_ENDIAN) && !defined(__FreeBSD__)) || (defined(BYTE_ORDER) && defined(LITTLE_ENDIAN) && (BYTE_ORDER == LITTLE_ENDIAN)) + *ptr++ = rgb[2]; + *ptr++ = rgb[1]; + *ptr++ = rgb[0]; diff --git a/sysutils/bubblemon-dockapp/pkg-plist b/sysutils/bubblemon-dockapp/pkg-plist index ade53d7846ff..65d4cba7d718 100644 --- a/sysutils/bubblemon-dockapp/pkg-plist +++ b/sysutils/bubblemon-dockapp/pkg-plist @@ -1,7 +1,5 @@ bin/bubblemon -share/examples/bubblemon-dockapp/wak.wav -share/examples/bubblemon-dockapp/wakwak.sh -share/examples/bubblemon-dockapp/Xdefaults.sample -@dirrm share/examples/bubblemon-dockapp -%%PORTDOCS%%share/doc/bubblemon-dockapp/README -%%PORTDOCS%%@dirrm share/doc/bubblemon-dockapp +%%EXAMPLESDIR%%/wak.wav +%%EXAMPLESDIR%%/wakwak.sh +%%EXAMPLESDIR%%/Xdefaults.sample +@dirrm %%EXAMPLESDIR%% |