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
Sean Chittenden
![]() ![]() > # 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 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. |