Update "bidwatcher" package to version 1.3.0 beta.

Changes since version 1.1.7:
- Conversion to use the gtk+ toolkit, making this version 100% GPL clean!
- Support for auctions in foreign currencies.
- Cleaner ebay access-- i.e. instead of hardcoded IPs, we now
  do DNS lookups and follow 302 redirects
- HTTP proxy server support
- Support for eBay motors
- Uses the GNU Autoconf (configure) system
- Drag-n-drop support
This commit is contained in:
tron 2001-10-07 08:29:43 +00:00
parent c16e49e7f9
commit 8001c7927a
4 changed files with 20 additions and 151 deletions

View file

@ -1,38 +1,27 @@
# $NetBSD: Makefile,v 1.4 2001/10/06 23:06:15 tron Exp $
# $NetBSD: Makefile,v 1.5 2001/10/07 08:29:43 tron Exp $
DISTNAME= bidwatcher-1.1.6
DISTNAME= bidwatcher-1.3.0
PKGNAME= bidwatcher-1.2.99.0
CATEGORIES= misc
MASTER_SITES= http://www.midwestcs.com/bidwatcher/download/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bidwatcher/}
MAINTAINER= knotwell@ix.netcom.com
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://sourceforge.net/projects/bidwatcher/
COMMENT= eBay snipe tool
GNU_CONFIGURE= YES
USE_GMAKE= YES
MAKE_ENV+= OPTIONS="-DHAVE_GMTIME"
MAKE_ENV+= CXXFLAGS="${CFLAGS} ${CXXFLAGS}"
USE_BUILDLINK_ONLY= YES
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}; \
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
for FILE in AUTHORS COPYING INSTALL NEWS README; do \
${INSTALL_DATA} ${WRKSRC}/$$FILE ${DOCDIR}; \
done
${INSTALL_DATA_DIR} ${HTMLDIR}
${INSTALL_DATA} ${WRKSRC}/quick_start.html ${HTMLDIR}
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 "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
$NetBSD: distinfo,v 1.2 2001/10/07 08:29:43 tron Exp $
SHA1 (bidwatcher-1.1.6.tar.gz) = a3ed0c6172ab10c97c06968dd68bbc5bee8e3738
Size (bidwatcher-1.1.6.tar.gz) = 102643 bytes
SHA1 (patch-aa) = 28cb696a8b55a96b60d543c05a5cea585f5ba1aa
SHA1 (bidwatcher-1.3.0.tar.gz) = 2fc2d17d65aab43fd0b716cce3588207aebb8a68
Size (bidwatcher-1.3.0.tar.gz) = 97828 bytes

View file

@ -1,106 +0,0 @@
$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)

View file

@ -1,23 +1,10 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/22 05:38:22 jlam Exp $
@comment $NetBSD: PLIST,v 1.2 2001/10/07 08:29:44 tron Exp $
bin/bidwatcher
share/doc/bidwatcher/CHANGES
share/doc/bidwatcher/AUTHORS
share/doc/bidwatcher/COPYING
share/doc/bidwatcher/INSTALL
share/doc/bidwatcher/NEWS
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