2004-03-26 03:27:34 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2004/03/26 02:27:51 wiz Exp $
|
1999-03-10 18:03:13 +01:00
|
|
|
|
|
|
|
DISTNAME= lgrind
|
|
|
|
PKGNAME= lgrind-3.5
|
2004-03-26 03:27:34 +01:00
|
|
|
PKGREVISION= 3
|
1999-03-10 18:03:13 +01:00
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= jwise@NetBSD.org
|
2001-02-17 18:42:09 +01:00
|
|
|
COMMENT= Source pretty printer for LaTeX
|
1999-03-10 18:03:13 +01:00
|
|
|
|
2003-12-24 14:02:00 +01:00
|
|
|
DEPENDS+= teTeX-1.0.*:../../print/teTeX1
|
1999-03-10 18:03:13 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/lgrind/source
|
1999-04-26 21:25:05 +02:00
|
|
|
USE_X11= yes
|
2000-08-19 00:46:29 +02:00
|
|
|
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
|
1999-03-10 18:03:13 +01:00
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
1999-12-16 15:34:10 +01:00
|
|
|
pre-patch:
|
|
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile-prepatch
|
|
|
|
${SED} -e '/Id/s|\$$||g' ${WRKSRC}/Makefile-prepatch > ${WRKSRC}/Makefile
|
|
|
|
|
1999-03-10 18:03:13 +01:00
|
|
|
pre-build:
|
|
|
|
(cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.ins)
|
|
|
|
(cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.dtx)
|
|
|
|
${MV} ${WRKSRC}/lgrind.1 ${WRKSRC}/lgrind.1.bak
|
|
|
|
${MV} ${WRKSRC}/lgrindef.5 ${WRKSRC}/lgrindef.5.bak
|
|
|
|
${SED} -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/lgrind.1.bak > ${WRKSRC}/lgrind.1
|
|
|
|
${SED} -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/lgrindef.5.bak > ${WRKSRC}/lgrindef.5
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
-mkdir ${PREFIX}/share/texmf/tex/latex/lgrind
|
|
|
|
-mkdir ${PREFIX}/share/texmf/doc/latex/lgrind
|
|
|
|
|
1999-09-08 20:55:59 +02:00
|
|
|
post-install:
|
|
|
|
${PREFIX}/bin/texconfig rehash
|
|
|
|
|
1999-09-28 22:40:02 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|