33 lines
1,000 B
Makefile
33 lines
1,000 B
Makefile
# $NetBSD: Makefile,v 1.25 2004/02/12 21:52:08 minskim Exp $
|
|
#
|
|
|
|
DISTNAME= tetex-texmf-2.0.2
|
|
PKGNAME= teTeX-share-2.0.2
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/2.0/distrib/}
|
|
|
|
MAINTAINER= kei@NetBSD.org
|
|
HOMEPAGE= http://www.tug.org/tetex/
|
|
COMMENT= Machine-independent part of teTeX, version 2
|
|
|
|
CONFLICTS+= teTeX2-share-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= teTeX
|
|
EXTRACT_ONLY= # empty
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_GNU_TOOLS+= patch
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
|
|
.if defined(EXTRACT_USING_PAX)
|
|
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${PAX} -O -cr `${CAT} ${FILESDIR}/exclude`
|
|
.else
|
|
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} | ${GTAR} -X ${FILESDIR}/exclude -xpf -
|
|
.endif
|
|
cd ${PREFIX}/share/texmf/dvipdfm/config && \
|
|
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \
|
|
${RM} config.orig
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|