pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/ruby-imlib2 Use RUBY_GENERATE_PLIST.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/388e1fdaab4a
branches:  trunk
changeset: 518378:388e1fdaab4a
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Sep 07 16:27:52 2006 +0000

description:
Use RUBY_GENERATE_PLIST.

No PKGREVISION bump since the binary package should not changed.

diffstat:

 graphics/ruby-imlib2/Makefile |  15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diffs (39 lines):

diff -r fb45c6334c66 -r 388e1fdaab4a graphics/ruby-imlib2/Makefile
--- a/graphics/ruby-imlib2/Makefile     Thu Sep 07 16:22:54 2006 +0000
+++ b/graphics/ruby-imlib2/Makefile     Thu Sep 07 16:27:52 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/17 13:46:35 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2006/09/07 16:27:52 taca Exp $
 
 DISTNAME=      imlib2-ruby-${VER}
 PKGNAME=       ${RUBY_PKGPREFIX}-imlib2-${VER}
@@ -12,11 +12,11 @@
 
 VER=           0.5.2
 
-PLIST_SRC=             ${WRKDIR}/PLIST
 REPLACE_RUBY_DIRS=     ${WRKSRC}/examples
 RUBY_HAS_ARCHLIB=      yes
 RUBY_REQD=             1.8.0
 USE_RUBY_EXTCONF=      yes
+RUBY_DYNAMIC_DIRS=     ${RUBY_DOCDIR:S,${PREFIX}/,,}/imlib2
 
 INSTALL_TARGET=        site-install
 
@@ -38,15 +38,6 @@
 .endfor
        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/imlib2/api
        cd ${WRKSRC}/doc && ${PAX} -rw -pp -pm . ${RUBY_DOCDIR}/imlib2/api
-       @${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
-       cd ${RUBY_DOCDIR} && \
-       ${FIND} imlib2 \! -type d -print | ${SORT} | \
-       while read FN; do \
-         ${ECHO} "\$${RUBY_DOCDIR}/$${FN}"; \
-       done >> ${PLIST_SRC} && \
-       ${FIND} -d imlib2 -type d -print | \
-       while read DIR; do \
-         ${ECHO} "@dirrm \$${RUBY_DOCDIR}/$${DIR}"; \
-       done >> ${PLIST_SRC}
+       ${RUBY_GENERATE_PLIST}
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index