pkgsrc/x11/tkinfo/Makefile
rillig 2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00

30 lines
750 B
Makefile

# $NetBSD: Makefile,v 1.25 2007/01/07 09:14:16 rillig Exp $
DISTNAME= tkinfo-2.8
PKGREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://math-www.uni-paderborn.de/~axel/tkinfo/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://math-www.uni-paderborn.de/~axel/tkinfo/
COMMENT= Tk script to read and display GNU "info" files
DEPENDS+= tk>=8.3.2:../../x11/tk
NO_BUILD= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
post-patch:
cd ${WRKSRC}; \
${MV} tkinfo tkinfo.src; \
${SED} \
-e 's|@LOCALBASE@|${LOCALBASE}|g' \
-e 's|@X11BASE@|${X11BASE}|g' \
< tkinfo.src > tkinfo
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tkinfo.1 ${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"