pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/fonts/alee-ttf Install as X11 font as well. DESTDIR su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f62bdd162992
branches:  trunk
changeset: 522619:f62bdd162992
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Dec 15 17:34:27 2006 +0000

description:
Install as X11 font as well. DESTDIR support. Bump revision.

diffstat:

 fonts/alee-ttf/Makefile |  18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diffs (41 lines):

diff -r 32dff3c0ccdf -r f62bdd162992 fonts/alee-ttf/Makefile
--- a/fonts/alee-ttf/Makefile   Fri Dec 15 17:32:41 2006 +0000
+++ b/fonts/alee-ttf/Makefile   Fri Dec 15 17:34:27 2006 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2006/10/29 20:34:05 minskim Exp $
+# $NetBSD: Makefile,v 1.19 2006/12/15 17:34:27 joerg Exp $
 #
 
 DISTNAME=      ttf-alee_11.1
 PKGNAME=       ${DISTNAME:S/ttf-alee_/alee-ttf-/}
+PKGREVISION=   1
 CATEGORIES=    fonts korean
 MASTER_SITES=  ${MASTER_SITE_DEBIAN:=pool/main/t/ttf-alee/}
 
@@ -10,18 +11,19 @@
 HOMEPAGE=      http://packages.debian.org/unstable/x11/ttf-alee
 COMMENT=       A Lee's Hangul truetype fonts
 
-USE_X11BASE=    YES
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 NO_CONFIGURE=   YES
 NO_BUILD=       YES
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/_/-/}
-FONTS_DIRS.ttf= ${PREFIX}/lib/X11/fonts/TTF
-DOCDIR=         ${PREFIX}/share/doc/alee-ttf
+FONTS_DIRS.ttf=        lib/X11/fonts/TTF
+FONTS_DIRS.x11=        lib/X11/fonts/TTF
+
+INSTALLATION_DIRS=     lib/X11/fonts/TTF share/doc/alee-ttf
 
 do-install:
-       ${INSTALL_DATA_DIR} ${FONTS_DIRS.ttf}
-       ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTS_DIRS.ttf}
-       ${INSTALL_DATA_DIR} ${DOCDIR}
-       ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
+       ${INSTALL_DATA} ${WRKSRC}/*.ttf ${DESTDIR}${PREFIX}/lib/X11/fonts/TTF
+       ${INSTALL_DATA} ${WRKSRC}/COPYING ${DESTDIR}${PREFIX}/share/doc/alee-ttf
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index