graphical browser through ports, in gtk2.
This commit is contained in:
parent
87f53f2983
commit
e2a71b3a49
32
x11/pbrowser/Makefile
Normal file
32
x11/pbrowser/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2004/11/08 16:10:14 espie Exp $
|
||||
|
||||
COMMENT= "graphical ports system frontend"
|
||||
|
||||
V= 0.3
|
||||
DISTNAME= pb-browser-${V}
|
||||
CATEGORIES= x11 sysutils
|
||||
|
||||
MAINTAINER= Igor Boehm <igor@bytelabs.org>
|
||||
HOMEPAGE= http://www.bytelabs.org/devel.html
|
||||
|
||||
# BSD licence
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= http://www.bytelabs.org/
|
||||
EXTRACT_SUFX= .tgz
|
||||
|
||||
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
||||
LIB_DEPENDS= gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
||||
|
||||
CFLAGS+= -DIMAGEDIR=\"${PREFIX}/share/icons/pbrowser/\"
|
||||
|
||||
do-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/pbrowser
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/pbrowser ${PREFIX}/bin
|
||||
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/icons/pbrowser
|
||||
${INSTALL_MAN} ${WRKSRC}/src/pbrowser.cat1 ${PREFIX}/man/cat1/pbrowser.0
|
||||
|
||||
.include <bsd.port.mk>
|
3
x11/pbrowser/distinfo
Normal file
3
x11/pbrowser/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (pb-browser-0.3.tgz) = 5ea939c43b382e4a3e05ed6a5b7de48e
|
||||
RMD160 (pb-browser-0.3.tgz) = f4ead5a96526d5ac581f2362dfa0cf0ac2394228
|
||||
SHA1 (pb-browser-0.3.tgz) = a5592030bbf4d9bd10019aae2995d278d474f6cc
|
18
x11/pbrowser/patches/patch-src_Makefile
Normal file
18
x11/pbrowser/patches/patch-src_Makefile
Normal file
@ -0,0 +1,18 @@
|
||||
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2004/11/08 16:10:14 espie Exp $
|
||||
--- src/Makefile.orig Mon Nov 8 08:58:11 2004
|
||||
+++ src/Makefile Mon Nov 8 08:58:25 2004
|
||||
@@ -10,13 +10,12 @@ SRCS+= main.c
|
||||
|
||||
CFLAGS+= -DPBVERSION=\"\"
|
||||
CFLAGS+= -D__ARCH__=\"${MACHINE_ARCH}\" -D__OSREV__=\"$(OSREV)\"
|
||||
-CFLAGS+= -DIMAGEDIR=\"${.CURDIR}/../pixmaps/\"
|
||||
CFLAGS+= -I${.CURDIR} `pkg-config --cflags glib-2.0 gtk+-2.0 gdk-2.0`
|
||||
CFLAGS+= -Wall -W -Wmissing-prototypes -Wbad-function-cast
|
||||
CFLAGS+= -Wmissing-declarations -Wpointer-arith
|
||||
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
|
||||
#CFLAGS+= -DDEBUG=0
|
||||
-LDADD= `pkg-config --libs glib-2.0 gthread-2.0 gtk+-2.0 gdk-2.0` -lutil
|
||||
+LDADD= `pkg-config --libs glib-2.0 gthread-2.0 gtk+-2.0 gdk-2.0` -lutil -lpthread
|
||||
YFLAGS+= -d
|
||||
MAN= pbrowser.1
|
||||
CLEANFILES+= gram.c scan.c y.tab.h pbrowser.cat1
|
11
x11/pbrowser/pkg/DESCR
Normal file
11
x11/pbrowser/pkg/DESCR
Normal file
@ -0,0 +1,11 @@
|
||||
The pbrowser is a graphical frontend for the ports(7) system. It allows
|
||||
for easy browsing through the ports tree and offers search facilities to
|
||||
a certain extent (e.g. search for all packages which depend on package
|
||||
glib-2.0 etc.).
|
||||
|
||||
pbrowser also allows the user to install either prebuilt packages or to
|
||||
install from the ports(7) system. There are also two possibilities for
|
||||
the removal of installed packages allowing the user to either remove a
|
||||
package with all of the packages which depend on it, or to quit the pro-
|
||||
cess of removal if other packages depend on the package to be removed.
|
||||
|
9
x11/pbrowser/pkg/PLIST
Normal file
9
x11/pbrowser/pkg/PLIST
Normal file
@ -0,0 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/11/08 16:10:14 espie Exp $
|
||||
bin/pbrowser
|
||||
@man man/cat1/pbrowser.0
|
||||
share/icons/
|
||||
share/icons/pbrowser/
|
||||
share/icons/pbrowser/pb-install_pkg.png
|
||||
share/icons/pbrowser/pb-install_port.png
|
||||
share/icons/pbrowser/pb-uninstall.png
|
||||
share/icons/pbrowser/pb-uninstall_force.png
|
Loading…
Reference in New Issue
Block a user