pkgsrc/devel/gtexinfo/Makefile
2002-11-30 13:45:17 +00:00

34 lines
988 B
Makefile

# $NetBSD: Makefile,v 1.32 2002/11/30 13:45:17 grant Exp $
#
DISTNAME= texinfo-4.3
PKGNAME= g${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
COMMENT= GNU info file manipulation utilities
USE_BUILDLINK2= yes
USE_GNU_GETTEXT= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-libiconv-prefix=${BUILDLINK_PREFIX.iconv}
CONFIGURE_ARGS+= --with-libintl-prefix=${BUILDLINK_PREFIX.gettext}
AUTOMAKE_PATTERNS+= configure.ac
AUTOMAKE_PATTERNS+= config.in
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' \
-e 's|@X11BASE@|${X11BASE}|g' \
-e 's|@LOCALBASE@|${LOCALBASE}|g' \
< ${WRKSRC}/info/filesys.h.orig \
> ${WRKSRC}/info/filesys.h
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"