diff options
author | seb <seb@pkgsrc.org> | 2002-04-04 11:10:21 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-04-04 11:10:21 +0000 |
commit | 2f41986175d1ea62a597eaa06b5e703f915b1547 (patch) | |
tree | 58b80cb1c1699c8969747de77e84d8130d822ab6 /devel/gtexinfo | |
parent | f9d96d5d839c3b3ec9d2c31df1bf9a6c74ed83ba (diff) | |
download | pkgsrc-2f41986175d1ea62a597eaa06b5e703f915b1547.tar.gz |
Do for this package something similar to what is now done for packages
dealing with info files i.e. explicitly specify which install-info
command should be used.
*Explicitly* do not use ../../mk/texinfo.mk to avoid running into chicken and
egg problem:
define INSTALL_INFO to the very install-info command this package provides
and use it in post-install *and* PLIST.
Diffstat (limited to 'devel/gtexinfo')
-rw-r--r-- | devel/gtexinfo/Makefile | 10 | ||||
-rw-r--r-- | devel/gtexinfo/PLIST | 14 |
2 files changed, 13 insertions, 11 deletions
diff --git a/devel/gtexinfo/Makefile b/devel/gtexinfo/Makefile index 940c243e1ee..42f08b266cd 100644 --- a/devel/gtexinfo/Makefile +++ b/devel/gtexinfo/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2002/01/05 18:42:55 tron Exp $ +# $NetBSD: Makefile,v 1.27 2002/04/04 11:10:21 seb Exp $ # DISTNAME= texinfo-4.0 @@ -18,6 +18,8 @@ MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" .include "../../devel/zlib/buildlink.mk" +INSTALL_INFO= ${PREFIX}/bin/install-info + post-patch: ${MV} -f ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.orig ${SED} -e 's|@PREFIX@|${PREFIX}|g' \ @@ -27,8 +29,8 @@ post-patch: > ${WRKSRC}/info/filesys.h post-install: - ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/texinfo - ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info.info - ${PREFIX}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/info-stnd.info + ${INSTALL_INFO} --info-dir=${PREFIX}/info ${PREFIX}/info/texinfo + ${INSTALL_INFO} --info-dir=${PREFIX}/info ${PREFIX}/info/info.info + ${INSTALL_INFO} --info-dir=${PREFIX}/info ${PREFIX}/info/info-stnd.info .include "../../mk/bsd.pkg.mk" diff --git a/devel/gtexinfo/PLIST b/devel/gtexinfo/PLIST index 6508dbb92ef..791e88339c4 100644 --- a/devel/gtexinfo/PLIST +++ b/devel/gtexinfo/PLIST @@ -1,7 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1 2001/12/25 14:48:34 wiz Exp $ -@unexec install-info --delete --info-dir=%D/info %D/info/info-stnd.info -@unexec install-info --delete --info-dir=%D/info %D/info/info.info -@unexec install-info --delete --info-dir=%D/info %D/info/texinfo +@comment $NetBSD: PLIST,v 1.2 2002/04/04 11:10:22 seb Exp $ +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/info-stnd.info +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/info.info +@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/texinfo bin/makeinfo bin/texi2dvi bin/texindex @@ -25,9 +25,9 @@ info/texinfo-6 info/texinfo-7 info/texinfo-8 info/texinfo-9 -@exec install-info --info-dir=%D/info %D/info/info-stnd.info -@exec install-info --info-dir=%D/info %D/info/info.info -@exec install-info --info-dir=%D/info %D/info/texinfo +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/info-stnd.info +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/info.info +@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/texinfo man/man1/info.1 man/man1/install-info.1 man/man1/makeinfo.1 |