# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # . # ./Makefile # ./distinfo # ./files # ./files/patch-configure.in # ./files/patch-hk_drivermanager.cpp # ./files/patch-aclocal.m4 # ./pkg-comment # ./pkg-descr # ./pkg-plist # echo c - . mkdir -p . > /dev/null 2>&1 echo x - ./Makefile sed 's/^X//' >./Makefile << 'END-of-./Makefile' X# New ports collection makefile for: hk_classes X# Date created: 25 July 2002 X# Whom: Tilman Linneweh X# X# $FreeBSD$ X XPORTNAME= hk_classes XPORTVERSION= 0.5.3 XCATEGORIES= databases XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= hk-classes X XMAINTAINER= freebsdports@arved.de X XLIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \ X mysqlclient.10:${PORTSDIR}/databases/mysql323-client XBUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf X XCONFIGURE_TARGET= XCONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} \ X -with-mysql-dir=${LOCALBASE} \ X --with-mysql-incdir=${LOCALBASE}/include/mysql XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ X LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/lib/mysql" XUSE_AUTOMAKE= yes XAUTOMAKE_ARGS+= --add-missing XAUTOCONF= autoconf XUSE_REINPLACE= yes XUSE_LIBTOOL= yes XINSTALLS_SHLIB= yes X Xpre-patch: X cd ${WRKSRC}/hk_classes; \ X ${REINPLACE_CMD} -e 's,clearenv,\/\/clearenv,' hk_report.cpp; X Xpre-configure: X cd ${WRKSRC} && ${AUTOCONF} X X.include END-of-./Makefile echo x - ./distinfo sed 's/^X//' >./distinfo << 'END-of-./distinfo' XMD5 (hk_classes-0.5.3.tar.gz) = 50acec198bb8ab66fcfbc3dcb1c13abb END-of-./distinfo echo c - ./files mkdir -p ./files > /dev/null 2>&1 echo x - ./files/patch-configure.in sed 's/^X//' >./files/patch-configure.in << 'END-of-./files/patch-configure.in' X--- configure.in.orig Fri Jul 26 13:38:08 2002 X+++ configure.in Fri Jul 26 13:44:44 2002 X@@ -12,6 +12,7 @@ X AM_PROG_LIBTOOL X AC_LANG_CPLUSPLUS X AC_PROG_CXX X+LIBICONV="-liconv" X AM_ICONV_LINK X AM_ICONV X HK_CLASSESINIT END-of-./files/patch-configure.in echo x - ./files/patch-hk_drivermanager.cpp sed 's/^X//' >./files/patch-hk_drivermanager.cpp << 'END-of-./files/patch-hk_drivermanager.cpp' X--- hk_classes/hk_drivermanager.cpp.orig Sun Jul 14 17:15:18 2002 X+++ hk_classes/hk_drivermanager.cpp Mon Jul 29 20:18:20 2002 X@@ -97,7 +97,7 @@ X #endif X connection=(connectiontype*)dlsym(handle,"create_connection"); X X- if ((error=dlerror())!=NULL||connection==NULL) X+ if ((dlerror())!=NULL||connection==NULL) X { X if (interactive) X show_warningmessage(hk_translate("Internal error: Database driver not compatibel")); END-of-./files/patch-hk_drivermanager.cpp echo x - ./files/patch-aclocal.m4 sed 's/^X//' >./files/patch-aclocal.m4 << 'END-of-./files/patch-aclocal.m4' X--- aclocal.m4.orig Fri Jul 19 19:48:22 2002 X+++ aclocal.m4 Fri Jul 26 15:53:42 2002 X@@ -36,8 +36,8 @@ X if test "$prefix" = "NONE"; then X HK_CLASSESDIR=/usr/lib/hk_classes X HK_CLASSESINCDIR=/usr/include/hk_classes X-else HK_CLASSESDIR=$prefix X-HK_CLASSESINCDIR=$HK_CLASSESDIR/include X+else HK_CLASSESDIR=$prefix/lib/hk_classes X+HK_CLASSESINCDIR=$prefix/include X X fi X X@@ -388,10 +388,10 @@ X [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl X X # This can be used to rebuild libtool when needed X-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" X+LIBTOOL_DEPS="--disable-ltlibs /usr/local/share/libtool/ltmain.sh" X X # Always use our own libtool. X-LIBTOOL='$(SHELL) $(top_builddir)/libtool' X+LIBTOOL='libtool' X AC_SUBST(LIBTOOL)dnl X X # Prevent multiple expansion END-of-./files/patch-aclocal.m4 echo x - ./pkg-comment sed 's/^X//' >./pkg-comment << 'END-of-./pkg-comment' XC++ Library for rapid development of database applications END-of-./pkg-comment echo x - ./pkg-descr sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr' Xhk_classes is C++ library which allows rapid development of database Xapplications with all features a modern database application should Xhave like forms an reports. X Xhk_classes is database and GUI independent. XIn combination with hk_kdeclasses it supports the rapid development Xof database applications for KDE. X XAuthor: Horst Knorr XWWW: http://hk-classes.sourceforge.net/ END-of-./pkg-descr echo x - ./pkg-plist sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist' Xinclude/hk_string.h Xinclude/hk_database.h Xinclude/hk_connection.h Xinclude/hk_datasource.h Xinclude/hk_column.h Xinclude/hk_class.h Xinclude/hk_definitions.h Xinclude/hk_storagedatasource.h Xinclude/hk_storagecolumn.h Xinclude/hk_data.h Xinclude/hk_visible.h Xinclude/hk_dsvisible.h Xinclude/hk_dsdatavisible.h Xinclude/hk_actionquery.h Xinclude/hk_dsgrid.h Xinclude/hk_dsgridcolumn.h Xinclude/hk_datetime.h Xinclude/hk_classes.h Xinclude/hk_label.h Xinclude/hk_report.h Xinclude/hk_reportsectionpair.h Xinclude/hk_reportsection.h Xinclude/hk_reportdata.h Xinclude/hk_reportutils.h Xinclude/hk_importcsv.h Xinclude/hk_form.h Xinclude/hk_presentation.h Xinclude/hk_dslineedit.h Xinclude/hk_dsboolean.h Xinclude/hk_dscombobox.h Xinclude/hk_dsmemo.h Xinclude/hk_button.h Xinclude/hk_dsrowselector.h Xinclude/hk_dbvisible.h Xinclude/hk_drivermanager.h Xlib/hk_classes/libhk_classes.la Xlib/hk_classes/libhk_classes.so.3 Xlib/hk_classes/libhk_classes.so Xlib/hk_classes/libhk_classes.a Xlib/hk_classes/drivers/libhk_mysqldriver.la Xlib/hk_classes/drivers/libhk_mysqldriver.so.3 Xlib/hk_classes/drivers/libhk_mysqldriver.so Xlib/hk_classes/drivers/libhk_mysqldriver.a X@dirrm lib/hk_classes/drivers X@dirrm lib/hk_classes END-of-./pkg-plist exit