1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/textproc/ruby-erb/Makefile
2002-10-06 21:38:34 +00:00

34 lines
720 B
Makefile

# New ports collection makefile for: Ruby-ERb
# Date created: 21 February 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= erb
PORTVERSION= 1.4.3
CATEGORIES= textproc ruby
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
post-patch:
${RUBY} -i -pe '$$. == 1 and $$_ = "#!${RUBY}\n" + $$_' ${WRKSRC}/lib/erb/erb.rb
do-install:
@cd ${WRKSRC}; \
${RUBY} install.rb
${LN} -sf ${RUBY_SITELIBDIR}/erb/erb.rb ${PREFIX}/bin/erb
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>