5efebab608
Submitted by: br@schiele-ct.de
45 lines
1.3 KiB
Makefile
45 lines
1.3 KiB
Makefile
# 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>
|