summaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/kdeadmin/Makefile22
-rw-r--r--sysutils/kdeadmin/distinfo2
-rw-r--r--sysutils/kdeadmin/pkg-plist4
-rw-r--r--sysutils/kdeadmin3/Makefile22
-rw-r--r--sysutils/kdeadmin3/distinfo2
-rw-r--r--sysutils/kdeadmin3/pkg-plist4
-rw-r--r--sysutils/kdeadmin4/Makefile22
-rw-r--r--sysutils/kdeadmin4/distinfo2
-rw-r--r--sysutils/kdeadmin4/pkg-plist4
-rw-r--r--sysutils/kdf/Makefile24
-rw-r--r--sysutils/kdf/distinfo2
-rw-r--r--sysutils/kdf/files/patch-portable.cpp20
-rw-r--r--sysutils/kdf/pkg-plist3
-rw-r--r--sysutils/kfloppy/Makefile24
-rw-r--r--sysutils/kfloppy/distinfo2
-rw-r--r--sysutils/kfloppy/files/patch-portable.cpp20
-rw-r--r--sysutils/kfloppy/pkg-plist3
-rw-r--r--sysutils/sweeper/Makefile24
-rw-r--r--sysutils/sweeper/distinfo2
-rw-r--r--sysutils/sweeper/files/patch-portable.cpp20
-rw-r--r--sysutils/sweeper/pkg-plist3
21 files changed, 201 insertions, 30 deletions
diff --git a/sysutils/kdeadmin/Makefile b/sysutils/kdeadmin/Makefile
index 46501ee..98b2edb 100644
--- a/sysutils/kdeadmin/Makefile
+++ b/sysutils/kdeadmin/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeadmin
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,13 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
${PERL} -pi -e "s@DO_NOT_COMPILE qt@DO_NOT_COMPILE kuser qt@g" ${WRKSRC}/configure
find ${WRKSRC}/kpackage -name "*.cpp" -or -name "*.c" -or -name "*.h" \
| xargs ${PERL} -pi -e "s#typedef __off64_t off64_t;##g"
diff --git a/sysutils/kdeadmin/distinfo b/sysutils/kdeadmin/distinfo
index f4e6a31..a452345 100644
--- a/sysutils/kdeadmin/distinfo
+++ b/sysutils/kdeadmin/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeadmin-2.2.1.tar.bz2) = 8ad5e9b7bdca7b294b42f61359f70020
+MD5 (KDE/kdeadmin-2.2.2.tar.bz2) = 5f97fe83d9a2efe3bfb679a679693a45
diff --git a/sysutils/kdeadmin/pkg-plist b/sysutils/kdeadmin/pkg-plist
index 0fafa91..f8499b3 100644
--- a/sysutils/kdeadmin/pkg-plist
+++ b/sysutils/kdeadmin/pkg-plist
@@ -63,17 +63,15 @@ share/icons/hicolor/32x32/apps/kcron.png
share/icons/hicolor/32x32/apps/kpackage.png
share/icons/hicolor/48x48/apps/kpackage.png
share/mimelnk/application/x-debian-package.desktop
-@dirrm share/mimelnk/application
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kwuftpd
@dirrm share/doc/HTML/en/kuser
@dirrm share/doc/HTML/en/ksysv
@dirrm share/doc/HTML/en/kpackage
@dirrm share/doc/HTML/en/kcron
-@dirrm share/doc/HTML/en
@dirrm share/apps/kpackage/toolbar
@dirrm share/apps/kpackage/pics
@dirrm share/apps/kpackage
@dirrm share/applnk/System
+@dirrm share/applnk
diff --git a/sysutils/kdeadmin3/Makefile b/sysutils/kdeadmin3/Makefile
index 46501ee..98b2edb 100644
--- a/sysutils/kdeadmin3/Makefile
+++ b/sysutils/kdeadmin3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeadmin
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,13 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
${PERL} -pi -e "s@DO_NOT_COMPILE qt@DO_NOT_COMPILE kuser qt@g" ${WRKSRC}/configure
find ${WRKSRC}/kpackage -name "*.cpp" -or -name "*.c" -or -name "*.h" \
| xargs ${PERL} -pi -e "s#typedef __off64_t off64_t;##g"
diff --git a/sysutils/kdeadmin3/distinfo b/sysutils/kdeadmin3/distinfo
index f4e6a31..a452345 100644
--- a/sysutils/kdeadmin3/distinfo
+++ b/sysutils/kdeadmin3/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeadmin-2.2.1.tar.bz2) = 8ad5e9b7bdca7b294b42f61359f70020
+MD5 (KDE/kdeadmin-2.2.2.tar.bz2) = 5f97fe83d9a2efe3bfb679a679693a45
diff --git a/sysutils/kdeadmin3/pkg-plist b/sysutils/kdeadmin3/pkg-plist
index 0fafa91..f8499b3 100644
--- a/sysutils/kdeadmin3/pkg-plist
+++ b/sysutils/kdeadmin3/pkg-plist
@@ -63,17 +63,15 @@ share/icons/hicolor/32x32/apps/kcron.png
share/icons/hicolor/32x32/apps/kpackage.png
share/icons/hicolor/48x48/apps/kpackage.png
share/mimelnk/application/x-debian-package.desktop
-@dirrm share/mimelnk/application
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kwuftpd
@dirrm share/doc/HTML/en/kuser
@dirrm share/doc/HTML/en/ksysv
@dirrm share/doc/HTML/en/kpackage
@dirrm share/doc/HTML/en/kcron
-@dirrm share/doc/HTML/en
@dirrm share/apps/kpackage/toolbar
@dirrm share/apps/kpackage/pics
@dirrm share/apps/kpackage
@dirrm share/applnk/System
+@dirrm share/applnk
diff --git a/sysutils/kdeadmin4/Makefile b/sysutils/kdeadmin4/Makefile
index 46501ee..98b2edb 100644
--- a/sysutils/kdeadmin4/Makefile
+++ b/sysutils/kdeadmin4/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeadmin
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES= sysutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,13 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
${PERL} -pi -e "s@DO_NOT_COMPILE qt@DO_NOT_COMPILE kuser qt@g" ${WRKSRC}/configure
find ${WRKSRC}/kpackage -name "*.cpp" -or -name "*.c" -or -name "*.h" \
| xargs ${PERL} -pi -e "s#typedef __off64_t off64_t;##g"
diff --git a/sysutils/kdeadmin4/distinfo b/sysutils/kdeadmin4/distinfo
index f4e6a31..a452345 100644
--- a/sysutils/kdeadmin4/distinfo
+++ b/sysutils/kdeadmin4/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeadmin-2.2.1.tar.bz2) = 8ad5e9b7bdca7b294b42f61359f70020
+MD5 (KDE/kdeadmin-2.2.2.tar.bz2) = 5f97fe83d9a2efe3bfb679a679693a45
diff --git a/sysutils/kdeadmin4/pkg-plist b/sysutils/kdeadmin4/pkg-plist
index 0fafa91..f8499b3 100644
--- a/sysutils/kdeadmin4/pkg-plist
+++ b/sysutils/kdeadmin4/pkg-plist
@@ -63,17 +63,15 @@ share/icons/hicolor/32x32/apps/kcron.png
share/icons/hicolor/32x32/apps/kpackage.png
share/icons/hicolor/48x48/apps/kpackage.png
share/mimelnk/application/x-debian-package.desktop
-@dirrm share/mimelnk/application
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kwuftpd
@dirrm share/doc/HTML/en/kuser
@dirrm share/doc/HTML/en/ksysv
@dirrm share/doc/HTML/en/kpackage
@dirrm share/doc/HTML/en/kcron
-@dirrm share/doc/HTML/en
@dirrm share/apps/kpackage/toolbar
@dirrm share/apps/kpackage/pics
@dirrm share/apps/kpackage
@dirrm share/applnk/System
+@dirrm share/applnk
diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile
index 42d7e7f..d1ab1df 100644
--- a/sysutils/kdf/Makefile
+++ b/sysutils/kdf/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeutils
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,11 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
USE_GMAKE= yes
MAN1= efax.1 efix.1 fax.1
+pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
+
.include <bsd.port.mk>
diff --git a/sysutils/kdf/distinfo b/sysutils/kdf/distinfo
index 5628187..2a396fa 100644
--- a/sysutils/kdf/distinfo
+++ b/sysutils/kdf/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeutils-2.2.1.tar.bz2) = a511f6be6949d5b1c2f943f3f9ce27a5
+MD5 (KDE/kdeutils-2.2.2.tar.bz2) = 68c3c86d97c3a95079f81b2c7f4bf35a
diff --git a/sysutils/kdf/files/patch-portable.cpp b/sysutils/kdf/files/patch-portable.cpp
new file mode 100644
index 0000000..d6746dc
--- /dev/null
+++ b/sysutils/kdf/files/patch-portable.cpp
@@ -0,0 +1,20 @@
+--- klaptopdaemon/portable.cpp- Thu Jun 28 00:08:02 2001
++++ klaptopdaemon/portable.cpp Thu Jun 28 00:08:22 2001
+@@ -453,7 +453,7 @@
+ if (ret == -1)
+ return 0;
+
+- return (info.ai_batt_time != 0xffff);
++ return (info.ai_batt_time != -1);
+ }
+
+ //
+@@ -638,7 +638,7 @@
+
+ p.powered = info.ai_acline;
+ p.percentage = (info.ai_batt_life==255 ? 100 : info.ai_batt_life);
+- p.time = (info.ai_batt_time != 0xffff ? info.ai_batt_time/60 : -1);
++ p.time = (info.ai_batt_time != -1 ? info.ai_batt_time/60 : -1);
+ return(p);
+
+ bad:
diff --git a/sysutils/kdf/pkg-plist b/sysutils/kdf/pkg-plist
index 451d358..a26fa72 100644
--- a/sysutils/kdf/pkg-plist
+++ b/sysutils/kdf/pkg-plist
@@ -251,7 +251,6 @@ share/services/arkpart.desktop
@dirrm share/icons/locolor
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kpm
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/klprfax
@@ -308,7 +307,6 @@ share/services/arkpart.desktop
@dirrm share/apps/ark/icons/hicolor
@dirrm share/apps/ark/icons
@dirrm share/apps/ark
-@dirrm share/apps
@dirrm share/applnk/Utilities
@dirrm share/applnk/System
@dirrm share/applnk/Settings/PowerControl
@@ -316,4 +314,3 @@ share/services/arkpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Editors
@dirrm share/applnk
-@dirrm lib/kde2
diff --git a/sysutils/kfloppy/Makefile b/sysutils/kfloppy/Makefile
index 42d7e7f..d1ab1df 100644
--- a/sysutils/kfloppy/Makefile
+++ b/sysutils/kfloppy/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeutils
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,11 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
USE_GMAKE= yes
MAN1= efax.1 efix.1 fax.1
+pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
+
.include <bsd.port.mk>
diff --git a/sysutils/kfloppy/distinfo b/sysutils/kfloppy/distinfo
index 5628187..2a396fa 100644
--- a/sysutils/kfloppy/distinfo
+++ b/sysutils/kfloppy/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeutils-2.2.1.tar.bz2) = a511f6be6949d5b1c2f943f3f9ce27a5
+MD5 (KDE/kdeutils-2.2.2.tar.bz2) = 68c3c86d97c3a95079f81b2c7f4bf35a
diff --git a/sysutils/kfloppy/files/patch-portable.cpp b/sysutils/kfloppy/files/patch-portable.cpp
new file mode 100644
index 0000000..d6746dc
--- /dev/null
+++ b/sysutils/kfloppy/files/patch-portable.cpp
@@ -0,0 +1,20 @@
+--- klaptopdaemon/portable.cpp- Thu Jun 28 00:08:02 2001
++++ klaptopdaemon/portable.cpp Thu Jun 28 00:08:22 2001
+@@ -453,7 +453,7 @@
+ if (ret == -1)
+ return 0;
+
+- return (info.ai_batt_time != 0xffff);
++ return (info.ai_batt_time != -1);
+ }
+
+ //
+@@ -638,7 +638,7 @@
+
+ p.powered = info.ai_acline;
+ p.percentage = (info.ai_batt_life==255 ? 100 : info.ai_batt_life);
+- p.time = (info.ai_batt_time != 0xffff ? info.ai_batt_time/60 : -1);
++ p.time = (info.ai_batt_time != -1 ? info.ai_batt_time/60 : -1);
+ return(p);
+
+ bad:
diff --git a/sysutils/kfloppy/pkg-plist b/sysutils/kfloppy/pkg-plist
index 451d358..a26fa72 100644
--- a/sysutils/kfloppy/pkg-plist
+++ b/sysutils/kfloppy/pkg-plist
@@ -251,7 +251,6 @@ share/services/arkpart.desktop
@dirrm share/icons/locolor
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kpm
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/klprfax
@@ -308,7 +307,6 @@ share/services/arkpart.desktop
@dirrm share/apps/ark/icons/hicolor
@dirrm share/apps/ark/icons
@dirrm share/apps/ark
-@dirrm share/apps
@dirrm share/applnk/Utilities
@dirrm share/applnk/System
@dirrm share/applnk/Settings/PowerControl
@@ -316,4 +314,3 @@ share/services/arkpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Editors
@dirrm share/applnk
-@dirrm lib/kde2
diff --git a/sysutils/sweeper/Makefile b/sysutils/sweeper/Makefile
index 42d7e7f..d1ab1df 100644
--- a/sysutils/sweeper/Makefile
+++ b/sysutils/sweeper/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= kdeutils
-PORTVERSION= 2.2.1
+PORTVERSION= 2.2.2
CATEGORIES?= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,11 +14,33 @@ DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
+BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
+ automake14:${PORTSDIR}/devel/automake14 \
+ objprelink:${PORTSDIR}/devel/objprelink
+
USE_KDELIBS_VER=2
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-objprelink
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
+CONFIGURE_ARGS+=--enable-final
+.endif
+.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
+CONFIGURE_ARGS+=--disable-debug
+.endif
USE_GMAKE= yes
MAN1= efax.1 efix.1 fax.1
+pre-configure:
+ ${MKDIR} ${WRKSRC}/auto-bin
+.for AC in autoconf autoheader
+ ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
+.endfor
+.for AM in automake aclocal
+ ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
+.endfor
+ cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ ${GMAKE} -f Makefile.cvs
+
.include <bsd.port.mk>
diff --git a/sysutils/sweeper/distinfo b/sysutils/sweeper/distinfo
index 5628187..2a396fa 100644
--- a/sysutils/sweeper/distinfo
+++ b/sysutils/sweeper/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeutils-2.2.1.tar.bz2) = a511f6be6949d5b1c2f943f3f9ce27a5
+MD5 (KDE/kdeutils-2.2.2.tar.bz2) = 68c3c86d97c3a95079f81b2c7f4bf35a
diff --git a/sysutils/sweeper/files/patch-portable.cpp b/sysutils/sweeper/files/patch-portable.cpp
new file mode 100644
index 0000000..d6746dc
--- /dev/null
+++ b/sysutils/sweeper/files/patch-portable.cpp
@@ -0,0 +1,20 @@
+--- klaptopdaemon/portable.cpp- Thu Jun 28 00:08:02 2001
++++ klaptopdaemon/portable.cpp Thu Jun 28 00:08:22 2001
+@@ -453,7 +453,7 @@
+ if (ret == -1)
+ return 0;
+
+- return (info.ai_batt_time != 0xffff);
++ return (info.ai_batt_time != -1);
+ }
+
+ //
+@@ -638,7 +638,7 @@
+
+ p.powered = info.ai_acline;
+ p.percentage = (info.ai_batt_life==255 ? 100 : info.ai_batt_life);
+- p.time = (info.ai_batt_time != 0xffff ? info.ai_batt_time/60 : -1);
++ p.time = (info.ai_batt_time != -1 ? info.ai_batt_time/60 : -1);
+ return(p);
+
+ bad:
diff --git a/sysutils/sweeper/pkg-plist b/sysutils/sweeper/pkg-plist
index 451d358..a26fa72 100644
--- a/sysutils/sweeper/pkg-plist
+++ b/sysutils/sweeper/pkg-plist
@@ -251,7 +251,6 @@ share/services/arkpart.desktop
@dirrm share/icons/locolor
@dirrm share/icons/hicolor/48x48/apps
@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/16x16/apps
@dirrm share/doc/HTML/en/kpm
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/klprfax
@@ -308,7 +307,6 @@ share/services/arkpart.desktop
@dirrm share/apps/ark/icons/hicolor
@dirrm share/apps/ark/icons
@dirrm share/apps/ark
-@dirrm share/apps
@dirrm share/applnk/Utilities
@dirrm share/applnk/System
@dirrm share/applnk/Settings/PowerControl
@@ -316,4 +314,3 @@ share/services/arkpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Editors
@dirrm share/applnk
-@dirrm lib/kde2
OpenPOWER on IntegriCloud