aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/bpm
diff options
context:
space:
mode:
Diffstat (limited to 'ports-mgmt/bpm')
-rw-r--r--ports-mgmt/bpm/Makefile37
-rw-r--r--ports-mgmt/bpm/distinfo2
-rw-r--r--ports-mgmt/bpm/files/bpm.desktop.in9
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.global.mk13
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.lib.mk25
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.localerule.mk19
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.progrule.mk21
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.scriptrule.mk18
-rw-r--r--ports-mgmt/bpm/files/patch-mk_sk.sharerule.mk18
-rw-r--r--ports-mgmt/bpm/files/patch-src__refresh.c61
-rw-r--r--ports-mgmt/bpm/files/patch-src_install.c19
-rw-r--r--ports-mgmt/bpm/pkg-descr14
-rw-r--r--ports-mgmt/bpm/pkg-plist12
13 files changed, 0 insertions, 268 deletions
diff --git a/ports-mgmt/bpm/Makefile b/ports-mgmt/bpm/Makefile
deleted file mode 100644
index 94b321b132fb..000000000000
--- a/ports-mgmt/bpm/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# Created by: sethk
-# $FreeBSD$
-
-PORTNAME= bpm
-PORTVERSION= 0.4.1b
-PORTREVISION= 19
-CATEGORIES= ports-mgmt
-MASTER_SITES= http://www.meowfishies.com/code/bpm/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Graphical BSD ports collection manager
-
-LICENSE= BSD4CLAUSE
-
-RUN_DEPENDS= portupgrade:${PORTSDIR}/ports-mgmt/portupgrade \
- gnomesu:${PORTSDIR}/security/libgnomesu \
- gdialog:${PORTSDIR}/x11/zenity
-
-USES= pkgconfig tar:tgz
-USE_GNOME= gtk20
-
-MAKE_ENV+= OSTYPE="${OPSYS}"
-
-SUB_FILES= bpm.desktop
-
-post-patch:
- @${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
- ${REINPLACE_CMD} -e "s|-lintl|-lintl -L${LOCALBASE}/lib|g"
-# GnomeVFS needs pthread; bpm may use GnomeVFS (via GtkFileChooser)
- @${REINPLACE_CMD} -e 's|^LDLIBS+=|& -lpthread|' ${WRKSRC}/src/Makefile
- @${REINPLACE_CMD} -e 's|<glib/.*.h>|<glib.h>|g' \
- ${WRKSRC}/src/*.h
-
-post-install:
- ${INSTALL_DATA} ${WRKDIR}/bpm.desktop ${STAGEDIR}${PREFIX}/share/applications/bpm.desktop
-
-.include <bsd.port.mk>
diff --git a/ports-mgmt/bpm/distinfo b/ports-mgmt/bpm/distinfo
deleted file mode 100644
index f02dcffb9b2e..000000000000
--- a/ports-mgmt/bpm/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (bpm-0.4.1b.tgz) = 8ed675ad6f572fd2872e40ab5d037f9175ce23020cd0abab403665f3a6935fc1
-SIZE (bpm-0.4.1b.tgz) = 98457
diff --git a/ports-mgmt/bpm/files/bpm.desktop.in b/ports-mgmt/bpm/files/bpm.desktop.in
deleted file mode 100644
index ad773b9d6038..000000000000
--- a/ports-mgmt/bpm/files/bpm.desktop.in
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Comment=The BSD Ports Manipulator
-Name=BPM
-Exec=gnomesu %%PREFIX%%/bin/bpm
-Encoding=UTF-8
-Terminal=false
-Type=Application
-Icon=%%PREFIX%%/share/bpm/pixmaps/pkg_48.png
-Categories=Application;System;
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.global.mk b/ports-mgmt/bpm/files/patch-mk_sk.global.mk
deleted file mode 100644
index 84e81b9b494c..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.global.mk
+++ /dev/null
@@ -1,13 +0,0 @@
---- mk/sk.global.mk.orig 2004-08-24 04:03:29 UTC
-+++ mk/sk.global.mk
-@@ -51,10 +51,6 @@ CPPFLAGS+= -I${.CURDIR}/${BASE_DIR}/mk/i
- .PATH: ${.CURDIR}/${BASE_DIR}/mk/src
- PICFLAGS = -fpic
-
--.if ${OSTYPE} == "FreeBSD"
--.include <bsd.sys.mk>
--.endif
--
- CXX?= c++
-
- AR?= ar
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.lib.mk b/ports-mgmt/bpm/files/patch-mk_sk.lib.mk
deleted file mode 100644
index c58da1de3a3f..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.lib.mk
+++ /dev/null
@@ -1,25 +0,0 @@
---- mk/sk.lib.mk.orig 2004-06-08 00:31:49 UTC
-+++ mk/sk.lib.mk
-@@ -83,16 +83,16 @@ ${LIB}.so${SO_SUFFIX}: ${SOBJS}
- install:
- .ifndef INTERNAL_LIB
- .ifndef NO_STATIC
-- [ -d ${PREFIX}/${LIB_DIR} ] ||\
-- mkdir -p -m ${DIR_MODE} ${PREFIX}/${LIB_DIR}
-+ [ -d ${DESTDIR}${PREFIX}/${LIB_DIR} ] ||\
-+ mkdir -p -m ${DIR_MODE} ${DESTDIR}${PREFIX}/${LIB_DIR}
- ${INSTALL} ${INST_FLAGS} ${STRIP} -o ${LIB_OWN} -g ${LIB_GRP}\
-- -m ${LIB_MODE} ${LIB}.a ${PREFIX}/${LIB_DIR}
-+ -m ${LIB_MODE} ${LIB}.a ${DESTDIR}${PREFIX}/${LIB_DIR}
- .endif
- .ifndef NO_SHARED
-- [ -d ${PREFIX}/${LIB_DIR} ] ||\
-- mkdir -p -m ${DIR_MODE} ${PREFIX}/${LIB_DIR}
-+ [ -d ${DESTDIR}${PREFIX}/${LIB_DIR} ] ||\
-+ mkdir -p -m ${DIR_MODE} ${DESTDIR}${PREFIX}/${LIB_DIR}
- ${INSTALL} ${INST_FLAGS} ${STRIP} -o ${LIB_OWN} -g ${LIB_GRP}\
-- -m ${LIB_MODE} ${LIB}.so${SO_SUFFIX} ${PREFIX}/${LIB_DIR}
-+ -m ${LIB_MODE} ${LIB}.so${SO_SUFFIX} ${DESTDIR}${PREFIX}/${LIB_DIR}
- .endif
- .endif # INTERNAL_LIB
-
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.localerule.mk b/ports-mgmt/bpm/files/patch-mk_sk.localerule.mk
deleted file mode 100644
index 602e22796389..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.localerule.mk
+++ /dev/null
@@ -1,19 +0,0 @@
---- mk/sk.localerule.mk.orig 2004-08-24 03:15:03 UTC
-+++ mk/sk.localerule.mk
-@@ -36,12 +36,12 @@
-
- install:
- @set -x; for l in ${LANGS}; do\
-- [ -d ${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES ] ||\
-+ [ -d ${DESTDIR}${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES ] ||\
- mkdir -p -m ${DIR_MODE}\
-- ${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES;\
-- ${INSTALL} ${INST_FLAGS} -o ${SHARE_OWN} -g ${SHARE_GRP} -m\
-+ ${DESTDIR}${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES;\
-+ ${INSTALL} ${INST_FLAGS} -m\
- ${SHARE_MODE} $$l.mo\
-- ${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES/${PACKAGE}.mo;\
-+ ${DESTDIR}${PREFIX}/${LOCALE_DIR}/$$l/LC_MESSAGES/${PACKAGE}.mo;\
- done
-
- .include "sk.targets.mk"
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.progrule.mk b/ports-mgmt/bpm/files/patch-mk_sk.progrule.mk
deleted file mode 100644
index 916e6d61f15a..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.progrule.mk
+++ /dev/null
@@ -1,21 +0,0 @@
---- mk/sk.progrule.mk.orig 2004-06-07 23:11:45 UTC
-+++ mk/sk.progrule.mk
-@@ -40,13 +40,13 @@ all: ${PROG}.${MAN_SECT}
- .endif
-
- install::
-- [ -d ${PREFIX}/${BIN_DIR} ] ||\
-- mkdir -p -m ${DIR_MODE} ${PREFIX}/${BIN_DIR}
-- ${INSTALL} ${INST_FLAGS} ${STRIP} -o ${BIN_OWN} -g ${BIN_GRP} ${PROG}\
-- ${PREFIX}/${BIN_DIR}
-+ [ -d ${DESTDIR}${PREFIX}/${BIN_DIR} ] ||\
-+ mkdir -p -m ${DIR_MODE} ${DESTDIR}${PREFIX}/${BIN_DIR}
-+ ${INSTALL} ${INST_FLAGS} ${STRIP} ${PROG}\
-+ ${DESTDIR}${PREFIX}/${BIN_DIR}
- .ifndef NOMAN
- [ -d ${MAN_DIR} ] || @mkdir -p -m ${DIR_MODE} ${MAN_DIR}
-- ${INSTALL} ${INST_FLAGS} -o ${SHARE_OWN} -g ${SHARE_GRP}\
-+ ${INSTALL} ${INST_FLAGS} \
- -m ${SHARE_MODE} ${PROG}.${MAN_SECT} ${MAN_DIR}
- @for l in ${MAN_LINKS};\
- do ln -sfv ${MAN_DIR}/${PROG}.${MAN_SECT} $$l;\
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.scriptrule.mk b/ports-mgmt/bpm/files/patch-mk_sk.scriptrule.mk
deleted file mode 100644
index b31ca6e82358..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.scriptrule.mk
+++ /dev/null
@@ -1,18 +0,0 @@
---- mk/sk.scriptrule.mk.orig 2004-06-02 02:09:53 UTC
-+++ mk/sk.scriptrule.mk
-@@ -37,11 +37,11 @@
- all:
-
- install:
-- [ -d ${PREFIX}/${SCRIPT_DIR} ] ||\
-- mkdir -p -m ${DIR_MODE} ${PREFIX}/${SCRIPT_DIR}
-+ [ -d ${DESTDIR}${PREFIX}/${SCRIPT_DIR} ] ||\
-+ mkdir -p -m ${DIR_MODE} ${DESTDIR}${PREFIX}/${SCRIPT_DIR}
- @set -x; for s in ${SCRIPTS}; do\
-- ${INSTALL} ${INST_FLAGS} -o ${BIN_OWN} -g ${BIN_GRP}\
-- -m ${BIN_MODE} $$s.*sh ${PREFIX}/${SCRIPT_DIR}/$$s;\
-+ ${INSTALL} ${INST_FLAGS} \
-+ -m ${BIN_MODE} $$s.*sh ${DESTDIR}${PREFIX}/${SCRIPT_DIR}/$$s;\
- done
-
- .include "${BASE_DIR}/mk/sk.targets.mk"
diff --git a/ports-mgmt/bpm/files/patch-mk_sk.sharerule.mk b/ports-mgmt/bpm/files/patch-mk_sk.sharerule.mk
deleted file mode 100644
index 30e31506487b..000000000000
--- a/ports-mgmt/bpm/files/patch-mk_sk.sharerule.mk
+++ /dev/null
@@ -1,18 +0,0 @@
---- mk/sk.sharerule.mk.orig 2004-07-23 03:45:59 UTC
-+++ mk/sk.sharerule.mk
-@@ -37,11 +37,11 @@
- all: ${SHARES}
-
- install:
-- [ -d ${PREFIX}/${SHARE_DIR} ] ||\
-- mkdir -p -m ${DIR_MODE} ${PREFIX}/${SHARE_DIR}
-+ [ -d ${DESTDIR}${PREFIX}/${SHARE_DIR} ] ||\
-+ mkdir -p -m ${DIR_MODE} ${DESTDIR}${PREFIX}/${SHARE_DIR}
- @set -x; for s in ${SHARES}; do\
-- ${INSTALL} -o ${SHARE_OWN} -g ${SHARE_GRP} -m ${SHARE_MODE}\
-- $$s ${PREFIX}/${SHARE_DIR};\
-+ ${INSTALL} -m ${SHARE_MODE}\
-+ $$s ${DESTDIR}${PREFIX}/${SHARE_DIR};\
- done
-
- .include "${BASE_DIR}/mk/sk.targets.mk"
diff --git a/ports-mgmt/bpm/files/patch-src__refresh.c b/ports-mgmt/bpm/files/patch-src__refresh.c
deleted file mode 100644
index 039cd8b0edcd..000000000000
--- a/ports-mgmt/bpm/files/patch-src__refresh.c
+++ /dev/null
@@ -1,61 +0,0 @@
---- src/refresh.c.orig 2004-08-24 02:40:08 UTC
-+++ src/refresh.c
-@@ -62,8 +62,18 @@
- __RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
-
- /* XXX use libinstall/lib.h */
-+#if __FreeBSD_version >= 800000
-+#define INDEX_FN PORTS_BASE "/INDEX-8"
-+#elif __FreeBSD_version >= 700000
-+#define INDEX_FN PORTS_BASE "/INDEX-7"
-+#elif __FreeBSD_version >= 600000
-+#define INDEX_FN PORTS_BASE "/INDEX-6"
-+#elif __FreeBSD_version >= 500036
-+#define INDEX_FN PORTS_BASE "/INDEX-5"
-+#else
- #define INDEX_FN PORTS_BASE "/INDEX"
--#define INDEX_MAXLN 4096
-+#endif
-+#define INDEX_MAXLN 16384
- #define DB_DIR "/var/db/pkg"
- #define ITER_BYTES (128 * 1024)
- #define ITER_ENTS 32
-@@ -183,10 +193,12 @@ _refresh_index_parse(gchar *line,
- if (*sp == '|')
- ++i;
-
-- if (i != (PFIELD_NFIELD - 1))
-+ if (i < (PFIELD_NFIELD - 1))
- {
- #ifdef DEBUG
-- warnx("invalid number of fields");
-+ warnx("invalid number of fields (%d should be %d)",
-+ i + 1,
-+ PFIELD_NFIELD);
- #endif /* DEBUG */
- return FALSE;
- }
-@@ -195,12 +207,9 @@ _refresh_index_parse(gchar *line,
-
- for (i = 0; i < PFIELD_NFIELD; ++i)
- {
-- if (i < PFIELD_NFIELD - 1)
-- {
-- if (!(sp = strchr(line, '|')))
-- break;
-- *sp++ = '\0';
-- }
-+ if (!(sp = strchr(line, '|')) && i < PFIELD_NFIELD - 1)
-+ break;
-+ *sp++ = '\0';
-
- switch (i)
- {
-@@ -320,7 +329,6 @@ _refresh_index_iter(struct refresh_data
-
- if (_refresh_index_parse(ln, portdp, rdp) != TRUE)
- {
-- _refresh_portfree(portdp);
- #ifdef DEBUG
- warnx("%s:%u: invalid format", INDEX_FN, rdp->rd_linec);
- #endif /* DEBUG */
diff --git a/ports-mgmt/bpm/files/patch-src_install.c b/ports-mgmt/bpm/files/patch-src_install.c
deleted file mode 100644
index 25763f751e9e..000000000000
--- a/ports-mgmt/bpm/files/patch-src_install.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/install.c.orig 2004-08-24 04:03:44 UTC
-+++ src/install.c
-@@ -958,6 +958,8 @@ install_action_run(struct install_data *
- av[ac++] = "SU_CMD=" SU_CMD;
- av[ac++] = "-M";
- av[ac++] = "FETCH_CMD=" FETCH_CMD;
-+ av[ac++] = "-M";
-+ av[ac++] = "DIALOG=gdialog";
- av[ac++] = "-s";
- av[ac++] = "-S";
- av[ac++] = SU_CMD " '%s'";
-@@ -971,6 +973,7 @@ install_action_run(struct install_data *
- av[ac++] = "make";
- av[ac++] = "SU_CMD=" SU_CMD;
- av[ac++] = "FETCH_CMD=" FETCH_CMD;
-+ av[ac++] = "DIALOG=gdialog";
-
- if (iadp->ia_action == INSTACT_PACKAGE)
- {
diff --git a/ports-mgmt/bpm/pkg-descr b/ports-mgmt/bpm/pkg-descr
deleted file mode 100644
index 0b6bcff82c70..000000000000
--- a/ports-mgmt/bpm/pkg-descr
+++ /dev/null
@@ -1,14 +0,0 @@
-BSD Ports Manipulator (BPM) is a graphical ports collection manager for
-FreeBSD. It has a GTK+ 2.0 interface and allows you to add, remove, or
-upgrade software packages on your system without requiring you to use a
-command-line. In addition, it can display details about available,
-installed, and out-of-date ports, as well as allowing you to search
-based on port descriptions.
-
-BPM uses the existing ports collection structure, allowing it to build
-ports from source and integrate seamlessly with other tools.
-
-This project started out as a clone of Ports Manager.app for
-DarwinPorts.
-
-WWW: http://www.meowfishies.com/software/bpm
diff --git a/ports-mgmt/bpm/pkg-plist b/ports-mgmt/bpm/pkg-plist
deleted file mode 100644
index 3b40872b97a2..000000000000
--- a/ports-mgmt/bpm/pkg-plist
+++ /dev/null
@@ -1,12 +0,0 @@
-bin/bpm
-bin/gtk-su
-libexec/bpm/term
-libexec/bpm/fetch-wrapper
-%%DATADIR%%/pixmaps/term_16.png
-%%DATADIR%%/pixmaps/term_24.png
-%%DATADIR%%/pixmaps/pkg_16.png
-%%DATADIR%%/pixmaps/pkg_24.png
-%%DATADIR%%/pixmaps/pkg_48.png
-%%DATADIR%%/pixmaps/lock_48.png
-share/locale/en_CA/LC_MESSAGES/bpm.mo
-share/applications/bpm.desktop