Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jul 2003 07:34:04 -0700 (PDT)
From:      Ernst de Haan <znerd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/java/jdom distinfo pkg-plist
Message-ID:  <200307231434.h6NEY4G5099509@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
znerd       2003/07/23 07:34:04 PDT

  FreeBSD ports repository

  Modified files:
    java/jdom            distinfo pkg-plist 
  Log:
  # New ports collection makefile for:    JDOM
  # Date created:         June 1, 2001
  # Whom:                 Ernst de Haan <znerd@FreeBSD.org>
  #
  # $FreeBSD: ports/java/jdom/Makefile,v 1.8 2003/07/23 14:30:27 znerd Exp $
  #
  
  PORTNAME=       jdom
  PORTVERSION=    1.0b9
  CATEGORIES=     java
  MASTER_SITES=   http://www.jdom.org/dist/source/
  DISTNAME=       ${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
  
  MAINTAINER=     znerd@FreeBSD.org
  COMMENT=        Java library for accessing and manipulating XML documents
  
  BUILD_DEPENDS=  ${ANT}:${PORTSDIR}/devel/apache-ant
  
  USE_JAVA=       1.2+
  
  WRKSRC=         ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/[0-9]*\.[0-9]*//}
  PLIST_SUB+=     T=${TARGET_DIR:S/^${PREFIX}\///}
  TARGET_DIR?=    ${PREFIX}/share/java/${PORTNAME}-${PORTVERSION}
  ANT?=           ${LOCALBASE}/bin/ant
  ANT_TARGET=     package javadoc
  
  do-build:
          @cd ${WRKSRC} && ${ANT} ${ANT_TARGET}
  
  do-install:
          @${ECHO} -n ">> Creating directory ${TARGET_DIR}..."
          @${MKDIR} ${TARGET_DIR}
          @${ECHO} " [ DONE ]"
  
          @${ECHO} -n ">> Copying files..."
          @${CP} -r ${WRKSRC}/* ${TARGET_DIR}
          @${ECHO} " [ DONE ]"
  
          @${ECHO} -n ">> Installing JAR..."
          @${CP} ${WRKSRC}/build/jdom.jar ${PREFIX}/share/java/classes/
          @${ECHO} " [ DONE ]"
  
  .include <bsd.port.mk>
  
  Revision  Changes    Path
  1.4       +1 -1      ports/java/jdom/distinfo
  1.6       +281 -302  ports/java/jdom/pkg-plist



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