summaryrefslogtreecommitdiffstats
path: root/textproc/eruby/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/eruby/Makefile')
-rw-r--r--textproc/eruby/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
index 0282bba..8d0fe28 100644
--- a/textproc/eruby/Makefile
+++ b/textproc/eruby/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= eruby
-PORTVERSION= 0.0.9
+PORTVERSION= 0.1.1
CATEGORIES= textproc www ruby
MASTER_SITES= http://www.ruby-lang.org/~shugo/eruby/
DIST_SUBDIR= ruby
@@ -15,13 +15,16 @@ MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}
+CONFIGURE_ARGS= --enable-shared --default-charset="${DEFAULT_CHARSET}"
+INSTALLS_SHLIB= yes
+
+DEFAULT_CHARSET?= US-ASCII
DOCS_EN= ChangeLog README.en
DOCS_JA= README.ja
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB ${CONFIGURE_ARGS}
post-install:
.if !defined(NOPORTDOCS)
@@ -34,6 +37,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/Mk/bsd.ruby.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud