diff options
Diffstat (limited to 'comms')
-rw-r--r-- | comms/kremotecontrol/Makefile | 24 | ||||
-rw-r--r-- | comms/kremotecontrol/distinfo | 2 | ||||
-rw-r--r-- | comms/kremotecontrol/files/patch-portable.cpp | 20 | ||||
-rw-r--r-- | comms/kremotecontrol/pkg-plist | 3 |
4 files changed, 44 insertions, 5 deletions
diff --git a/comms/kremotecontrol/Makefile b/comms/kremotecontrol/Makefile index 42d7e7fffe93..d1ab1df6523f 100644 --- a/comms/kremotecontrol/Makefile +++ b/comms/kremotecontrol/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/comms/kremotecontrol/distinfo b/comms/kremotecontrol/distinfo index 562818721e98..2a396fa164aa 100644 --- a/comms/kremotecontrol/distinfo +++ b/comms/kremotecontrol/distinfo @@ -1 +1 @@ -MD5 (KDE/kdeutils-2.2.1.tar.bz2) = a511f6be6949d5b1c2f943f3f9ce27a5 +MD5 (KDE/kdeutils-2.2.2.tar.bz2) = 68c3c86d97c3a95079f81b2c7f4bf35a diff --git a/comms/kremotecontrol/files/patch-portable.cpp b/comms/kremotecontrol/files/patch-portable.cpp new file mode 100644 index 000000000000..d6746dc1c282 --- /dev/null +++ b/comms/kremotecontrol/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/comms/kremotecontrol/pkg-plist b/comms/kremotecontrol/pkg-plist index 451d3587f1ef..a26fa72c3a97 100644 --- a/comms/kremotecontrol/pkg-plist +++ b/comms/kremotecontrol/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 |