From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 3 08:20:22 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 697EA16A4CE for ; Sat, 3 Apr 2004 08:20:22 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 463E443D48 for ; Sat, 3 Apr 2004 08:20:22 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i33GKMbv021155 for ; Sat, 3 Apr 2004 08:20:22 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i33GKMab021154; Sat, 3 Apr 2004 08:20:22 -0800 (PST) (envelope-from gnats) Date: Sat, 3 Apr 2004 08:20:22 -0800 (PST) Message-Id: <200404031620.i33GKMab021154@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Herve Quiroz Subject: Re: ports/65067: [PATCH] textproc/xp: USE_JAVA, (NO)PORTDOCS/DOCSDIR, JAVAJARDIR X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Herve Quiroz List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Apr 2004 16:20:22 -0000 The following reply was made to PR ports/65067; it has been noted by GNATS. From: Herve Quiroz To: freebsd-gnats-submit@FreeBSD.org, mike@vee.net Cc: znerd@FreeBSD.org Subject: Re: ports/65067: [PATCH] textproc/xp: USE_JAVA, (NO)PORTDOCS/DOCSDIR, JAVAJARDIR Date: Sat, 3 Apr 2004 18:18:43 +0200 A quick update: - now bsd.java.mk 2.0 compliant - bumped PORTREVISION - removed some useless statement --- Makefile.orig Sat Apr 3 18:02:53 2004 +++ Makefile Sat Apr 3 18:04:44 2004 @@ -7,6 +7,7 @@ PORTNAME= xp PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= textproc java MASTER_SITES= ftp://ftp.jclark.com/pub/xml/ DISTNAME= ${PORTNAME} @@ -14,23 +15,33 @@ MAINTAINER= mike@vee.net COMMENT= An XML parser written in Java -RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk11 - -PLIST_SUB+= XP_VERSION=${PORTVERSION} +USE_JAVA= yes +JAVA_VERSION= 1.1+ NO_WORKSUBDIR= yes NO_BUILD= yes USE_ZIP= yes -.include +.if !defined(NOPORTDOCS) +PORTDOCS= api copying.txt index.html +.endif +JARFILE= ${PORTNAME}.jar +DESTJARFILE= ${PKGNAME}.jar +PLIST_FILES+= ${JAVAJARDIR:S,^${PREFIX}/,,}/${DESTJARFILE} do-install: - ${MKDIR} ${PREFIX}/share/java/classes ${PREFIX}/share/java/${PKGNAME} - ${INSTALL_DATA} \ - ${WRKDIR}/xp.jar \ - ${PREFIX}/share/java/classes/${PKGNAME}.jar - cd ${WRKDIR}; \ - ${CP} -R docs ${PREFIX}/share/java/${PKGNAME}; \ - ${CP} -R com ${PREFIX}/share/java/${PKGNAME} + @${ECHO_CMD} -n ">> Installing JAR as ${JAVAJARDIR}/${DESTJARFILE}..." + @${MKDIR} ${JAVAJARDIR} + @${INSTALL_DATA} ${WRKDIR}/xp.jar ${JAVAJARDIR}/${DESTJARFILE} + @${ECHO_CMD} " [ DONE ]" +.if !defined(NOPORTDOCS) + @${ECHO_CMD} -n ">> Installing documentation in ${DOCSDIR}..." + @${MKDIR} ${DOCSDIR} +.for DOCFILE in ${PORTDOCS} + @${CP} -r ${WRKDIR}/docs/${DOCFILE} ${DOCSDIR}/ + @${ECHO_CMD} -n " ${DOCFILE}" +.endfor + @${ECHO_CMD} " [ DONE ]" +.endif -.include +.include