summaryrefslogtreecommitdiff
path: root/wm/sawfish/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-12-12 02:03:46 +0000
committerwiz <wiz>2000-12-12 02:03:46 +0000
commitd1cfd61b2dbd018498de837178e68416bbc3a46a (patch)
tree0386b8c653f44899ccf3b63ba89ad7c5638f4887 /wm/sawfish/Makefile
parentbba4c506a905e25c06a3e9c3f4d6e98019fe5905 (diff)
downloadpkgsrc-d1cfd61b2dbd018498de837178e68416bbc3a46a.tar.gz
Add new category wm for window managers, and move lots of package from
x11 here. Only changes are: `wm' in category added and some paths fixed.
Diffstat (limited to 'wm/sawfish/Makefile')
-rw-r--r--wm/sawfish/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/wm/sawfish/Makefile b/wm/sawfish/Makefile
new file mode 100644
index 00000000000..68d57b8959b
--- /dev/null
+++ b/wm/sawfish/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/12 02:03:49 wiz Exp $
+#
+
+PKGNAME= sawfish-${SF_VERS}
+
+DEPENDS+= sawfish-replibs-${SF_VERS}:../../x11/sawfish-replibs
+
+USE_X11BASE= # defined
+
+CONFIGURE_ENV+= LOCALEBASE=${LOCALEBASE}
+MAKE_ENV+= LOCALEBASE=${LOCALEBASE}
+
+PLIST_SUBST+= SF_VERS=${SF_VERS}
+PLIST_SUBST+= LOCALEBASE=${LOCALEBASE}
+
+.include "../../mk/bsd.prefs.mk"
+
+# The directory in which locale files are found is:
+#
+# ${PREFIX}/${LOCALEBASE}/locale/<lang>/LC_MESSAGES
+#
+.if ${OPSYS} == "SunOS"
+LOCALEBASE= lib
+.else
+LOCALEBASE= share
+.endif
+
+post-install:
+ ${MKDIR} ${PREFIX}/share/sawfish/themes
+ ${TOUCH} ${PREFIX}/share/sawfish/themes/.directory
+ ${MKDIR} ${PREFIX}/share/sawfish/sounds
+ ${TOUCH} ${PREFIX}/share/sawfish/sounds/.directory
+
+.include "../../wm/sawfish/Makefile.common"