pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/t1lib DESTDIR support and switch to modular buil...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60fe89c6c07f
branches:  trunk
changeset: 521188:60fe89c6c07f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Nov 06 11:25:24 2006 +0000

description:
DESTDIR support and switch to modular buildlinks.

diffstat:

 fonts/t1lib/Makefile         |  24 ++++++++++++++----------
 fonts/t1lib/distinfo         |   3 ++-
 fonts/t1lib/patches/patch-ab |  13 +++++++++++++
 3 files changed, 29 insertions(+), 11 deletions(-)

diffs (86 lines):

diff -r c4134a803313 -r 60fe89c6c07f fonts/t1lib/Makefile
--- a/fonts/t1lib/Makefile      Mon Nov 06 11:24:26 2006 +0000
+++ b/fonts/t1lib/Makefile      Mon Nov 06 11:25:24 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2006/04/08 07:21:28 reed Exp $
+# $NetBSD: Makefile,v 1.33 2006/11/06 11:25:24 joerg Exp $
 
 DISTNAME=      t1lib-5.1.0
 PKGREVISION=   5
@@ -9,6 +9,7 @@
 COMMENT=       Library for generating bitmaps from Adobe Type 1 fonts
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake
@@ -22,7 +23,7 @@
 CONF_FILES=    ${EGDIR}/t1lib.config.sample ${DATADIR}/t1lib.config
 CONF_FILES+=   ${EGDIR}/FontDataBase ${DATADIR}/FontDataBase
 
-.include "../../graphics/xpm/buildlink3.mk"
+.include "../../x11/libXpm/buildlink3.mk"
 
 SUBST_CLASSES+=                paths
 SUBST_FILES.paths=     t1lib.config.sample
@@ -37,16 +38,19 @@
        ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM}
 
 post-install:
-       ${INSTALL_DATA_DIR} ${DATADIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
        cd ${WRKSRC};                                                   \
-       ${PAX} -rw Fonts ${DATADIR};                                    \
-       ${CHMOD} go+r ${DATADIR}/Fonts/enc/IsoLatin2.enc;               \
-       ${PAX} -rw -s "/doc/${PKGBASE}/" doc ${PREFIX}/share/doc
+       ${PAX} -rw Fonts ${DESTDIR}${DATADIR};                                  \
+       ${CHMOD} go+r ${DESTDIR}${DATADIR}/Fonts/enc/IsoLatin2.enc;             \
+       ${PAX} -rw -s "/doc/${PKGBASE}/" doc ${DESTDIR}${PREFIX}/share/doc
 
-       ${INSTALL_DATA_DIR} ${EGDIR}
-       ${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${EGDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/t1lib.config.sample ${DESTDIR}${EGDIR}
        cd ${WRKSRC}/examples;                                          \
-       ${PAX} -rw FontDataBase t1example1.c t1lib.config ${EGDIR}
+       ${PAX} -rw FontDataBase t1example1.c t1lib.config ${DESTDIR}${EGDIR}
 
-.include "../../mk/x11.buildlink3.mk"
+.include "../../x11/libX11/buildlink3.mk"
+.include "../../x11/libXt/buildlink3.mk"
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXp/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r c4134a803313 -r 60fe89c6c07f fonts/t1lib/distinfo
--- a/fonts/t1lib/distinfo      Mon Nov 06 11:24:26 2006 +0000
+++ b/fonts/t1lib/distinfo      Mon Nov 06 11:25:24 2006 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.14 2005/09/09 16:59:55 tonio Exp $
+$NetBSD: distinfo,v 1.15 2006/11/06 11:25:24 joerg Exp $
 
 SHA1 (t1lib-5.1.0.tar.gz) = 6866561027aa32b0efb1a1aad0aa38cb5e01a299
 RMD160 (t1lib-5.1.0.tar.gz) = f12710159aa8a92e8feb5d934dc45875d198bb58
 Size (t1lib-5.1.0.tar.gz) = 1838635 bytes
 SHA1 (patch-aa) = 068c25f733c3037faa5051b527b1e1637d706a20
+SHA1 (patch-ab) = ccc3d498cfd94f1ebe54be8f10384cdd94c6ebf8
 SHA1 (patch-ac) = 14201794e29a2eeba22a9144726ed3e00322aa1d
 SHA1 (patch-ad) = 29c530f6d363de31777ad45823b55e72208c4ccb
 SHA1 (patch-af) = e89df0d94e0748e468c7c3d40ce2fc0ccdb0116c
diff -r c4134a803313 -r 60fe89c6c07f fonts/t1lib/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/t1lib/patches/patch-ab      Mon Nov 06 11:25:24 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.5 2006/11/06 11:25:24 joerg Exp $
+
+--- type1afm/Makefile.in.orig  2006-11-04 01:08:30.000000000 +0000
++++ type1afm/Makefile.in
+@@ -89,7 +89,7 @@ clean: dummy
+ install: dummy
+       $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+       $(LIBTOOL) --mode=install \
+-              $(INSTALL_PROGRAM) type1afm $(bindir)/type1afm
++              $(INSTALL_PROGRAM) type1afm $(DESTDIR)$(bindir)/type1afm
+ 
+ 
+ uninstall: dummy



Home | Main Index | Thread Index | Old Index