pkgsrc/devel/gtexinfo/Makefile

35 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2000/08/21 21:01:30 hubertf Exp $
1998-01-24 05:13:35 +01:00
#
DISTNAME= texinfo-3.12
PKGNAME= gtexinfo-3.12
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-catgets
1999-08-13 22:40:54 +02:00
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
.if exists(/usr/bin/install-info)
IGNORE= "${PKGNAME} is included with your NetBSD distribution"
.endif
post-patch:
${MV} -f ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.orig
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@X11BASE@|${X11BASE}|g' \
-e 's|@LOCALBASE@|${LOCALBASE}|g' \
< ${WRKSRC}/info/filesys.h.orig \
> ${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
1999-08-13 22:40:54 +02:00
${CAT} ${PKGDIR}/PLIST.common ${PKGDIR}/PLIST.${LOWER_OPSYS} > ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"