Bug 40392 - New port: textproc/ruby-libxml
Summary: New port: textproc/ruby-libxml
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-09 23:20 UTC by Sean Chittenden
Modified: 2002-07-12 06:58 UTC (History)
0 users

See Also:


Attachments
file.shar (2.37 KB, text/plain)
2002-07-09 23:20 UTC, Sean Chittenden
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Chittenden freebsd_committer freebsd_triage 2002-07-09 23:20:01 UTC
	New port for the ruby-libxml library

Fix: shar file included.
Comment 1 Sean Chittenden freebsd_committer freebsd_triage 2002-07-09 23:22:10 UTC
> # This archive contains:
> #
> #	textproc/ruby-libxml/Makefile
> #	textproc/ruby-libxml/pkg-plist
> #	textproc/ruby-libxml/pkg-comment
> #	textproc/ruby-libxml/distinfo
> #	textproc/ruby-libxml/pkg-descr
> #

There should be a mkdir here (my bad: used -type f):

mkdir textproc/ruby-libxml

> echo x - textproc/ruby-libxml/Makefile
> sed 's/^X//' >textproc/ruby-libxml/Makefile << 'END-of-textproc/ruby-libxml/Makefile'
> X# New ports collection makefile for:	ruby-libxml
-- 
Sean Chittenden
Comment 2 Akinori MUSHA freebsd_committer freebsd_triage 2002-07-12 06:48:00 UTC
State Changed
From-To: open->closed

Committed, thanks. 

Here's some pieces of advice: 

- You should use ${RUBY_PKGNAMEPREFIX} for PKGNAMEPREFIX. 
RUBY_PKGNAMEPREFIX contains a variable value which can be 
ruby-, ruby17-, etc. depending on user's RUBY_VER/RUBY_DEFAULT_VER 
choice. 

- You should not include ${PKGNAMEPREFIX} in DISTNAME, because 
PKGNAMEPREFIX is subject to be changed globally. (Especially in this 
very case - ${RUBY_PKGNAMEPREFIX} is variable) 

- You can just define INSTALL_TARGET=site-install to get library files 
installed into the site_ruby directory. (A extconf.rb feature) 

- You may want to consider installing examples and documents.