summaryrefslogtreecommitdiff
path: root/print/teTeX-sharesrc
diff options
context:
space:
mode:
Diffstat (limited to 'print/teTeX-sharesrc')
-rw-r--r--print/teTeX-sharesrc/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/print/teTeX-sharesrc/Makefile b/print/teTeX-sharesrc/Makefile
index 8139695104e..a4d15b65587 100644
--- a/print/teTeX-sharesrc/Makefile
+++ b/print/teTeX-sharesrc/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2001/02/25 04:18:12 hubertf Exp $
+# $NetBSD: Makefile,v 1.9 2001/10/24 00:28:49 kei Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp
#
DISTNAME= teTeX-texmfsrc-1.0.1
-PKGNAME= teTeX-sharesrc-1.0.1
+PKGNAME= teTeX-sharesrc-1.0.1nb1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/}
@@ -11,7 +11,7 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.tug.org/tetex/
COMMENT= Sources for machine-independent part of teTeX
-DEPENDS+= teTeX-share-1.0.*:../teTeX-share
+DEPENDS+= teTeX-share>=1.0.2nb1:../teTeX-share
DIST_SUBDIR= teTeX
WRKSRC= ${WRKDIR}
@@ -21,12 +21,20 @@ NO_CONFIGURE= yes
NO_BUILD= yes
NO_MTREE= yes
+FILESDIR= ${.CURDIR}/../../print/teTeX-share/files
+EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff
+
do-install:
@${ECHO} ""
@${ECHO} "Extracting ${DISTFILES} to ${PREFIX}/share/texmf/source"
@${ECHO} " Get yourself a shower and a mug of coffee, this will take long!"
@${ECHO} ""
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
- ${GTAR} plzxCf ${PREFIX}/share/texmf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ ${GTAR} -plzx \
+ -C ${PREFIX}/share/texmf \
+ -f ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ @cd ${PREFIX}/share/texmf/source/latex/base && \
+ ${PATCH} < ${EXTRA_PATCH} && \
+ ${RM} latex.ltx.orig
.include "../../mk/bsd.pkg.mk"