pkgsrc/devel/SDL-intro-en/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

31 lines
700 B
Makefile

# $NetBSD: Makefile,v 1.3 2008/03/03 17:45:33 jlam Exp $
#
DISTNAME= SDL-1.0-english-intro
PKGNAME= SDL-intro-en-1.0
PKGREVISION= 1
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 (English)
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/intro.en
DEST= ${PREFIX}/share/doc/SDL-intro.en
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"