mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
29 lines
748 B
Makefile
29 lines
748 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
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
|
@${INSTALL_DATA} ${INSTALL_WRKSRC}/escape.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
|
|
.for f in ${DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|