pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/ttmkfdir2 DESTDIR ready.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a9ffec0786a
branches:  trunk
changeset: 536352:1a9ffec0786a
user:      obache <obache%pkgsrc.org@localhost>
date:      Tue Dec 11 12:29:39 2007 +0000

description:
DESTDIR ready.

diffstat:

 fonts/ttmkfdir2/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 998dda44e33c -r 1a9ffec0786a fonts/ttmkfdir2/Makefile
--- a/fonts/ttmkfdir2/Makefile  Tue Dec 11 12:28:26 2007 +0000
+++ b/fonts/ttmkfdir2/Makefile  Tue Dec 11 12:29:39 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2006/05/06 03:41:31 minskim Exp $
+# $NetBSD: Makefile,v 1.17 2007/12/11 12:29:39 obache Exp $
 #
 
 DISTNAME=      ttmkfdir2.20021109
@@ -19,13 +19,15 @@
 USE_TOOLS+=    gmake lex
 USE_LANGUAGES= c c++
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 MAKE_ENV+=     FREETYPE_CONFIG=${FREETYPE_CONFIG:Q}
 LDFLAGS+=      ${BUILDLINK_LDADD.getopt}
 
 INSTALLATION_DIRS=     bin
 
 do-install:
-       ${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${PREFIX}/bin
+       ${INSTALL_PROGRAM} ${WRKSRC}/ttmkfdir ${DESTDIR}${PREFIX}/bin
 
 .include "../../devel/libgetopt/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index