37 lines
996 B
Makefile
37 lines
996 B
Makefile
# $NetBSD: Makefile,v 1.4 2004/04/25 21:23:53 snj Exp $
|
|
#
|
|
|
|
DISTNAME= teTeX-texmf-1.0.2
|
|
PKGNAME= teTeX-share-1.0.2
|
|
PKGREVISION= 2
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/1.0/distrib/sources/}
|
|
|
|
MAINTAINER= hubertf@NetBSD.org
|
|
HOMEPAGE= http://www.tug.org/tetex/
|
|
COMMENT= Machine-independent part of teTeX
|
|
|
|
CONFLICTS+= teTeX2-share-[2-9]*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= teTeX
|
|
USE_BUILDLINK3= yes
|
|
EXTRACT_ONLY= # empty
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
NO_MTREE= yes
|
|
USE_GNU_TOOLS+= patch
|
|
|
|
EXTRA_PATCH= ${FILESDIR}/latex.ltx.diff
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
|
|
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${PAX} -O -cr `${CAT} ${FILESDIR}/exclude`
|
|
|
|
post-install:
|
|
@cd ${PREFIX}/share/texmf/tex/latex/base && \
|
|
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${EXTRA_PATCH} && \
|
|
${RM} latex.ltx.orig
|
|
${CP} ${FILESDIR}/dvipdfm.def ${PREFIX}/share/texmf/tex/latex/graphics
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|