summaryrefslogtreecommitdiff
path: root/archivers/ark
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2002-05-21 15:03:32 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2002-05-21 15:03:32 +0000
commitf3320d0aaca4a92822a88e5cbd2ac3a8ee21513c (patch)
tree561735b9606a2304defcdb700746eddea3ed59e7 /archivers/ark
parentFix autoconf and autoheader problems (diff)
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
Notes
Notes: svn path=/head/; revision=59627
Diffstat (limited to 'archivers/ark')
-rw-r--r--archivers/ark/Makefile11
-rw-r--r--archivers/ark/pkg-plist46
2 files changed, 34 insertions, 23 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index 3163616cd341..afe2b84b5758 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/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/archivers/ark/pkg-plist b/archivers/ark/pkg-plist
index f3e763f47a98..5d023fd9f7e5 100644
--- a/archivers/ark/pkg-plist
+++ b/archivers/ark/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