summaryrefslogtreecommitdiff
path: root/devel/SDL-intro-ko/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/SDL-intro-ko/Makefile')
-rw-r--r--devel/SDL-intro-ko/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/SDL-intro-ko/Makefile b/devel/SDL-intro-ko/Makefile
index 3ac555faa6f..dc46d9f71f6 100644
--- a/devel/SDL-intro-ko/Makefile
+++ b/devel/SDL-intro-ko/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2006/07/21 19:52:59 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= SDL-1.0-korean-intro
@@ -10,6 +10,8 @@ MAINTAINER= ianzag@mail.ru
HOMEPAGE= http://www.libsdl.org/docs.php
COMMENT= Simple DirectMedia Layer introduction (Korean)
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/intro.ko
DEST= ${PREFIX}/share/doc/SDL-intro.ko
@@ -21,8 +23,8 @@ post-patch:
${RM} ${WRKSRC}/index.html
do-install:
- ${INSTALL_DATA_DIR} ${DEST}
- ${INSTALL_DATA} ${WRKSRC}/*.html ${DEST}
- ${LN} -s ${DEST}/toc.html ${DEST}/index.html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DEST}
+ ${INSTALL_DATA} ${WRKSRC}/*.html ${DESTDIR}${DEST}
+ ${LN} -s toc.html ${DESTDIR}${DEST}/index.html
.include "../../mk/bsd.pkg.mk"