diff options
Diffstat (limited to 'misc/kdeutils3')
-rw-r--r-- | misc/kdeutils3/Makefile | 24 | ||||
-rw-r--r-- | misc/kdeutils3/distinfo | 2 | ||||
-rw-r--r-- | misc/kdeutils3/files/patch-portable.cpp | 20 | ||||
-rw-r--r-- | misc/kdeutils3/pkg-plist | 3 |
4 files changed, 44 insertions, 5 deletions
diff --git a/misc/kdeutils3/Makefile b/misc/kdeutils3/Makefile index 42d7e7f..d1ab1df 100644 --- a/misc/kdeutils3/Makefile +++ b/misc/kdeutils3/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/misc/kdeutils3/distinfo b/misc/kdeutils3/distinfo index 5628187..2a396fa 100644 --- a/misc/kdeutils3/distinfo +++ b/misc/kdeutils3/distinfo @@ -1 +1 @@ -MD5 (KDE/kdeutils-2.2.1.tar.bz2) = a511f6be6949d5b1c2f943f3f9ce27a5 +MD5 (KDE/kdeutils-2.2.2.tar.bz2) = 68c3c86d97c3a95079f81b2c7f4bf35a diff --git a/misc/kdeutils3/files/patch-portable.cpp b/misc/kdeutils3/files/patch-portable.cpp new file mode 100644 index 0000000..d6746dc --- /dev/null +++ b/misc/kdeutils3/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/misc/kdeutils3/pkg-plist b/misc/kdeutils3/pkg-plist index 451d358..a26fa72 100644 --- a/misc/kdeutils3/pkg-plist +++ b/misc/kdeutils3/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 |