pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/teTeX3-bin DESTDIR support and switch to modular...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/926625c10bca
branches:  trunk
changeset: 521180:926625c10bca
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 06 10:49:29 2006 +0000

description:
DESTDIR support and switch to modular buildlinks.

diffstat:

 print/teTeX3-bin/Makefile        |  12 ++++++++++--
 print/teTeX3-bin/Makefile.common |   4 ++--
 2 files changed, 12 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 06d0084ef276 -r 926625c10bca print/teTeX3-bin/Makefile
--- a/print/teTeX3-bin/Makefile Mon Nov 06 10:47:18 2006 +0000
+++ b/print/teTeX3-bin/Makefile Mon Nov 06 10:49:29 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2006/07/07 15:49:33 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2006/11/06 10:49:29 joerg Exp $
 
 DISTNAME=      tetex-src-3.0
 PKGNAME=       ${DISTNAME:C/tetex/teTeX/:C/src/bin/}
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.tug.org/tetex/
 COMMENT=       TeX distribution for UNIX compatible systems - binaries
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=      teTeX-texmf>=3.0nb3:../../print/teTeX3-texmf
 DEPENDS+=      dialog>=0.6z:../../misc/dialog
 
@@ -40,7 +42,13 @@
                ${PREFIX}/share/texmf/web2c/texmf.cnf
 OWN_DIRS+=     ${PREFIX}/share/texmf-var ${PREFIX}/share/texmf-local
 
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+=   texmf=${DESTDIR}${PREFIX}/share/texmf
+INSTALL_MAKE_FLAGS+=   infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}
+INSTALL_MAKE_FLAGS+=   mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
 .include "../../print/teTeX3-bin/Makefile.common"
-.include "../../graphics/xpm/buildlink3.mk"
+.include "../../x11/libXp/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
 .include "../../mk/xaw.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 06d0084ef276 -r 926625c10bca print/teTeX3-bin/Makefile.common
--- a/print/teTeX3-bin/Makefile.common  Mon Nov 06 10:47:18 2006 +0000
+++ b/print/teTeX3-bin/Makefile.common  Mon Nov 06 10:49:29 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2006/04/05 16:04:01 jlam Exp $
+# $NetBSD: Makefile.common,v 1.8 2006/11/06 10:49:29 joerg Exp $
 
 TETEX_BIN_VERS=                3.0
 DIST_SUBDIR=           teTeX
@@ -59,4 +59,4 @@
 .include "../../fonts/t1lib/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../devel/ncurses/buildlink3.mk"
-.include "../../mk/x11.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"



Home | Main Index | Thread Index | Old Index