2000-08-21 23:01:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2000/08/21 21:01:30 hubertf Exp $
|
1998-01-24 05:13:35 +01:00
|
|
|
#
|
1997-10-09 11:13:49 +02:00
|
|
|
|
1998-05-07 09:42:55 +02:00
|
|
|
DISTNAME= texinfo-3.12
|
|
|
|
PKGNAME= gtexinfo-3.12
|
|
|
|
CATEGORIES= devel
|
1999-04-14 23:39:01 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=texinfo/}
|
1997-10-09 11:13:49 +02:00
|
|
|
|
1998-05-07 09:42:55 +02:00
|
|
|
MAINTAINER= packages@netbsd.org
|
1998-08-20 17:16:34 +02:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/texinfo/texinfo.html
|
1997-12-15 00:09:43 +01:00
|
|
|
|
1998-05-07 09:42:55 +02:00
|
|
|
GNU_CONFIGURE= yes
|
1998-03-05 14:17:17 +01:00
|
|
|
CONFIGURE_ARGS+= --with-catgets
|
1999-08-13 22:40:54 +02:00
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
1997-10-09 11:13:49 +02:00
|
|
|
|
1999-02-18 14:43:26 +01:00
|
|
|
.if exists(/usr/bin/install-info)
|
2000-08-21 23:01:29 +02:00
|
|
|
IGNORE= "${PKGNAME} is included with your NetBSD distribution"
|
1999-02-18 14:43:26 +01:00
|
|
|
.endif
|
|
|
|
|
1998-06-18 18:49:30 +02:00
|
|
|
post-patch:
|
1998-06-14 23:29:39 +02:00
|
|
|
${MV} -f ${WRKSRC}/info/filesys.h ${WRKSRC}/info/filesys.h.orig
|
1998-06-11 14:07:57 +02:00
|
|
|
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
|
|
|
|
-e 's|@X11BASE@|${X11BASE}|g' \
|
|
|
|
-e 's|@LOCALBASE@|${LOCALBASE}|g' \
|
|
|
|
< ${WRKSRC}/info/filesys.h.orig \
|
1998-05-07 09:42:55 +02:00
|
|
|
> ${WRKSRC}/info/filesys.h
|
|
|
|
|
1997-10-09 11:13:49 +02:00
|
|
|
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}
|
1997-10-09 11:13:49 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|