Bug 65061 - [PATCH] textproc/xalan-j: distfile location fix, SIZEify, and pkg-plist removal
Summary: [PATCH] textproc/xalan-j: distfile location fix, SIZEify, and pkg-plist removal
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: Ernst de Haan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-02 08:20 UTC by Hervé Quiroz
Modified: 2004-04-03 12:54 UTC (History)
1 user (show)

See Also:


Attachments
xalan-j-2.5.1.patch (165.98 KB, patch)
2004-04-02 08:20 UTC, Hervé Quiroz
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hervé Quiroz 2004-04-02 08:20:17 UTC
- fixed distfile location (use MASTER_SITE_APACHE_XML)
- use JAVAJARDIR provided by bsd.java.mk
- use PORTDOCS and PLIST_FILES (thus no more pkg-plist)
- added SIZE info

NOTE: I would have upgraded the port to version 2.6.0 but I'm waiting for the
upgrade of textproc/xerces-j to be sure.

NOTE2: The autojavadoc Ant target seems to be broken on Java 1.4... but it's
working with Java 1.3 so I don't know what is exactly the problem here.

NOTE3: There's a script file 'xalan.sh' in files/ that is transformed through
sed but seems to never be installed nor used during the build process. I think
this should be installed in ${PREFIX}/bin but I could be mistaken here. Anway,
Xalan-J won't run even with this script as it needs Xerces-J to be in the
classpath and 1) Xerces-J is not amongst the dependencies of the port; 2)
neither xml-apis.jar nor xercesImpl.jar are in the classpath (in xalan.sh).

NOTE4: removing pkg-plist here fixes the common "Javadoc/pkg-plist issue"
(where different files are generated by Javadoc depending on the version of
Java you use -- thus maintaining pkg-plist is a complex task). But most of all,
it reduces the ports tree by 162K (!).

Port maintainer (znerd@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-04-02 08:24:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->znerd

Over to maintainer.
Comment 2 Ernst de Haan freebsd_committer freebsd_triage 2004-04-03 12:54:13 UTC
State Changed
From-To: open->closed

Committed, thanks!