summaryrefslogtreecommitdiff
path: root/wm/sawfish/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-08 13:22:37 +0000
committerwiz <wiz@pkgsrc.org>2002-10-08 13:22:37 +0000
commit891cc6686a4f765b918a03b16b2bc319826bf33e (patch)
treefaf345a4d5f59926ebbabe89a7aece72dc162789 /wm/sawfish/Makefile
parentdcdca46c62ef4180842744334dc3d9dfe4dc5ee6 (diff)
downloadpkgsrc-891cc6686a4f765b918a03b16b2bc319826bf33e.tar.gz
Convert to buildlink2.
Use PKGLOCALEDIR instead of homebrewn LOCALEDIR. Share distinfo between sawfish-replibs and sawfish.
Diffstat (limited to 'wm/sawfish/Makefile')
-rw-r--r--wm/sawfish/Makefile18
1 files changed, 3 insertions, 15 deletions
diff --git a/wm/sawfish/Makefile b/wm/sawfish/Makefile
index 42ec2d22d6b..50f3ab58538 100644
--- a/wm/sawfish/Makefile
+++ b/wm/sawfish/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2002/05/31 00:53:09 dmcmahill Exp $
+# $NetBSD: Makefile,v 1.12 2002/10/08 13:22:37 wiz Exp $
#
PKGNAME= sawfish-${SF_VERS}
@@ -10,25 +10,13 @@ DEPENDS+= sawfish-replibs-${SF_VERS}nb2:../../wm/sawfish-replibs
USE_X11BASE= # defined
-CONFIGURE_ENV+= LOCALEDIR=${LOCALEDIR}
-MAKE_ENV+= LOCALEDIR=${LOCALEDIR}
+CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
+MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
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