2001-02-17 18:21:28 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/02/17 17:21:44 wiz Exp $
|
2000-12-12 03:03:46 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= sawfish-${SF_VERS}
|
|
|
|
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= GNOME-aware window manager that is fully configurable in Lisp
|
|
|
|
|
2000-12-14 21:00:35 +01:00
|
|
|
DEPENDS+= sawfish-replibs-${SF_VERS}:../../wm/sawfish-replibs
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
USE_X11BASE= # defined
|
|
|
|
|
2001-02-13 12:47:00 +01:00
|
|
|
CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
|
|
|
|
MAKE_ENV+= LOCALEDIR=${LOCALEDIR}
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
PLIST_SUBST+= SF_VERS=${SF_VERS}
|
2001-02-13 12:47:00 +01:00
|
|
|
PLIST_SUBST+= LOCALEDIR=${LOCALEDIR}
|
2000-12-12 03:03:46 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
# The directory in which locale files are found is:
|
|
|
|
#
|
2001-02-13 12:47:00 +01:00
|
|
|
# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
|
2000-12-12 03:03:46 +01:00
|
|
|
#
|
|
|
|
.if ${OPSYS} == "SunOS"
|
2001-02-13 12:47:00 +01:00
|
|
|
LOCALEDIR= lib
|
2000-12-12 03:03:46 +01:00
|
|
|
.else
|
2001-02-13 12:47:00 +01:00
|
|
|
LOCALEDIR= share
|
2000-12-12 03:03:46 +01:00
|
|
|
.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"
|