summaryrefslogtreecommitdiff
path: root/graphics/ruby-imlib2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ruby-imlib2/Makefile')
-rw-r--r--graphics/ruby-imlib2/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/graphics/ruby-imlib2/Makefile b/graphics/ruby-imlib2/Makefile
index 8ce059fb2b2e..d92fdc538225 100644
--- a/graphics/ruby-imlib2/Makefile
+++ b/graphics/ruby-imlib2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= imlib2
-PORTVERSION= 0.2.0
+PORTVERSION= 0.4.0
CATEGORIES= graphics ruby
MASTER_SITES= http://www.pablotron.org/download/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -20,10 +20,9 @@ LIB_DEPENDS= Imlib2.1:${PORTSDIR}/graphics/imlib2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-ruby
INSTALL_TARGET= site-install
-DOCS= ChangeLog README TODO doc/api.txt
+DOCS= AUTHORS ChangeLog README TODO doc
post-install:
.if !defined(NOPORTDOCS)
@@ -31,7 +30,7 @@ post-install:
${CP} -R ${WRKSRC}/examples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif