Add DESTDIR support.
This commit is contained in:
parent
ebc89222de
commit
7c30c6a650
1 changed files with 7 additions and 1 deletions
|
@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org
|
|||
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_FILES.python= scripts/yodl2texinfo-post.py
|
|||
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"
|
||||
|
|
Loading…
Reference in a new issue