pkgsrc/devel/SDL-intro-ko/Makefile
jlam 4c8382aec0 Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
2008-03-03 17:45:33 +00:00

30 lines
683 B
Makefile

# $NetBSD: Makefile,v 1.2 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= SDL-1.0-korean-intro
PKGNAME= SDL-intro-ko-1.0
CATEGORIES= devel
MASTER_SITES= http://www.libsdl.org/archives/
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
NO_CONFIGURE= YES
NO_BUILD= YES
# Remove links
post-patch:
${RM} ${WRKSRC}/index.html
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${DEST}
${INSTALL_DATA} ${WRKSRC}/*.html ${DESTDIR}${DEST}
${LN} -s toc.html ${DESTDIR}${DEST}/index.html
.include "../../mk/bsd.pkg.mk"