1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/textproc/ruby-escape/Makefile

31 lines
721 B
Makefile

# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
# $FreeBSD$
PORTNAME= escape
PORTVERSION= 0.2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.a-k-r.org/${PORTNAME}/ \
${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/ruby-escape|}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
MAINTAINER= tota@FreeBSD.org
COMMENT= Ruby library provides HTML/URI/shell escaping functions
USE_RUBY= yes
NO_BUILD= yes
DOCS= ChangeLog README
NO_STAGE= yes
do-install:
@${INSTALL_DATA} ${INSTALL_WRKSRC}/escape.rb ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
@${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.mk>