aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kbarcode
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-10-06 05:55:08 +0800
committermiwi <miwi@FreeBSD.org>2007-10-06 05:55:08 +0800
commite010dcffa8316ae538813dec588048161ddac7f8 (patch)
treee63486bc3df0d112f138ab49b720de8588542c58 /graphics/kbarcode
parent2f917311fd4038644196c53bc30b87f0d31c3da8 (diff)
downloadfreebsd-ports-gnome-e010dcffa8316ae538813dec588048161ddac7f8.tar.gz
freebsd-ports-gnome-e010dcffa8316ae538813dec588048161ddac7f8.tar.zst
freebsd-ports-gnome-e010dcffa8316ae538813dec588048161ddac7f8.zip
- Update to 2.0.6
PR: 116926 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'graphics/kbarcode')
-rw-r--r--graphics/kbarcode/Makefile16
-rw-r--r--graphics/kbarcode/distinfo6
-rw-r--r--graphics/kbarcode/files/patch-admin-cvs.sh69
-rw-r--r--graphics/kbarcode/pkg-plist1
4 files changed, 83 insertions, 9 deletions
diff --git a/graphics/kbarcode/Makefile b/graphics/kbarcode/Makefile
index 113a36212063..6f680e1f00d4 100644
--- a/graphics/kbarcode/Makefile
+++ b/graphics/kbarcode/Makefile
@@ -6,11 +6,9 @@
#
PORTNAME= kbarcode
-PORTVERSION= 2.0.5
-PORTREVISION= 1
+PORTVERSION= 2.0.6
CATEGORIES= graphics kde
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A barcode and label printing application for KDE
@@ -20,7 +18,15 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
USE_KDELIBS_VER= 3
USE_GETTEXT= yes
USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:15
+USE_AUTOTOOLS= automake:19:env autoconf:261:env libtool:15:env
+GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
+pre-configure:
+ @cd ${WRKSRC} \
+ && ${RM} -f admin/libtool.m4.in admin/ltmain.sh \
+ && ${CP} -f ${LIBTOOL_M4} admin/libtool.m4.in \
+ && ${CP} -f ${LTMAIN} admin/ltmain.sh \
+ && ${SETENV} ${MAKE_ENV} UNSERMAKE=no ${GMAKE} -f admin/Makefile.common
+
.include <bsd.port.mk>
diff --git a/graphics/kbarcode/distinfo b/graphics/kbarcode/distinfo
index 340fe0f5ea5b..90289365cb97 100644
--- a/graphics/kbarcode/distinfo
+++ b/graphics/kbarcode/distinfo
@@ -1,3 +1,3 @@
-MD5 (kbarcode-2.0.5.tar.gz) = eff24db3964c3b7bebb3ab4dbc6c6b4e
-SHA256 (kbarcode-2.0.5.tar.gz) = e630a630289c1e4e1928156db26b2f9beaa3e7e41f640734088dea7f1057dfb8
-SIZE (kbarcode-2.0.5.tar.gz) = 1638296
+MD5 (kbarcode-2.0.6.tar.gz) = a265cd935858f2e1425cb195d9d02f3e
+SHA256 (kbarcode-2.0.6.tar.gz) = 090fb401161c29de4d0826ad8d43866d976e131df2f381c4834e147bdc8e854f
+SIZE (kbarcode-2.0.6.tar.gz) = 1832972
diff --git a/graphics/kbarcode/files/patch-admin-cvs.sh b/graphics/kbarcode/files/patch-admin-cvs.sh
new file mode 100644
index 000000000000..9359a1937265
--- /dev/null
+++ b/graphics/kbarcode/files/patch-admin-cvs.sh
@@ -0,0 +1,69 @@
+--- admin/cvs.sh.orig Sat Sep 29 17:52:39 2007
++++ admin/cvs.sh Mon Oct 1 03:23:11 2007
+@@ -29,66 +29,9 @@
+
+ check_autotool_versions()
+ {
+-required_autoconf_version="2.53 or newer"
+ AUTOCONF_VERSION=`$AUTOCONF --version | head -n 1`
+-case $AUTOCONF_VERSION in
+- Autoconf*2.5* | autoconf*2.5* | autoconf*2.6* ) : ;;
+- "" )
+- echo "*** AUTOCONF NOT FOUND!."
+- echo "*** KDE requires autoconf $required_autoconf_version"
+- exit 1
+- ;;
+- * )
+- echo "*** YOU'RE USING $AUTOCONF_VERSION."
+- echo "*** KDE requires autoconf $required_autoconf_version"
+- exit 1
+- ;;
+-esac
+-
+ AUTOHEADER_VERSION=`$AUTOHEADER --version | head -n 1`
+-case $AUTOHEADER_VERSION in
+- Autoconf*2.5* | autoheader*2.5* | autoheader*2.6* ) : ;;
+- "" )
+- echo "*** AUTOHEADER NOT FOUND!."
+- echo "*** KDE requires autoheader $required_autoconf_version"
+- exit 1
+- ;;
+- * )
+- echo "*** YOU'RE USING $AUTOHEADER_VERSION."
+- echo "*** KDE requires autoheader $required_autoconf_version"
+- exit 1
+- ;;
+-esac
+-
+ AUTOMAKE_STRING=`$AUTOMAKE --version | head -n 1`
+-required_automake_version="1.6.1 or newer"
+-case $AUTOMAKE_STRING in
+- automake*1.5d* | automake*1.5* | automake*1.5-* )
+- echo "*** YOU'RE USING $AUTOMAKE_STRING."
+- echo "*** KDE requires automake $required_automake_version"
+- exit 1
+- ;;
+- automake*1.6.* | automake*1.7* | automake*1.8* | automake*1.9*)
+- echo "*** $AUTOMAKE_STRING found."
+- UNSERMAKE=no
+- ;;
+- "" )
+- echo "*** AUTOMAKE NOT FOUND!."
+- echo "*** KDE requires automake $required_automake_version"
+- exit 1
+- ;;
+- *unsermake* ) :
+- echo "*** YOU'RE USING UNSERMAKE."
+- echo "*** GOOD LUCK!! :)"
+- UNSERMAKE=unsermake
+- ;;
+- * )
+- echo "*** YOU'RE USING $AUTOMAKE_STRING."
+- echo "*** KDE requires automake $required_automake_version"
+- exit 1
+- ;;
+-esac
+-unset required_automake_version
+ }
+
+ cvs()
diff --git a/graphics/kbarcode/pkg-plist b/graphics/kbarcode/pkg-plist
index d7a246927eb0..a4fe7815e91d 100644
--- a/graphics/kbarcode/pkg-plist
+++ b/graphics/kbarcode/pkg-plist
@@ -1,5 +1,4 @@
bin/kbarcode
-lib/kde3/kfile_kbarcode.a
lib/kde3/kfile_kbarcode.la
lib/kde3/kfile_kbarcode.so
share/applications/kde/kbarcode-batch.desktop