blob: 502b3746f0419616d135ccfe5f5fdf7ecd158d6d (
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
31
32
33
34
|
# $NetBSD: Makefile,v 1.4 2008/03/04 16:38:12 jlam 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}
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
cd ${DESTDIR}${PREFIX} && \
${FIND} ${DOCDIR} -type f -print >> ${PLIST_SRC}
cd ${DESTDIR}${PREFIX} && \
${FIND} -d ${DOCDIR} -type d -print | \
${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"
|