diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 20:04:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 20:04:17 +0000 |
commit | 68c3d64b580b7dd60db0dba4f97d12e0d4e2843a (patch) | |
tree | 9c74f8447d5b7581e9b767f71b110616bcac73ee /wm/flwm | |
parent | 602948dccf70a8044841c0a5750c38fa861db4dc (diff) | |
download | pkgsrc-68c3d64b580b7dd60db0dba4f97d12e0d4e2843a.tar.gz |
user-destdir support
Diffstat (limited to 'wm/flwm')
-rw-r--r-- | wm/flwm/Makefile | 6 | ||||
-rw-r--r-- | wm/flwm/distinfo | 3 | ||||
-rw-r--r-- | wm/flwm/patches/patch-ab | 15 |
3 files changed, 22 insertions, 2 deletions
diff --git a/wm/flwm/Makefile b/wm/flwm/Makefile index 2adcb2102ab..aa1c4d8a67d 100644 --- a/wm/flwm/Makefile +++ b/wm/flwm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.22 2007/01/05 16:59:57 abs Exp $ +# $NetBSD: Makefile,v 1.23 2009/07/07 20:04:17 joerg Exp $ # DISTNAME= flwm-1.02 @@ -10,11 +10,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://flwm.sourceforge.net/ COMMENT= The Fast, Light Window Manager +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ENV+= X_LIBS="-lGL" MAKE_ENV+= CXXFLAGS=${CXXFLAGS:M*:Q} CXXFLAGS+= -DFLTK_1_0_COMPAT +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 + .include "../../x11/fltk/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/wm/flwm/distinfo b/wm/flwm/distinfo index 8ca63d16f12..9b5b70981c0 100644 --- a/wm/flwm/distinfo +++ b/wm/flwm/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.5 2007/01/05 16:59:57 abs Exp $ +$NetBSD: distinfo,v 1.6 2009/07/07 20:04:17 joerg Exp $ SHA1 (flwm-1.02.tgz) = bd348fa8a1c65b2318bf59e15cba0dcd511b3134 RMD160 (flwm-1.02.tgz) = 634af3b1882f1753fd82d54e09f2484c9aadad68 Size (flwm-1.02.tgz) = 64142 bytes SHA1 (patch-aa) = f71ebceef3d4f39963113fbf32d3efddcf489c8f +SHA1 (patch-ab) = 22cf873b56d36675c86fac3059490ed717ebed12 diff --git a/wm/flwm/patches/patch-ab b/wm/flwm/patches/patch-ab new file mode 100644 index 00000000000..2dc5ca36120 --- /dev/null +++ b/wm/flwm/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1 2009/07/07 20:04:17 joerg Exp $ + +--- Makefile.orig 2009-07-07 22:01:57.000000000 +0200 ++++ Makefile +@@ -44,8 +44,8 @@ makedepend: + include makedepend + + install: $(PROGRAM) +- $(INSTALL) -s $(PROGRAM) $(bindir)/$(PROGRAM) +- $(INSTALL) $(PROGRAM).$(MANPAGE) $(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) ++ $(INSTALL) -s $(PROGRAM) ${DESTDIR}$(bindir)/$(PROGRAM) ++ $(INSTALL) $(PROGRAM).$(MANPAGE) ${DESTDIR}$(mandir)/man$(MANPAGE)/$(PROGRAM).$(MANPAGE) + + uninstall: + -@ rm -f $(bindir)/$(PROGRAM) |