summaryrefslogtreecommitdiff
path: root/wm/sawfish/Makefile
diff options
context:
space:
mode:
authortnn <tnn>2007-05-09 10:09:45 +0000
committertnn <tnn>2007-05-09 10:09:45 +0000
commit144d05cabf8942f3bb8711edfcc42458de2698a8 (patch)
treeff420f6d078e45cf6848f51382a4c58d1e2af846 /wm/sawfish/Makefile
parentb9e7875c1b3312c0a1010f6689cb3cc84c55ab66 (diff)
downloadpkgsrc-144d05cabf8942f3bb8711edfcc42458de2698a8.tar.gz
Update to sawfish-1.3. A detailed ChangeLog is not available, but the
major change is that sawfish now uses gtk2 to display it's menus, and the GNOME 1.x dependency is dropped.
Diffstat (limited to 'wm/sawfish/Makefile')
-rw-r--r--wm/sawfish/Makefile55
1 files changed, 38 insertions, 17 deletions
diff --git a/wm/sawfish/Makefile b/wm/sawfish/Makefile
index 85f65aeddbd..cf6511ab36a 100644
--- a/wm/sawfish/Makefile
+++ b/wm/sawfish/Makefile
@@ -1,29 +1,50 @@
-# $NetBSD: Makefile,v 1.40 2007/02/02 19:32:12 joerg Exp $
+# $NetBSD: Makefile,v 1.41 2007/05/09 10:09:45 tnn Exp $
#
-PKGNAME= sawfish-${SF_VERS}
-PKGREVISION= 14
+DISTNAME= sawfish-${SF_VERS}
+SF_VERS= 1.3
+CATEGORIES= x11 wm
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sawmill/}
-COMMENT= GNOME-aware window manager that is fully configurable in Lisp
+MAINTAINER= tnn@NetBSD.org
+HOMEPAGE= http://sawmill.sourceforge.net/
+COMMENT= Extensible window manager that is fully configurable in Lisp
-DEPENDS+= sawfish-replibs-${SF_VERS}{,nb*}:../../wm/sawfish-replibs
+DEPENDS+= rep-gtk2>=0.18:../../x11/rep-gtk2
-USE_DIRS+= xdg-1.1
-USE_X11BASE= yes
+CONFLICTS+= sawfish-replibs-[0-9]*
+CONFLICTS+= sawfish-themes-[0-9]*
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
+CONFIGURE_ENV+= REP_ENV_PKGSRC=${REP_ENV_PKGSRC:Q}
+MAKE_ENV+= REP_ENV_PKGSRC=${REP_ENV_PKGSRC:Q}
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --disable-themer
-USE_LIBTOOL= yes
-USE_TOOLS+= makeinfo msgfmt
-INFO_FILES= # PLIST
+USE_TOOLS+= gmake makeinfo msgfmt
+USE_DIRS+= gnome2-1.5
+USE_PKGLOCALEDIR= yes
+INFO_FILES= YES
PLIST_SUBST+= SF_VERS=${SF_VERS:Q}
-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"
+SUBST_CLASSES+= env
+SUBST_STAGE.env= pre-configure
+SUBST_FILES.env= lisp/sawfish/ui/main.jl.in po/sawfish-xgettext
+SUBST_FILES.env+= scripts/sawfish-*.jl* themer/themer.in
+SUBST_SED.env= -e 's,exec rep,exec env ${REP_ENV_PKGSRC} rep,g'
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD" && empty(${OS_VERSION:M1.*})
+REP_ENV_PKGSRC= LD_PRELOAD=/usr/lib/libpthread.so
+.else
+REP_ENV_PKGSRC=
+.endif
+
+.include "../../audio/esound/buildlink3.mk"
+.include "../../lang/librep/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"