Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jul 2008 20:41:27 +0200
From:      Marcin Cieslak <saper@SYSTEM.PL>
To:        miwi@FreeBSD.org
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/124770: [NEW PORT] www/jericho-html: A java library to analyse and manipulate HTML
Message-ID:  <486A7A57.7000705@SYSTEM.PL>
In-Reply-To: <200806201517.m5KFHp2C078265@freefall.freebsd.org>
References:  <200806201517.m5KFHp2C078265@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig399ACA122D1B190F8AABA35E
Content-Type: multipart/mixed; boundary="------------010700000806070700040600"

This is a multi-part message in MIME format.
--------------010700000806070700040600
Content-Type: text/plain; charset=ISO-8859-2; format=flowed
Content-Transfer-Encoding: quoted-printable

miwi@FreeBSD.org wrote:
> Synopsis: [NEW PORT] www/jericho-html: A java library to analyse and ma=
nipulate HTML
>=20
> State-Changed-From-To: open->feedback
> State-Changed-By: miwi
> State-Changed-When: Fri Jun 20 15:16:52 UTC 2008
> State-Changed-Why:=20
> Hi
>=20
> Here the patch is rejected. Could you please send me a tarball as attac=
hment?
>=20
> https://tinderbox.chruetertee.ch/index.php?action=3Ddescribe_port&id=3D=
2534
>=20
> Thanks.

Hello,

Can you remove the patchfile and use the attached Makefile instead?

I had to use "LANG=3DC" since otherwise my UTF-8 locale attempts to=20
interpret crap input.

--=20
               << Marcin Cieslak // saper@system.pl >>

--------------010700000806070700040600
Content-Type: text/plain;
 name="Makefile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="Makefile"

# New ports collection makefile for:	jerichohtml
# Date created:		2008-06-17
# Whom:			Marcin Cieslak <saper@SYSTEM.PL>
#
# $FreeBSD$
#

PORTNAME=3D	jericho-html
PORTVERSION=3D	2.5
CATEGORIES=3D	www java
MASTER_SITES=3D	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=3D	${PORTNAME:S,-,,}
#PKGNAMEPREFIX=3D
#PKGNAMESUFFIX=3D
#DISTNAME=3D
#EXTRACT_SUFX=3D
#DISTFILES=3D
#DIST_SUBDIR=3D	${PORTNAME}
#EXTRACT_ONLY=3D

MAINTAINER=3D	saper@SYSTEM.PL
COMMENT=3D	A java library to analyse and manipulate HTML

USE_ZIP=3D	yes
USE_JAVA=3D	1.3+

INTERFACES:=3D	"compile-time-dependencies/slf4j-api-1.4.3.jar:\
	compile-time-dependencies/commons-logging-api-1.1.jar:\
	compile-time-dependencies/log4j-api-1.2.14.jar"

PORTDOCS=3D	api
PLIST_FILES+=3D	%%JAVAJARDIR%%/${PORTNAME}.jar

pre-patch:
	${SETENV} LANG=3DC ${REINPLACE_CMD} -e '206,208s,//.*,,' \
		${WRKSRC}/src/java/au/id/jericho/lib/html/StreamEncodingDetector.java

do-build:
	(cd ${WRKSRC} &&  ${RM} -rf classes/* && ${JAVAC}         \
		-classpath ${INTERFACES:S, ,,g}                   \
		-d classes src/java/au/id/jericho/lib/html/*.java \
		src/java/au/id/jericho/lib/html/nodoc/*.java)
	${JAR} -cf ${WRKSRC}/lib/${PORTNAME}.jar                  \
		 -C ${WRKSRC}/classes .
=2Eif !defined(NOPORTDOCS)
	(cd ${WRKSRC} && ${RM} -rf doc/* && ${JAVADOC} -quiet     \
		-windowtitle "Jericho HTML Parser ${PORTVERSION}" \
		-classpath ${INTERFACES:S, ,,g}:src/java:classes  \
		-use -d ${WRKSRC}/doc/api                         \
		-subpackages au.id.jericho.lib.html               \
		-exclude au.id.jericho.lib.html.nodoc             \
		-noqualifier au.id.jericho.lib.html               \
		-group "Core package" au.id.jericho.lib.html)
=2Eendif

do-install:
	${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}.jar ${JAVAJARDIR}
=2Eif !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	(cd ${WRKSRC}/doc && ${FIND} api | ${CPIO} -pdmu ${DOCSDIR})
=2Eendif

=2Einclude <bsd.port.pre.mk>
=2Einclude <bsd.port.post.mk>

--------------010700000806070700040600--

--------------enig399ACA122D1B190F8AABA35E
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQCVAwUBSGp6Wj2W2v2wY27ZAQOv9QQAlmAlvntNDvfmw3VUc5UmtvReruUTr24Z
yRiJ5xh+ZJPWDLzgzMLuQnYPxuN9nxO2yukHc6dD5mRZCqJ10GieL1DypNcbe3dU
ku7N2jMd5d3aOhjHHlQoH6Y5yEc2/mFq6BdY2IZThcvFxUmL3pMhuLLVbN+vcMsX
UhWevzw9IXQ=
=7RFs
-----END PGP SIGNATURE-----

--------------enig399ACA122D1B190F8AABA35E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486A7A57.7000705>