aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kcharselect
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2002-05-21 23:03:32 +0800
committergallatin <gallatin@FreeBSD.org>2002-05-21 23:03:32 +0800
commit42ba5d1d17024e777f60bc0a87a4505b93a3ceb4 (patch)
tree4a0f668e7037816b47d70fcf359fb891538be548 /deskutils/kcharselect
parent144f4e5cb31020994fca6a862735ce1cd1b8905f (diff)
downloadfreebsd-ports-gnome-42ba5d1d17024e777f60bc0a87a4505b93a3ceb4.tar.gz
freebsd-ports-gnome-42ba5d1d17024e777f60bc0a87a4505b93a3ceb4.tar.zst
freebsd-ports-gnome-42ba5d1d17024e777f60bc0a87a4505b93a3ceb4.zip
Don't build klaptopdaemon on alpha.
Due to APM dependancies, its preventing the port from building on alpha. Since I can't see what use its features would be on a platform which doesn't support power mgmnt, it seems simplest to just yank it. Approved by: will
Diffstat (limited to 'deskutils/kcharselect')
-rw-r--r--deskutils/kcharselect/Makefile11
-rw-r--r--deskutils/kcharselect/pkg-plist46
2 files changed, 34 insertions, 23 deletions
diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile
index 3163616cd341..afe2b84b5758 100644
--- a/deskutils/kcharselect/Makefile
+++ b/deskutils/kcharselect/Makefile
@@ -23,4 +23,15 @@ CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= efax.1 efix.1 fax.1
+#klaptop doesn't like alpha because alpha doesn't support apm
+.if ${MACHINE_ARCH} == "alpha"
+post-extract:
+ mv ${WRKSRC}/subdirs ${WRKSRC}/subdirs.orig
+ grep -v klaptopdaemon ${WRKSRC}/subdirs.orig > ${WRKSRC}/subdirs
+
+PLIST_SUB+= ALPHA_NA="@comment "
+.else
+PLIST_SUB+= ALPHA_NA=""
+.endif
+
.include <bsd.port.mk>
diff --git a/deskutils/kcharselect/pkg-plist b/deskutils/kcharselect/pkg-plist
index f3e763f47a98..5d023fd9f7e5 100644
--- a/deskutils/kcharselect/pkg-plist
+++ b/deskutils/kcharselect/pkg-plist
@@ -11,7 +11,7 @@ bin/kedit
bin/kfloppy
bin/khexedit
bin/kjots
-bin/klaptopdaemon
+%%ALPHA_NA%%bin/klaptopdaemon
bin/kljettool
bin/klpq
bin/klprfax
@@ -30,24 +30,24 @@ lib/kde3/kcharselectapplet.so
lib/kde3/kcharselectapplet.so.1
lib/kde3/kcm_kdf.la
lib/kde3/kcm_kdf.so
-lib/kde3/kcm_laptop.la
-lib/kde3/kcm_laptop.so
+%%ALPHA_NA%%lib/kde3/kcm_laptop.la
+%%ALPHA_NA%%lib/kde3/kcm_laptop.so
lib/kde3/kedit.la
lib/kde3/kedit.so
lib/kde3/libkregexpeditorgui.la
lib/kde3/libkregexpeditorgui.so
-lib/klaptopdaemon.la
-lib/klaptopdaemon.so
+%%ALPHA_NA%%lib/klaptopdaemon.la
+%%ALPHA_NA%%lib/klaptopdaemon.so
lib/libark.la
lib/libark.so
lib/libark.so.1
share/applnk/Editors/KEdit.desktop
share/applnk/Settings/Information/kcmdf.desktop
-share/applnk/Settings/Information/pcmcia.desktop
-share/applnk/Settings/PowerControl/battery.desktop
-share/applnk/Settings/PowerControl/bwarning.desktop
-share/applnk/Settings/PowerControl/cwarning.desktop
-share/applnk/Settings/PowerControl/power.desktop
+%%ALPHA_NA%%share/applnk/Settings/Information/pcmcia.desktop
+%%ALPHA_NA%%share/applnk/Settings/PowerControl/battery.desktop
+%%ALPHA_NA%%share/applnk/Settings/PowerControl/bwarning.desktop
+%%ALPHA_NA%%share/applnk/Settings/PowerControl/cwarning.desktop
+%%ALPHA_NA%%share/applnk/Settings/PowerControl/power.desktop
share/applnk/System/kdf.desktop
share/applnk/System/kwikdisk.desktop
share/applnk/Utilities/KCharSelect.desktop
@@ -81,11 +81,11 @@ share/apps/khexedit/toolbar/hexmask.png
share/apps/khexedit/toolbar/hexwrite.png
share/apps/kicker/applets/kcharselectapplet.desktop
share/apps/kjots/pics/filedel.png
-share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_charge.png
-share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_nobattery.png
-share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_nocharge.png
-share/apps/klaptopdaemon/icons/hicolor/16x16/actions/power.png
-share/apps/klaptopdaemon/icons/hicolor/32x32/actions/power.png
+%%ALPHA_NA%%share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_charge.png
+%%ALPHA_NA%%share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_nobattery.png
+%%ALPHA_NA%%share/apps/klaptopdaemon/icons/hicolor/16x16/actions/laptop_nocharge.png
+%%ALPHA_NA%%share/apps/klaptopdaemon/icons/hicolor/16x16/actions/power.png
+%%ALPHA_NA%%share/apps/klaptopdaemon/icons/hicolor/32x32/actions/power.png
share/apps/kljettool/pics/kljetlogo.png
share/apps/konqueror/servicemenus/arkservicemenu.desktop
share/apps/kregexpeditor/pics/altn.png
@@ -185,13 +185,13 @@ share/icons/hicolor/16x16/apps/kedit.png
share/icons/hicolor/16x16/apps/kfloppy.png
share/icons/hicolor/16x16/apps/khexedit.png
share/icons/hicolor/16x16/apps/kjots.png
-share/icons/hicolor/16x16/apps/klaptopdaemon.png
+%%ALPHA_NA%%share/icons/hicolor/16x16/apps/klaptopdaemon.png
share/icons/hicolor/16x16/apps/kljettool.png
share/icons/hicolor/16x16/apps/klpq.png
share/icons/hicolor/16x16/apps/klprfax.png
share/icons/hicolor/16x16/apps/kwikdisk.png
-share/icons/hicolor/16x16/apps/laptop_battery.png
-share/icons/hicolor/16x16/apps/laptop_pcmcia.png
+%%ALPHA_NA%%share/icons/hicolor/16x16/apps/laptop_battery.png
+%%ALPHA_NA%%share/icons/hicolor/16x16/apps/laptop_pcmcia.png
share/icons/hicolor/32x32/apps/ark.png
share/icons/hicolor/32x32/apps/kcalc.png
share/icons/hicolor/32x32/apps/kcmdf.png
@@ -204,8 +204,8 @@ share/icons/hicolor/32x32/apps/kljettool.png
share/icons/hicolor/32x32/apps/klpq.png
share/icons/hicolor/32x32/apps/klprfax.png
share/icons/hicolor/32x32/apps/kwikdisk.png
-share/icons/hicolor/32x32/apps/laptop_battery.png
-share/icons/hicolor/32x32/apps/laptop_pcmcia.png
+%%ALPHA_NA%%share/icons/hicolor/32x32/apps/laptop_battery.png
+%%ALPHA_NA%%share/icons/hicolor/32x32/apps/laptop_pcmcia.png
share/icons/hicolor/48x48/apps/ark.png
share/icons/hicolor/48x48/apps/kcalc.png
share/icons/hicolor/48x48/apps/kcharselect.png
@@ -215,12 +215,12 @@ share/icons/hicolor/48x48/apps/khexedit.png
share/icons/hicolor/48x48/apps/kjots.png
share/icons/hicolor/48x48/apps/kljettool.png
share/icons/hicolor/48x48/apps/klpq.png
-share/icons/hicolor/48x48/apps/laptop_battery.png
-share/icons/hicolor/48x48/apps/laptop_pcmcia.png
+%%ALPHA_NA%%share/icons/hicolor/48x48/apps/laptop_battery.png
+%%ALPHA_NA%%share/icons/hicolor/48x48/apps/laptop_pcmcia.png
share/icons/locolor/16x16/apps/klprfax.png
share/icons/locolor/32x32/apps/klprfax.png
share/services/arkpart.desktop
-share/services/klaptopdaemon.desktop
+%%ALPHA_NA%%share/services/klaptopdaemon.desktop
share/services/kregexpeditorgui.desktop
@exec /bin/mkdir -p %D/share/apps/kcalc/pics
@exec /bin/mkdir -p %D/share/apps/kcalc/pics