758d912e33
"extract" script for extraction. Many cases where a custom EXTRACT_CMD simply copied the distfile into the work directory are no longer needed. The extract script also hides differences between pax and tar behind a common command-line interface, so we no longer need code that's conditional on whether EXTRACT_USING is tar or pax.
35 lines
897 B
Makefile
35 lines
897 B
Makefile
# $NetBSD: Makefile,v 1.11 2006/01/21 18:57:42 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= tetex-texmf-3.0
|
|
PKGREVISION= 2
|
|
PKGNAME= ${DISTNAME:C/tetex/teTeX/}
|
|
CATEGORIES= print
|
|
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=systems/unix/teTeX/3.0/distrib/}
|
|
EXTRACT_SUFX= .tar.gz
|
|
|
|
MAINTAINER= kei@NetBSD.org,hubertf@NetBSD.org
|
|
HOMEPAGE= http://www.tug.org/tetex/
|
|
COMMENT= Machine-independent part of teTeX
|
|
|
|
CONFLICTS+= teTeX-share-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= teTeX
|
|
EXTRACT_ONLY= # empty
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
USE_TOOLS+= patch
|
|
|
|
EXTRACT_OPTS= -X ${FILESDIR}/exclude
|
|
EXTRACT_OPTS_TAR= -p
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf
|
|
extract_file=${_DISTDIR:Q}/${DISTFILES:Q}; \
|
|
cd ${PREFIX}/share/texmf; ${EXTRACT_CMD}
|
|
cd ${PREFIX}/share/texmf/dvipdfm/config && \
|
|
${PATCH} ${_PATCH_BACKUP_ARG} .orig < ${FILESDIR}/dvipdfm-config.diff && \
|
|
${RM} config.orig
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|