pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print Simplify TeX Live packages using print/texlive/m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aca13c947470
branches:  trunk
changeset: 557285:aca13c947470
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Apr 13 00:13:03 2009 +0000

description:
Simplify TeX Live packages using print/texlive/module.mk.

diffstat:

 print/tex-bin-dvipdfm/Makefile  |  27 +++------------------------
 print/tex-bin-dvipsk/Makefile   |  27 +++------------------------
 print/tex-bin-kpathsea/Makefile |  37 ++++++-------------------------------
 print/tex-bin-tetex/Makefile    |  27 +++------------------------
 print/tex-bin-texlive/Makefile  |  26 ++------------------------
 print/tex-bin-xdvi/Makefile     |  28 +++-------------------------
 print/tex-hyphen-base/Makefile  |  26 ++------------------------
 7 files changed, 22 insertions(+), 176 deletions(-)

diffs (truncated from 315 to 300 lines):

diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-dvipdfm/Makefile
--- a/print/tex-bin-dvipdfm/Makefile    Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-dvipdfm/Makefile    Mon Apr 13 00:13:03 2009 +0000
@@ -1,36 +1,15 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/04/12 02:26:40 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 12298
 
 DISTNAME=      bin-dvipdfm
 PKGNAME=       tex-${DISTNAME}-0.13.2d
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Supplementary files for dvipdfm
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
+TEXLIVE_IGNORE_PATTERNS=       texmf/fonts
 
-post-extract:
-       ${RM} -rf ${WRKSRC}/texmf/fonts
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-dvipsk/Makefile
--- a/print/tex-bin-dvipsk/Makefile     Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-dvipsk/Makefile     Mon Apr 13 00:13:03 2009 +0000
@@ -1,36 +1,15 @@
-# $NetBSD: Makefile,v 1.2 2009/02/26 16:58:56 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 12172
 
 DISTNAME=      bin-dvipsk
 PKGNAME=       tex-${DISTNAME}-2008.12172
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Supplementary files for dvipsk
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
+TEXLIVE_IGNORE_PATTERNS=       texmf/dvips/base
 
-post-extract:
-       ${RM} -rf ${WRKSRC}/texmf/dvips/base
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-kpathsea/Makefile
--- a/print/tex-bin-kpathsea/Makefile   Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-kpathsea/Makefile   Mon Apr 13 00:13:03 2009 +0000
@@ -1,43 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2009/04/11 19:22:11 minskim Exp $
+# $NetBSD: Makefile,v 1.3 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 12509
 
 DISTNAME=      bin-kpathsea
 PKGNAME=       tex-${DISTNAME}-2008.12509
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Translation tables for TeX
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
+TEXLIVE_IGNORE_PATTERNS=       texmf/web2c/fmtutil.cnf \
+                               texmf/web2c/mktex.opt \
+                               texmf/web2c/mktex[a-z]* \
+                               texmf/web2c/texmf.cnf
 
-post-extract:
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktex.opt
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktexdir
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktexdir.opt
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktexnam
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktexnam.opt
-       ${RM} -f ${WRKSRC}/texmf/web2c/mktexupd
-       ${RM} -f ${WRKSRC}/texmf/web2c/texmf.cnf
-       ${RM} -f ${WRKSRC}/texmf/web2c/fmtutil.cnf
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-tetex/Makefile
--- a/print/tex-bin-tetex/Makefile      Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-tetex/Makefile      Mon Apr 13 00:13:03 2009 +0000
@@ -1,36 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2009/04/11 18:49:18 minskim Exp $
+# $NetBSD: Makefile,v 1.5 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 12298
 
 DISTNAME=      bin-tetex
 PKGNAME=       tex-${DISTNAME}-3.0.12298
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Supplementary files for updmap
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
+TEXLIVE_IGNORE_PATTERNS=       texmf/web2c/updmap.cfg
 
-post-extract:
-       ${RM} -f ${WRKSRC}/texmf/web2c/updmap.cfg
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-texlive/Makefile
--- a/print/tex-bin-texlive/Makefile    Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-texlive/Makefile    Mon Apr 13 00:13:03 2009 +0000
@@ -1,35 +1,13 @@
-# $NetBSD: Makefile,v 1.3 2009/02/26 16:43:20 minskim Exp $
+# $NetBSD: Makefile,v 1.4 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 12181
 
 DISTNAME=      bin-texlive
 PKGNAME=       tex-${DISTNAME}-2008.12181
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Executables and files maintained as part of TeX Live
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
-
-post-extract:
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-bin-xdvi/Makefile
--- a/print/tex-bin-xdvi/Makefile       Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-bin-xdvi/Makefile       Mon Apr 13 00:13:03 2009 +0000
@@ -1,39 +1,17 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/02/23 08:44:37 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 10592
 
 DISTNAME=      bin-xdvi
 PKGNAME=       tex-${DISTNAME}-22.84.14
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       Configuration file for xdvik
 
 CONFLICTS+=    teTeX-bin<3.0nb25
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
 
-.include "../../print/kpathsea/texmf.mk"
+TEXLIVE_IGNORE_PATTERNS=       texmf/xdvi/pixmaps texmf/xdvi/xdvi.cfg
 
-post-extract:
-       ${RM} -rf ${WRKSRC}/texmf/xdvi/pixmaps
-       ${RM} -f ${WRKSRC}/texmf/xdvi/xdvi.cfg
-       ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
-       ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
-
-do-install:
-       cd ${WRKSRC} && \
-               pax -rwpm -s ',.*\.orig$$,,' texmf* ${DESTDIR}${PREFIX}/share
-
+.include "../../print/texlive/module.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 7e6014d2647e -r aca13c947470 print/tex-hyphen-base/Makefile
--- a/print/tex-hyphen-base/Makefile    Mon Apr 13 00:03:26 2009 +0000
+++ b/print/tex-hyphen-base/Makefile    Mon Apr 13 00:13:03 2009 +0000
@@ -1,25 +1,12 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/06 17:53:40 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/13 00:13:03 minskim Exp $
 # TeX Live Revision 11176
 
 DISTNAME=      hyphen-base
 PKGNAME=       tex-${DISTNAME}-2008.11176
-CATEGORIES=    print
-MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/tlnet/2008/archive/}
-DIST_SUBDIR=   ${PKGNAME_NOREV}
-EXTRACT_SUFX=  .tar.lzma
 
 MAINTAINER=    minskim%NetBSD.org@localhost
-HOMEPAGE=      http://www.tug.org/texlive/
 COMMENT=       TeX hyphenation patterns for English
 
-PKG_DESTDIR_SUPPORT=   user-destdir
-
-USE_TOOLS+=    pax
-
-NO_CONFIGURE=  yes
-NO_BUILD=      yes
-WRKSRC=                ${WRKDIR}
-
 PKG_SYSCONFSUBDIR=     texmf
 
 MAKE_DIRS+=    ${PKG_SYSCONFDIR}/tex/generic/config
@@ -31,14 +18,5 @@



Home | Main Index | Thread Index | Old Index