Bug 40392

Summary: New port: textproc/ruby-libxml
Product: Ports & Packages Reporter: Sean Chittenden <seanc>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

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.