23bfa7ce7e
OBATA Akio. * Sat Jun 11 05:10:05 2005, pabs <pabs@pablotron.org> * imlib2.c: fix Image#draw_text brokenness * imlib2.c: check buffer size in Image#put_data (Fixes: #32) * imlib2.c: increment version to 0.5.2 * README: ditto * imlib2.gemspec: ditto * AUTHORS: update tilman's entry * Sat Jun 11 05:34:58 2005, pabs <pabs@pablotron.org> * releasing 0.5.2
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.5 2005/06/12 14:57:51 taca Exp $
|
|
|
|
DISTNAME= imlib2-ruby-${VER}
|
|
PKGNAME= ${RUBY_PKGPREFIX}-imlib2-${VER}
|
|
CATEGORIES= graphics ruby
|
|
MASTER_SITES= http://www.pablotron.org/download/
|
|
|
|
MAINTAINER= obata@lins.jp
|
|
HOMEPAGE= http://www.pablotron.org/software/imlib2-ruby/
|
|
COMMENT= Imlib2 bindings for Ruby
|
|
|
|
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
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
BUILDLINK_DEPENDS.imlib2+= imlib2>=1.2.0nb2
|
|
|
|
.include "../../graphics/imlib2/buildlink3.mk"
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
DOCS= AUTHORS COPYING ChangeLog README TODO
|
|
|
|
.include "../../mk/x11.buildlink3.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/imlib2
|
|
cd ${WRKSRC}/examples && ${PAX} -rw -pp -pm . ${RUBY_EXAMPLESDIR}/imlib2
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/imlib2
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/imlib2
|
|
.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}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|