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
756 B
Makefile

# Created by: TAKATSU Tomonari <tota@rtfm.jp>
# $FreeBSD$
PORTNAME= progressbar
PORTVERSION= 0.9
CATEGORIES= misc ruby
MASTER_SITES= http://0xcc.net/ruby-progressbar/ \
LOCAL/tota/progressbar
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
MAINTAINER= tota@FreeBSD.org
COMMENT= Text progress bar library for Ruby
USE_RUBY= yes
NO_BUILD= yes
RUBY_RD_FILES= progressbar.en.rd progressbar.ja.rd
DOCS= ChangeLog ${RUBY_RD_FILES}
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${RUBY_SITELIBDIR}
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}
.include <bsd.port.mk>