summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-09-22 05:38:22 +0000
committerjlam <jlam@pkgsrc.org>2001-09-22 05:38:22 +0000
commite698e70516ecf8c3c71ebadee9853b6c60a33be9 (patch)
tree3aa9f286945d7f1e523d11378ff0a54918765dfb /misc
parentc5b06f098664668aca75d5744a7be298d98551ca (diff)
downloadpkgsrc-e698e70516ecf8c3c71ebadee9853b6c60a33be9.tar.gz
BidWatcher is a tool for people using the giant eBay auction site. It
uses your eBay id and password to track your eBay listings, items that you have bid on, and items that you enter by hand. It also has an integrated snipe tool. This was initially provided by Brad Knotwell <knotwell@ix.netcom.com> in pkg/13128 but has been heavily modified to remove FreeBSDisms and to use buildlink.mk files.
Diffstat (limited to 'misc')
-rw-r--r--misc/bidwatcher/Makefile38
-rw-r--r--misc/bidwatcher/distinfo5
-rw-r--r--misc/bidwatcher/patches/patch-aa106
-rw-r--r--misc/bidwatcher/pkg/DESCR4
-rw-r--r--misc/bidwatcher/pkg/PLIST23
5 files changed, 176 insertions, 0 deletions
diff --git a/misc/bidwatcher/Makefile b/misc/bidwatcher/Makefile
new file mode 100644
index 00000000000..578171a11b3
--- /dev/null
+++ b/misc/bidwatcher/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
+#
+# FreeBSD Id: ports/misc/bidwatcher/Makefile,v 1.13 2001/04/03 08:14:17 will Exp
+
+DISTNAME= bidwatcher-1.1.6
+CATEGORIES= misc
+MASTER_SITES= http://www.midwestcs.com/bidwatcher/download/
+
+MAINTAINER= knotwell@ix.netcom.com
+HOMEPAGE= http://www.midwestcs.com/bidwatcher/
+COMMENT= Ebay snipe tool
+
+USE_GMAKE= YES
+MAKE_ENV+= OPTIONS="-DHAVE_GMTIME"
+MAKE_ENV+= CXXFLAGS="${CFLAGS} ${CXXFLAGS}"
+
+FILES_SUBST= BUILDLINK_DIR=${BUILDLINK_DIR}
+FILES_SUBST+= BUILDLINK_X11_DIR=${BUILDLINK_X11_DIR}
+FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+
+DOCDIR= ${PREFIX}/share/doc/bidwatcher
+HTMLDIR= ${PREFIX}/share/doc/html/bidwatcher
+
+post-patch:
+ cd ${WRKSRC}; for file in Makefile; do \
+ ${SED} ${FILES_SUBST_SED} $${file} >> $${file}.fixed; \
+ ${MV} -f $${file}.fixed $${file}; \
+ done
+
+do-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR} ${HTMLDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/bidwatcher ${PREFIX}/bin
+ cd ${WRKSRC}; ${INSTALL_DATA} README INSTALL CHANGES ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${HTMLDIR}
+
+.include "../../x11/qt2-libs/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/bidwatcher/distinfo b/misc/bidwatcher/distinfo
new file mode 100644
index 00000000000..458b81922ee
--- /dev/null
+++ b/misc/bidwatcher/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
+
+SHA1 (bidwatcher-1.1.6.tar.gz) = a3ed0c6172ab10c97c06968dd68bbc5bee8e3738
+Size (bidwatcher-1.1.6.tar.gz) = 102643 bytes
+SHA1 (patch-aa) = 28cb696a8b55a96b60d543c05a5cea585f5ba1aa
diff --git a/misc/bidwatcher/patches/patch-aa b/misc/bidwatcher/patches/patch-aa
new file mode 100644
index 00000000000..1fcccb71fdf
--- /dev/null
+++ b/misc/bidwatcher/patches/patch-aa
@@ -0,0 +1,106 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
+
+--- Makefile.orig Fri Jun 9 17:12:46 2000
++++ Makefile
+@@ -5,71 +5,49 @@
+ # Tom McNair (tmcnair@cyberhighway.net)
+ # Wayne Schlitt (wayne@midwestcs.com)
+ #
+-# Makefile
++# Makefile for FreeBSD courtesy of Will Andrews <andrews@technologist.com>
+ #
+ # CHANGE WHAT YOU NEED TO, THE MOST LIKELY CANDIDATES FOR CHANGE ARE:
+ # QTDIR, SYSCONF_CFLAGS_X11, SYSCONF_LFLAGS_X11, SYSCONF_MOC
+
+-#
+-# You might want to add one of these defines to the OPTIONS variable:
+-#
+-# Bidwatcher needs to determine the local time on the west coast of
+-# the US in order to figure out when auctions will end. To do this,
+-# it first needs to know the time as GMT. Apparently, there is no
+-# good portable way to do this, so you may have to select one of these
+-# options if compiles fail.
+-#
+-# -DHAVE_GMTIME Define if you want to use the BSD gmtime() function
+-# -DHAVE_TIMEZONE Define if you want to use the SVID localtime function
+-# -DHAVE_GMTOFF Define if you want to use the tm_gmtoff
+-#
+-#
+-# -DDEBUG_NETWORK Define if you want network debuging spewed to stderr
+-#
+-
+-#OPTIONS= -DHAVE_GMTOFF -DDEBUG_NETWORK
+-OPTIONS= -DHAVE_GMTOFF
+-
+-SYSCONF_CC = g++
++SYSCONF_CC = ${CXX}
+
+-QTDIR = /usr/include/qt
+-SYSCONF_CFLAGS_X11 = -I/usr/X11R6/include
+-SYSCONF_CFLAGS_QT = -I$(QTDIR)
+-SYSCONF_CFLAGS_OPENGL = -I/usr/X11R6/include
++#QTDIR = /usr/include/qt2
++SYSCONF_CFLAGS_X11 = -I@BUILDLINK_X11_DIR@/include
++SYSCONF_CFLAGS_QT = -I$(QTDIR)/include
++SYSCONF_CFLAGS_OPENGL = -I@BUILDLINK_DIR@/include -I@BUILDLINK_X11_DIR@/include
+
+ # Compiline YACC output
+ SYSCONF_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+
+ # X11
+-SYSCONF_LFLAGS_X11 = -L/usr/X11R6/lib
+-SYSCONF_LIBS_X11 = -lX11 -lXext
++SYSCONF_LFLAGS_X11 = -L@BUILDLINK_X11_DIR@/lib
++SYSCONF_LIBS_X11 = -lXext -lX11 -lm
+ # Qt, Qt+OpenGL
+ SYSCONF_LFLAGS_QT = -L$(QTDIR)/lib
+ SYSCONF_LIBS_QT = -lqt
+-#static# SYSCONF_LIBS_QT = -lqt -lpng -lz
+-#SYSCONF_LIBS_QT_OPENGL = -lqgl
++SYSCONF_LIBS_QT_OPENGL =
+ # OpenGL
+-#SYSCONF_LFLAGS_OPENGL = -L/usr/X11R6/lib
+-#SYSCONF_LIBS_OPENGL = -lMesaGL -lMesaGLU -lXmu -lXext -lm
++SYSCONF_LFLAGS_OPENGL = -L@BUILDLINK_DIR@/lib -L@BUILDLINK_X11_DIR@/lib
++SYSCONF_LIBS_OPENGL = -lGL -lGLU -lXmu
+
+ # Linking applications
+-SYSCONF_LINK = g++
+-SYSCONF_LFLAGS =
+-#static# SYSCONF_LFLAGS = -static
++SYSCONF_LINK = ${CXX}
++SYSCONF_LFLAGS = ${LDFLAGS}
+ SYSCONF_LIBS =
+
+ # Link flags shared objects
+ SYSCONF_LFLAGS_SHOBJ = -shared
+
+ # Meta-object compiler
+-SYSCONF_MOC = /usr/bin/moc
++SYSCONF_MOC = ${QTDIR}/bin/moc
+
+ # Linking shared libraries
+ # - Build the $(TARGET) library, eg. lib$(TARGET).so.0.0
+ # - Place target in $(DESTDIR) - which has a trailing /
+ # - Usually needs to incorporate $(VER_MAJ) and $(VER_MIN)
+ #
+-SYSCONF_LINK_SHLIB = g++
++SYSCONF_LINK_SHLIB = ${CXX}
+ SYSCONF_LINK_TARGET_SHARED = lib$(TARGET).so.$(VER_MAJ).$(VER_MIN)
+ SYSCONF_LINK_LIB_SHARED = $(SYSCONF_LINK_SHLIB) -shared -Wl,-soname,lib$(TARGET).so.$(VER_MAJ) \
+ $(LFLAGS) -o $(SYSCONF_LINK_TARGET_SHARED) \
+@@ -90,11 +68,11 @@
+ $(SYSCONF_AR) $(DESTDIR)$(SYSCONF_LINK_TARGET_STATIC) $(OBJECTS) $(OBJMOC)
+ # Compiling application source
+ #SYSCONF_CFLAGS = -Wall -g $(OPTIONS)
+-SYSCONF_CFLAGS = -O2 -Wall $(OPTIONS)
++SYSCONF_CFLAGS = ${CXXFLAGS} $(OPTIONS)
+ # Compiling library source
+-SYSCONF_CFLAGS_LIB = -O2 -fno-strength-reduce -fPIC
++SYSCONF_CFLAGS_LIB = ${CXXFLAGS} -fno-strength-reduce -fPIC
+ # Compiling shared-object source
+-SYSCONF_CFLAGS_SHOBJ = -O2 -fno-strength-reduce -fPIC
++SYSCONF_CFLAGS_SHOBJ = ${CXXFLAGS} -fno-strength-reduce -fPIC
+ # Default link type (stati linking is still be used where required)
+ SYSCONF_LINK_LIB = $(SYSCONF_LINK_LIB_SHARED)
+ SYSCONF_LINK_TARGET = $(SYSCONF_LINK_TARGET_SHARED)
diff --git a/misc/bidwatcher/pkg/DESCR b/misc/bidwatcher/pkg/DESCR
new file mode 100644
index 00000000000..f8a8e14b279
--- /dev/null
+++ b/misc/bidwatcher/pkg/DESCR
@@ -0,0 +1,4 @@
+BidWatcher is a tool for people using the giant eBay auction site. It
+uses your eBay id and password to track your eBay listings, items that you
+have bid on, and items that you enter by hand. It also has an integrated
+snipe tool.
diff --git a/misc/bidwatcher/pkg/PLIST b/misc/bidwatcher/pkg/PLIST
new file mode 100644
index 00000000000..8e1cd26c643
--- /dev/null
+++ b/misc/bidwatcher/pkg/PLIST
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
+bin/bidwatcher
+share/doc/bidwatcher/CHANGES
+share/doc/bidwatcher/INSTALL
+share/doc/bidwatcher/README
+share/doc/html/bidwatcher/about_icon.png
+share/doc/html/bidwatcher/add_icon.png
+share/doc/html/bidwatcher/add_window.png
+share/doc/html/bidwatcher/auction_details.png
+share/doc/html/bidwatcher/bid_log.png
+share/doc/html/bidwatcher/bid_window.png
+share/doc/html/bidwatcher/exit_icon.png
+share/doc/html/bidwatcher/main_window.png
+share/doc/html/bidwatcher/popup_menu.png
+share/doc/html/bidwatcher/preferences.png
+share/doc/html/bidwatcher/prefs_icon.png
+share/doc/html/bidwatcher/quick_start.html
+share/doc/html/bidwatcher/screen_shots.html
+share/doc/html/bidwatcher/stop_icon.png
+share/doc/html/bidwatcher/sync_icon.png
+share/doc/html/bidwatcher/update_icon.png
+@dirrm share/doc/html/bidwatcher
+@dirrm share/doc/bidwatcher