diff options
author | hrs <hrs@FreeBSD.org> | 2007-06-25 15:03:38 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2007-06-25 15:03:38 +0000 |
commit | 093e0fe321f2b139b574821292d1c3d00fcf7b64 (patch) | |
tree | ad6026c74a618e5fbd17763389e1ae595af008ff | |
parent | f477eb543eed7f7c1a9729e17b36b9a3246af436 (diff) | |
download | FreeBSD-ports-093e0fe321f2b139b574821292d1c3d00fcf7b64.zip FreeBSD-ports-093e0fe321f2b139b574821292d1c3d00fcf7b64.tar.gz |
Update to 0.5.20050618.
-rw-r--r-- | ports-mgmt/portbrowser/Makefile | 16 | ||||
-rw-r--r-- | ports-mgmt/portbrowser/distinfo | 6 | ||||
-rw-r--r-- | ports-mgmt/portbrowser/files/patch-src-pkgobject.h | 19 |
3 files changed, 29 insertions, 12 deletions
diff --git a/ports-mgmt/portbrowser/Makefile b/ports-mgmt/portbrowser/Makefile index fe07c4e..9bbfbfb 100644 --- a/ports-mgmt/portbrowser/Makefile +++ b/ports-mgmt/portbrowser/Makefile @@ -5,12 +5,12 @@ # $FreeBSD$ PORTNAME= portbrowser -PORTVERSION= 0.4 -PORTREVISION= 1 +PORTVERSION= 0.5.20050618 CATEGORIES= ports-mgmt -MASTER_SITES= http://www.bytelabs.org/ -DISTNAME= pb-browser-${PORTVERSION} -EXTRACT_SUFX= .tgz +MASTER_SITES= ${MASTER_SITE_LOCAL} +MASTER_SITE_SUBDIR= hrs +DISTNAME= pb-browser-current-20050618 +#MASTER_SITES= http://www.bytelabs.org/ MAINTAINER= hrs@FreeBSD.org COMMENT= Graphical frontend for the BSD ports system @@ -19,12 +19,10 @@ USE_GNOME= gtk20 MAKE_ENV= MANDIR=${PREFIX}/man/man \ BINDIR=${PREFIX}/bin \ NOMANCOMPRESS=YES +CFLAGS+= -DINDEXFILE=\\\"${PORTSDIR}/${INDEXFILE}\\\" \ + -DPORTS_DIR=\\\"${PORTSDIR}\\\" PLIST_FILES= bin/pbrowser MAN1= pbrowser.1 -post-patch: - @${REINPLACE_CMD} -e 's|"INDEX"|"${INDEXFILE}"|' \ - ${WRKSRC}/src/pkgobject.h - .include <bsd.port.mk> diff --git a/ports-mgmt/portbrowser/distinfo b/ports-mgmt/portbrowser/distinfo index 41d69dc..3ee38bd 100644 --- a/ports-mgmt/portbrowser/distinfo +++ b/ports-mgmt/portbrowser/distinfo @@ -1,3 +1,3 @@ -MD5 (pb-browser-0.4.tgz) = 90c50e5785d43c092285e8b77d2b01a9 -SHA256 (pb-browser-0.4.tgz) = b9be76d7d78751e85de5705a657605f2c7ca26ec0ad91bddf7648c87a40e12d5 -SIZE (pb-browser-0.4.tgz) = 49213 +MD5 (pb-browser-current-20050618.tar.gz) = c959fc5d224084809d97e68d14e54042 +SHA256 (pb-browser-current-20050618.tar.gz) = 7b9a2ac79da28501ea8c9db9c40c1bfd465261a18532bc3e0588cb49aebaadb5 +SIZE (pb-browser-current-20050618.tar.gz) = 49032 diff --git a/ports-mgmt/portbrowser/files/patch-src-pkgobject.h b/ports-mgmt/portbrowser/files/patch-src-pkgobject.h new file mode 100644 index 0000000..845bca8 --- /dev/null +++ b/ports-mgmt/portbrowser/files/patch-src-pkgobject.h @@ -0,0 +1,19 @@ +--- src/pkgobject.h.orig Sat Jun 18 07:29:56 2005 ++++ src/pkgobject.h Mon Jun 25 01:20:20 2007 +@@ -31,12 +31,16 @@ + + #include "pkgquery.h" + ++#ifndef PORTS_DIR + #define PORTS_DIR "/usr/ports/" /* standard place for the ports dir */ ++#endif + ++#ifndef INDEXFILE + #if (defined __FreeBSD__) && (__FreeBSD_version >= 500036) + #define INDEXFILE PORTS_DIR"INDEX-5" /* this is kind of weird but thats the way it's done on FreeBSD */ + #else + #define INDEXFILE PORTS_DIR"INDEX" /* where is the INDEX File located? */ ++#endif + #endif + + #ifdef __OpenBSD__ |