diff options
author | heinz <heinz> | 2007-06-03 22:57:25 +0000 |
---|---|---|
committer | heinz <heinz> | 2007-06-03 22:57:25 +0000 |
commit | eed89be20c9ccfbc23d91361ed759230ac3b87f1 (patch) | |
tree | 6c8f005014d32397cbdbcaacfaaa0e954ca885b5 /devel/flex | |
parent | 30376bae1c3244556ffacf27f6d364a740b49286 (diff) | |
download | pkgsrc-eed89be20c9ccfbc23d91361ed759230ac3b87f1.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" |