DESTDIR support

This commit is contained in:
joerg 2009-03-23 00:32:10 +00:00
parent 22edeaef0a
commit 1240b44708

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2007/01/07 09:14:14 rillig Exp $
# $NetBSD: Makefile,v 1.10 2009/03/23 00:32:10 joerg Exp $
DISTNAME= texi2roff-2.0
CATEGORIES= textproc
@ -8,11 +8,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://texinfo.org/texi2roff/
COMMENT= Texinfo-to-ROFF direct translator
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET=
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${PREFIX}/${PKGMANDIR}/man1
${INSTALL_PROGRAM} ${WRKSRC}/texi2roff ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/texi2roff.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"