diff options
author | heinz <heinz@pkgsrc.org> | 2007-06-03 22:57:25 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-06-03 22:57:25 +0000 |
commit | 17a26fe24a85b396a24c2e9a6208cf8f9271f375 (patch) | |
tree | 6c8f005014d32397cbdbcaacfaaa0e954ca885b5 /devel/flex | |
parent | bf3ff39499c34081d168c3611105cf330eefbe5c (diff) | |
download | pkgsrc-17a26fe24a85b396a24c2e9a6208cf8f9271f375.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel/flex')
-rw-r--r-- | devel/flex/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile index a3ccd5690c3..5a07b592535 100644 --- a/devel/flex/Makefile +++ b/devel/flex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2007/03/07 16:50:13 rillig Exp $ +# $NetBSD: Makefile,v 1.24 2007/06/03 22:57:25 heinz Exp $ DISTNAME= flex-2.5.33 PKGREVISION= 2 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/flex/ COMMENT= Fast clone of lex(1), the lexical scanner generator +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_TOOLS+= bison gm4:run makeinfo MAKE_JOBS_SAFE= no @@ -26,7 +28,7 @@ USE_TOOLS+= gmake # bmake has problems with the test suite .endif post-install: - cd ${PREFIX}/bin && ln -s flex flex++ + cd ${DESTDIR:Q}${PREFIX:Q}/bin && ln -s flex flex++ .include "../../devel/gettext-lib/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |