summaryrefslogtreecommitdiff
path: root/www/amaya/Makefile
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/Makefile
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/Makefile')
-rw-r--r--www/amaya/Makefile9
1 files changed, 5 insertions, 4 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: