mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
37 lines
986 B
Makefile
37 lines
986 B
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= growl
|
|
PORTVERSION= 3.0
|
|
CATEGORIES= net ruby
|
|
MASTER_SITES= RF
|
|
MASTER_SITE_SUBDIR= ${PKGNAMEPREFIX:S|${RUBY_SUFFIX}||}${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DISTNAME= ${PKGNAMEPREFIX:S|${RUBY_SUFFIX}||}${PORTNAME}-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
DIST_SUBDIR= ${RUBY_PKGNAMEPREFIX:S|${RUBY_SUFFIX}-||}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= A pure-ruby growl notifier
|
|
|
|
USE_RUBY= yes
|
|
NO_BUILD= yes
|
|
|
|
RUBY_SHEBANG_FILES= bin/growl lib/ruby-growl.rb
|
|
PLIST_FILES= bin/growl \
|
|
%%RUBY_SITELIBDIR%%/ruby-growl.rb
|
|
|
|
PORTDOCS= History.txt README.txt
|
|
DOCSDIR= ${RUBY_MODDOCDIR}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/bin/growl ${STAGEDIR}${PREFIX}/bin/
|
|
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/lib/ruby-growl.rb ${STAGEDIR}${RUBY_SITELIBDIR}/
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|