freebsd-ports/japanese/ruby-usersguide/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

30 lines
704 B
Makefile

# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
PORTNAME= ruby-usersguide
PORTVERSION= 980206
CATEGORIES= japanese lang ruby
MASTER_SITES= RUBY/doc
DISTNAME= ${SHORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Ruby users guide (Japanese version), in HTML format
USE_RUBY= yes
RUBY_NO_BUILD_DEPENDS= yes
RUBY_NO_RUN_DEPENDS= yes
RUBY_MODNAME= ${PORTNAME}-jp
SHORTNAME= ${PORTNAME:S/usersguide/uguide/}
WRKSRC= ${WRKDIR}/${SHORTNAME}
NO_BUILD= yes
do-install:
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${RUBY_MODDOCDIR}
${LN} -fs uguide00.html ${STAGEDIR}${RUBY_MODDOCDIR}/index.html
.include <bsd.port.mk>