summaryrefslogtreecommitdiff
path: root/devel/SDL-intro-ko/Makefile
blob: dc46d9f71f6f42967117f2065f0cda899151bc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $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"