summaryrefslogtreecommitdiff
path: root/fonts/thaixfonts/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fonts/thaixfonts/Makefile')
-rw-r--r--fonts/thaixfonts/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/fonts/thaixfonts/Makefile b/fonts/thaixfonts/Makefile
index fb3aa7c66f2..f133f153b24 100644
--- a/fonts/thaixfonts/Makefile
+++ b/fonts/thaixfonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/11/03 15:33:12 rillig Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 20:17:12 jlam Exp $
#
DISTNAME= thaixfonts-1.1-3.noarch
@@ -13,6 +13,8 @@ COMMENT= Various X11 Thai fonts in tis-620 encoding
BUILD_DEPENDS+= rpm-[0-9]*:../../misc/rpm
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_X11BASE= yes
MAKE_ENV+= FONTDIR=${FONTDIR}
@@ -28,10 +30,8 @@ do-extract:
cd ${WRKDIR} && rpm2cpio ${_DISTDIR}/${DISTFILES} | \
cpio -i --make-directories \*
-pre-install:
- ${INSTALL_DATA_DIR} ${FONTDIR}
-
do-install:
- cd ${WRKSRC} && ${INSTALL_DATA} *.gz fonts.* ${FONTDIR}
+ ${INSTALL_DATA_DIR} ${FONTDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} *.gz fonts.* ${DESTDIR}${FONTDIR}
.include "../../mk/bsd.pkg.mk"