Bug 59017 - New port: java/jakarta-commons-primitives
Summary: New port: java/jakarta-commons-primitives
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: java (show other bugs)
Version: 5.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 19:30 UTC by Hervé Quiroz
Modified: 2003-12-08 22:31 UTC (History)
0 users

See Also:


Attachments
file.shar (38.52 KB, text/plain)
2003-11-06 19:30 UTC, Hervé Quiroz
no flags Details
port-commons-primitives.shar (3.35 KB, application/x-shar)
2003-11-27 10:17 UTC, Hervé Quiroz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hervé Quiroz 2003-11-06 19:30:11 UTC
Apache Jakarta Commons Primitives provides a collection of types and utilities
optimized for working with Java primitives (boolean, byte, char, double, float,
int, long, short). Generally, the Commons-Primitives classes are faster,
smaller and easier to work with than their purely Object based alternatives.

Currently Commons Primitives is primarily composed of implementations of the
java.util collections adapted for the primitive types.

WWW: http://jakarta.apache.org/commons/primitives

- Herve Quiroz
herve.quiroz@esil.univ-mrs.fr
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2003-11-18 20:45:57 UTC
Responsible Changed
From-To: freebsd-java->glewis

I'll take this.
Comment 2 Hervé Quiroz 2003-11-27 10:17:36 UTC
Improvements:
  - use the new PORTDOCS macro in Makefile to reduce the pkg-plist size
  - add $FreeBSD$ so no more fatal error with portlint

Herve
Comment 3 Greg Lewis 2003-12-04 18:57:01 UTC
On Thu, Nov 27, 2003 at 02:20:13AM -0800, Herve Quiroz wrote:
>  Improvements:
>    - use the new PORTDOCS macro in Makefile to reduce the pkg-plist size
>    - add $FreeBSD$ so no more fatal error with portlint
>  
>  Herve
>  
>  --rwEMma7ioTxnRzrJ
>  Content-Type: application/x-shar
>  Content-Disposition: attachment; filename="port-commons-primitives.shar"
>  Content-Transfer-Encoding: quoted-printable
>  
>  # This is a shell archive.  Save it in a file, remove anything before=0A# t=
>  his line, and then unpack it by entering "sh file".  Note, it may=0A# creat=
>  e directories; files and directories will be owned by you and=0A# have defa=
>  ult permissions.=0A#=0A# This archive contains:=0A#=0A#	java/jakarta-common=
...

Herve, this archive is corrupt.  Please resubmit.  You can see the end of
lines are all mangled with extra characters.

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org
Comment 4 Hervé Quiroz 2003-12-04 19:28:35 UTC
On Thu, Dec 04, 2003 at 11:57:01AM -0700, Greg Lewis wrote:
> 
> Herve, this archive is corrupt.  Please resubmit.  You can see the end of
> lines are all mangled with extra characters.
> 

Same as avalong-logkit... don't know why the attachement corrupts the
files... Anyway, here it is as plain text:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	java/jakarta-commons-primitives
#	java/jakarta-commons-primitives/Makefile
#	java/jakarta-commons-primitives/distinfo
#	java/jakarta-commons-primitives/pkg-descr
#	java/jakarta-commons-primitives/pkg-plist
#
echo c - java/jakarta-commons-primitives
mkdir -p java/jakarta-commons-primitives > /dev/null 2>&1
echo x - java/jakarta-commons-primitives/Makefile
sed 's/^X//' >java/jakarta-commons-primitives/Makefile << 'END-of-java/jakarta-commons-primitives/Makefile'
X# Ports collection makefile for:	Jakarta Commons Primitives
X# Date created:				06 November 2003
X# Whom:					Herve Quiroz <herve.quiroz@esil.univ-mrs.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	commons-primitives
XPORTVERSION=	1.0
XCATEGORIES=	java
XMASTER_SITES=	http://www.apache.org/dist/jakarta/${PORTNAME:S,-,/,}/binaries/
XPKGNAMEPREFIX=	jakarta-
X
XMAINTAINER=	herve.quiroz@esil.univ-mrs.fr
XCOMMENT=	A library supporting Java primitive types
X
XUSE_JAVA=	1.3+
XNO_BUILD=	YES
X
XPORT_JARFILE=		${PORTNAME}-${PORTVERSION}.jar
XDEST_JARFILE=		${PORTNAME}.jar
XJAVA_WRKDOCSDIR=	${WRKSRC}/docs
XPLIST_SUB+=		JAVAJARDIR=${JAVAJARDIR:S/^${PREFIX}//}
X
XPORTDOCS=	apidocs
X
Xdo-install:
X	@${ECHO_CMD} -n ">> Installing JAR file..."
X	@cd ${WRKSRC} && ${INSTALL_DATA} ${PORT_JARFILE} ${JAVAJARDIR}/${DEST_JARFILE}
X	@${ECHO_CMD} " [DONE]"
X.if !defined(NOPORTDOCS)
X	@${ECHO_CMD} -n ">> Installing documentation..."
X	@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type d -mindepth 1 -exec ${MKDIR} ${DOCSDIR}/{} ";"
X	@cd ${JAVA_WRKDOCSDIR} && ${FIND} . -type f -exec ${INSTALL_MAN} ${JAVA_WRKDOCSDIR}/{} ${DOCSDIR}/{} ";"
X	@${ECHO_CMD} " [DONE]"
X.endif
X
Xpost-install:
X	@${ECHO_CMD} "${PORTNAME}-${PORTVERSION} installed as ${JAVAJARDIR}/${PORT_JARFILE}"
X
X.include <bsd.port.mk>
END-of-java/jakarta-commons-primitives/Makefile
echo x - java/jakarta-commons-primitives/distinfo
sed 's/^X//' >java/jakarta-commons-primitives/distinfo << 'END-of-java/jakarta-commons-primitives/distinfo'
XMD5 (commons-primitives-1.0.tar.gz) = 2ce92656204f2fa63dad6dfa88e1458b
END-of-java/jakarta-commons-primitives/distinfo
echo x - java/jakarta-commons-primitives/pkg-descr
sed 's/^X//' >java/jakarta-commons-primitives/pkg-descr << 'END-of-java/jakarta-commons-primitives/pkg-descr'
XApache Jakarta Commons Primitives provides a collection of types and utilities
Xoptimized for working with Java primitives (boolean, byte, char, double, float,
Xint, long, short). Generally, the Commons-Primitives classes are faster,
Xsmaller and easier to work with than their purely Object based alternatives.
X
XCurrently Commons Primitives is primarily composed of implementations of the
Xjava.util collections adapted for the primitive types.
X
XWWW: http://jakarta.apache.org/commons/primitives
X
X- Herve Quiroz
Xherve.quiroz@esil.univ-mrs.fr
END-of-java/jakarta-commons-primitives/pkg-descr
echo x - java/jakarta-commons-primitives/pkg-plist
sed 's/^X//' >java/jakarta-commons-primitives/pkg-plist << 'END-of-java/jakarta-commons-primitives/pkg-plist'
X%%JAVAJARDIR%%/commons-primitives.jar
END-of-java/jakarta-commons-primitives/pkg-plist
exit
Comment 5 Greg Lewis freebsd_committer freebsd_triage 2003-12-08 22:30:55 UTC
State Changed
From-To: open->closed

Committed, thanks!