summaryrefslogtreecommitdiff
path: root/textproc/eruby/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-09-22 05:04:30 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-09-22 05:04:30 +0000
commit035cc34a44af6c3ecc596f90fabc12aece642b45 (patch)
tree925ae7063c1f4459adb1815a8ad5dab477898948 /textproc/eruby/Makefile
parentUtilize bsd.{ruby,python}.mk. (diff)
Update to 0.1.1.
Add a DEFAULT_CHARSET knob. Now it builds static and dynamic libraries.
Notes
Notes: svn path=/head/; revision=32966
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 0282bbad7d21..8d0fe28c7d8e 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>