1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/lang/ruby16/Makefile
Chris Piazza 670154fc8e Update to version 1.4.0
PR:		13304
Submitted by:	maintainer
1999-08-26 21:10:23 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: ruby
# Version required: 1.4.0
# Date created: 04 September 1997
# Whom: Eiji-usagi-MATSUmoto <usagi@ruby.club.or.jp>
#
# $FreeBSD$
#
DISTNAME= ruby-1.4.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.netlab.co.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.TokyoNet.AD.JP/pub/misc/ruby/${BRANCH_NAME}/ \
ftp://ftp.iij.ad.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://blade.nagaokaut.ac.jp/pub/lang/ruby/${BRANCH_NAME}/ \
ftp://ftp.krnet.ne.jp/pub/ruby/${BRANCH_NAME}/ \
ftp://mirror.nucba.ac.jp/mirror/ruby/${BRANCH_NAME}/
MAINTAINER= yasuf@big.or.jp
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-shared
MAN1= ruby.1
PLIST_SUB+= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
RUBY_VER= 1.4
RUBY_ARCH= ${ARCH}-freebsd${OSREL}
BRANCH_NAME= .
post-patch:
${RM} -f ${WRKSRC}/ext/tcltklib/MANIFEST
${RM} -f ${WRKSRC}/ext/tk/MANIFEST
post-install:
strip ${PREFIX}/bin/ruby
${MKDIR} ${PREFIX}/share/examples/ruby
${INSTALL_DATA} ${WRKSRC}/sample/* ${PREFIX}/share/examples/ruby
${MKDIR} ${PREFIX}/share/examples/ruby/misc
${INSTALL_DATA} ${WRKSRC}/misc/* ${PREFIX}/share/examples/ruby/misc
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
test:
@(cd ${WRKSRC}; make test)
.include <bsd.port.mk>