summaryrefslogtreecommitdiff
path: root/www/amaya
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit84db467ec7c8386066718011f8d47775d5608811 (patch)
treefdd67c81079412bf94013749a954125434a9baca /www/amaya
parent7082f8c2044621c8641f3c82a2da95c2d442048c (diff)
downloadpkgsrc-84db467ec7c8386066718011f8d47775d5608811.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'www/amaya')
-rw-r--r--www/amaya/Makefile9
-rw-r--r--www/amaya/PLIST6
2 files changed, 8 insertions, 7 deletions
diff --git a/www/amaya/Makefile b/www/amaya/Makefile
index 19561847017..c5e0d45eb45 100644
--- a/www/amaya/Makefile
+++ b/www/amaya/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2006/10/07 19:16:57 schwarz Exp $
+# $NetBSD: Makefile,v 1.50 2008/04/12 22:43:13 jlam Exp $
DISTNAME= amaya-fullsrc-9.2.1
PKGNAME= ${DISTNAME:S/-fullsrc//}
@@ -30,10 +30,11 @@ FONTS_DIRS.ttf+= ${PREFIX}/share/Amaya/fonts
REQD_DIRS+= ${PREFIX}/share/Amaya ${PREFIX}/share/Amaya/fonts
.include "../../mk/bsd.prefs.mk"
+
+# GNOME/KDE integration (only for Linux)
+PLIST_VARS+= desktop
.if ${OPSYS} == "Linux"
-PLIST_SUBST+= LINUX=
-.else
-PLIST_SUBST+= LINUX="@comment "
+PLIST.desktop= yes
.endif
post-extract:
diff --git a/www/amaya/PLIST b/www/amaya/PLIST
index 3881d8831d4..b4afedafb0e 100644
--- a/www/amaya/PLIST
+++ b/www/amaya/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2006/10/07 19:16:57 schwarz Exp $
+@comment $NetBSD: PLIST,v 1.12 2008/04/12 22:43:13 jlam Exp $
bin/amaya
bin/amaya-gtk
share/Amaya/amaya/Amaya.svg
@@ -1419,8 +1419,8 @@ share/Amaya/resources/xrc/TextDlgWX.xrc
share/Amaya/resources/xrc/TitleDlgWX.xrc
share/Amaya/resources/xrc/Toolbar.xrc
share/Amaya/resources/xrc/WinPrintDlgWX.xrc
-${LINUX}share/applications/amaya-8.8.1.desktop
-${LINUX}share/pixmaps/amaya-8.8.1.png
+${PLIST.desktop}share/applications/amaya-8.8.1.desktop
+${PLIST.desktop}share/pixmaps/amaya-8.8.1.png
@dirrm share/Amaya/resources/xrc
@dirrm share/Amaya/resources/icons/misc
@dirrm share/Amaya/resources/icons/22x22