pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/yodl Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/acbdd7266968
branches: trunk
changeset: 546910:acbdd7266968
user: bjs <bjs%pkgsrc.org@localhost>
date: Tue Sep 09 02:16:26 2008 +0000
description:
Add DESTDIR support.
diffstat:
textproc/yodl/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 03020225577c -r acbdd7266968 textproc/yodl/Makefile
--- a/textproc/yodl/Makefile Tue Sep 09 01:11:53 2008 +0000
+++ b/textproc/yodl/Makefile Tue Sep 09 02:16:26 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/07/31 11:03:48 joerg Exp $
+# $NetBSD: Makefile,v 1.25 2008/09/09 02:16:26 bjs Exp $
DISTNAME= yodl-1.31.18
PKGREVISION= 5
@@ -9,6 +9,8 @@
HOMEPAGE= http://www.xs4all.nl/~jantien/yodl/
COMMENT= High-level document preparation system
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
USE_TOOLS+= bison flex gmake
MAKE_FILE= GNUmakefile
@@ -19,6 +21,10 @@
SUBST_SED.python+= -e 's,@PYTHON@,${PYTHONBIN},g'
SUBST_STAGE.python= pre-configure
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+= infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}
+INSTALL_MAKE_FLAGS+= mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
.include "../../lang/python/application.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index