2012-10-02 22:11:34 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2012/10/02 20:11:52 asau Exp $
|
2005-03-23 16:43:43 +01:00
|
|
|
|
2005-11-05 21:12:36 +01:00
|
|
|
DISTNAME= ruby-doc-stdlib-0.10.1
|
2005-03-29 15:31:40 +02:00
|
|
|
CATEGORIES= lang ruby
|
2005-03-23 16:43:43 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_SRC= ${WRKDIR}/.PLIST_SRC
|
|
|
|
DOCDIR= share/doc/${PKGBASE}
|
|
|
|
|
|
|
|
do-install:
|
2008-03-04 17:38:11 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
|
|
${CP} -R ${WRKSRC}/stdlib/* ${DESTDIR}${PREFIX}/${DOCDIR}
|
|
|
|
${FIND} ${DESTDIR}${PREFIX}/${DOCDIR} -type d -print | \
|
2005-03-23 16:43:43 +01:00
|
|
|
${XARGS} ${CHMOD} ${PKGDIRMODE}
|
2008-03-04 17:38:11 +01:00
|
|
|
${FIND} ${DESTDIR}${PREFIX}/${DOCDIR} -type f -print | \
|
2005-03-23 16:43:43 +01:00
|
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
2008-03-04 17:38:11 +01:00
|
|
|
cd ${DESTDIR}${PREFIX} && \
|
|
|
|
${FIND} ${DOCDIR} -type f -print >> ${PLIST_SRC}
|
2005-03-23 16:43:43 +01:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|