blob: 15056f7c100d3e1281dbf3926bc93c8227315389 (
plain) (
blame)
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
|
# New ports collection makefile for: teTeX
# Version required: 0.4
# Date created: 5 December 1996
# Whom: Bernd Rosauer <br@schiele-ct.de>
#
# $Id: Makefile,v 1.13 1996/12/13 19:26:48 asami Exp $
#
DISTNAME= teTeX-src-0.4
PKGNAME= teTeX-0.4
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= systems/unix/teTeX/distrib/sources
DISTFILES= ${TETEX_SRC} ${TETEX_LIB}
MAINTAINER= br@schiele-ct.de
DIST_SUBDIR= teTeX
EXTRACT_ONLY= ${TETEX_SRC}
PATCH_DIST_STRIP= -p1
NO_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= config clean texhash all
INSTALL_TARGET= install ini
TETEX_SRC= teTeX-src-0.4pl3.tar.gz
TETEX_LIB= teTeX-lib-0.4pl3.tar.gz
WRKLIB= ${WRKDIR}/teTeX
post-extract:
@cd ${WRKDIR} && tar xfz ${DISTDIR}/${DIST_SUBDIR}/${TETEX_LIB}
pre-install:
@chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man
@chmod 444 ${WRKLIB}/info/* ${WRKLIB}/man/man1/* ${WRKLIB/man/man5/*
@find ${WRKLIB}/texmf/fonts -type d -perm 1755 -exec chmod 755 {} \;
@ (cd ${WRKLIB}; tar cf - info man/man1 man/man5) | (cd ${PREFIX}; tar --unlink -xpf -)
@ (cd ${WRKLIB}; tar cf - texmf) | (cd ${PREFIX}/share; tar --unlink -xpf -)
@install -c -m 644 -o bin -g bin ${WRKLIB}/texmf.cnf ${PREFIX}/share/texmf/web2c
post-install:
@${SETENV} PREFIX=${PREFIX} /bin/sh files/install-note
.include <bsd.port.mk>
|