pkgsrc/wm/sawfish/Makefile

38 lines
913 B
Makefile

# $NetBSD: Makefile,v 1.11 2002/05/31 00:53:09 dmcmahill Exp $
#
PKGNAME= sawfish-${SF_VERS}
PKGREVISION= 2
COMMENT= GNOME-aware window manager that is fully configurable in Lisp
DEPENDS+= sawfish-replibs-${SF_VERS}nb2:../../wm/sawfish-replibs
USE_X11BASE= # defined
CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
MAKE_ENV+= LOCALEDIR=${LOCALEDIR}
TEXINFO_OVERRIDE= YES
BUILD_USES_MSGFMT= YES
PLIST_SUBST+= SF_VERS=${SF_VERS}
.include "../../mk/bsd.prefs.mk"
# The directory in which locale files are found is:
#
# ${PREFIX}/${LOCALEDIR}/locale/<lang>/LC_MESSAGES
#
.if ${OPSYS} == "SunOS"
LOCALEDIR= lib
.else
LOCALEDIR= share
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/sawfish/themes
${TOUCH} ${PREFIX}/share/sawfish/themes/.directory
${INSTALL_DATA_DIR} ${PREFIX}/share/sawfish/sounds
${TOUCH} ${PREFIX}/share/sawfish/sounds/.directory
.include "../../wm/sawfish/Makefile.common"