summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-12-15 17:34:27 +0000
committerjoerg <joerg@pkgsrc.org>2006-12-15 17:34:27 +0000
commit88032b15ea66b8c32ec3cb7b796f30a5f3554f1a (patch)
tree4b54e5a2caf54ac82731706a577b93bc8ec67a5b /fonts
parent81004584280f39b4d3923806b025b5d99886fd25 (diff)
downloadpkgsrc-88032b15ea66b8c32ec3cb7b796f30a5f3554f1a.tar.gz
Install as X11 font as well. DESTDIR support. Bump revision.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/alee-ttf/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/fonts/alee-ttf/Makefile b/fonts/alee-ttf/Makefile
index efba68afb15..d9530cb87ed 100644
--- a/fonts/alee-ttf/Makefile
+++ b/fonts/alee-ttf/Makefile
@@ -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 @@ MAINTAINER= fox9@netb.co.kr
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"