blob: a26ebdd742c960a0a9366bf3e8880d12365c02c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# $NetBSD: Makefile,v 1.29 2005/05/16 10:38:53 rillig Exp $
#
DISTNAME= tetex-texmf-2.0.2
PKGNAME= teTeX-share-2.0.2
PKGREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/2.0/distrib/}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
DISTFILES+= listings${EXTRACT_SUFX}
MAINTAINER= kei@NetBSD.org
HOMEPAGE= http://www.tug.org/tetex/
COMMENT= Machine-independent part of teTeX, version 2
SITES_listings.tar.gz= ${LOCAL_PORTS}
CONFLICTS+= teTeX2-share-[0-9]*
WRKSRC= ${WRKDIR}
DIST_SUBDIR= teTeX
EXTRACT_ONLY= # empty
NO_CONFIGURE= yes
NO_BUILD= yes
USE_GNU_TOOLS+= patch
.include "../../mk/bsd.prefs.mk"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
.if !empty(EXTRACT_USING:Mgtar)
for i in ${DISTFILES}; do \
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/$$i | ${GTAR} -X ${FILESDIR}/exclude -xpf -; \
done
.else
for i in ${DISTFILES}; do \
cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD} ${DISTDIR}/${DIST_SUBDIR}/$$i | ${PAX} -O -cr `${CAT} ${FILESDIR}/exclude`; \
done
.endif
cd ${PREFIX}/share/texmf/dvipdfm/config && \
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \
${RM} config.orig
.include "../../mk/bsd.pkg.mk"
|