blob: f2ab0195045728cbea5ca6b32075b5351e8333e3 (
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.6 2009/07/22 09:30:39 wiz Exp $
DISTNAME= ruby-doc-stdlib-0.10.1
CATEGORIES= lang ruby
MASTER_SITES= http://www.ruby-doc.org/downloads/stdlib/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.ruby-doc.org/
COMMENT= Ruby Standard Library Documentation
PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= yes
NO_BUILD= yes
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
DOCDIR= share/doc/${PKGBASE}
do-install:
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
${CP} -R ${WRKSRC}/stdlib/* ${DESTDIR}${PREFIX}/${DOCDIR}
${FIND} ${DESTDIR}${PREFIX}/${DOCDIR} -type d -print | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${FIND} ${DESTDIR}${PREFIX}/${DOCDIR} -type f -print | \
${XARGS} ${CHMOD} ${SHAREMODE}
cd ${DESTDIR}${PREFIX} && \
${FIND} ${DOCDIR} -type f -print >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
|