aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-07-24 21:39:08 +0800
committerclsung <clsung@FreeBSD.org>2006-07-24 21:39:08 +0800
commit0ae8d8076847a148a8160a7087addbb5c6e36f8d (patch)
treeec4cfcd84b2779389f876c7cb929da7cabd12fd4 /lang
parent0c6c99da94d7258e9fe6d95f6dff0e1ba93392ff (diff)
downloadfreebsd-ports-gnome-0ae8d8076847a148a8160a7087addbb5c6e36f8d.tar.gz
freebsd-ports-gnome-0ae8d8076847a148a8160a7087addbb5c6e36f8d.tar.zst
freebsd-ports-gnome-0ae8d8076847a148a8160a7087addbb5c6e36f8d.zip
- Fix portname (use PKGNAMEPREFIX)
- Add mirror - Use PORTDOCS feature - Take maintainership PR: ports/100630 Submitted by: Stanislav Sedov <ssedov@mbsd dot msk dot ru>
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby-usersguide/Makefile12
-rw-r--r--lang/ruby-usersguide/pkg-plist35
2 files changed, 8 insertions, 39 deletions
diff --git a/lang/ruby-usersguide/Makefile b/lang/ruby-usersguide/Makefile
index e23ea68502b0..cf894a0e7901 100644
--- a/lang/ruby-usersguide/Makefile
+++ b/lang/ruby-usersguide/Makefile
@@ -5,14 +5,16 @@
# $FreeBSD$
#
-PORTNAME= ruby-usersguide
+PORTNAME= usersguide
PORTVERSION= 20051121
CATEGORIES= lang ruby
-MASTER_SITES= http://www.rubyist.net/~slagell/ruby/
-DISTNAME= ${PORTNAME:S/usersguide/uguide/}-${PORTVERSION}
+MASTER_SITES= http://www.rubyist.net/~slagell/ruby/ \
+ http://mbsd.msk.ru/dist/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-uguide-${PORTVERSION}
DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= Ruby users guide, in HTML format
USE_RUBY= yes
@@ -21,6 +23,8 @@ RUBY_NO_RUN_DEPENDS= yes
WRKSRC= ${WRKDIR}/rg
NO_BUILD= yes
+DOCSDIR= ${RUBY_MODDOCDIR}
+PORTDOCS= *
do-install:
${MKDIR} ${RUBY_MODDOCDIR}
diff --git a/lang/ruby-usersguide/pkg-plist b/lang/ruby-usersguide/pkg-plist
index 8175583bb754..2b39805d4065 100644
--- a/lang/ruby-usersguide/pkg-plist
+++ b/lang/ruby-usersguide/pkg-plist
@@ -1,36 +1 @@
-%%RUBY_MODDOCDIR%%/README.txt
-%%RUBY_MODDOCDIR%%/about.html
-%%RUBY_MODDOCDIR%%/accesscontrol.html
-%%RUBY_MODDOCDIR%%/accessors.html
-%%RUBY_MODDOCDIR%%/arrays.html
-%%RUBY_MODDOCDIR%%/backtoexamples.html
-%%RUBY_MODDOCDIR%%/classes.html
-%%RUBY_MODDOCDIR%%/constants.html
-%%RUBY_MODDOCDIR%%/control.html
-%%RUBY_MODDOCDIR%%/ensure.html
-%%RUBY_MODDOCDIR%%/examples.html
-%%RUBY_MODDOCDIR%%/getstarted.html
-%%RUBY_MODDOCDIR%%/globalvars.html
-%%RUBY_MODDOCDIR%%/index.html
-%%RUBY_MODDOCDIR%%/inheritance.html
-%%RUBY_MODDOCDIR%%/instancevars.html
-%%RUBY_MODDOCDIR%%/iterators.html
-%%RUBY_MODDOCDIR%%/localvars.html
-%%RUBY_MODDOCDIR%%/methods.html
-%%RUBY_MODDOCDIR%%/misc.html
-%%RUBY_MODDOCDIR%%/modules.html
-%%RUBY_MODDOCDIR%%/objinitialization.html
-%%RUBY_MODDOCDIR%%/oothinking.html
-%%RUBY_MODDOCDIR%%/procobjects.html
-%%RUBY_MODDOCDIR%%/redefinemethods.html
-%%RUBY_MODDOCDIR%%/regexp.html
-%%RUBY_MODDOCDIR%%/rescue.html
-%%RUBY_MODDOCDIR%%/singletonmethods.html
-%%RUBY_MODDOCDIR%%/strings.html
-%%RUBY_MODDOCDIR%%/variables.html
-%%RUBY_MODDOCDIR%%/eval.txt
-%%RUBY_MODDOCDIR%%/la-plexi.png
-%%RUBY_MODDOCDIR%%/ra-plexi.png
-%%RUBY_MODDOCDIR%%/ug.css
-@dirrm %%RUBY_MODDOCDIR%%
@dirrmtry %%RUBY_DOCDIR%%