1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.4 [1]

- Remove unneeded flag JAVA_RUN=JDK
- Release maintainership

Reported by:	portscout [1]
This commit is contained in:
Herve Quiroz 2007-02-10 22:49:14 +00:00
parent 41ae577479
commit ceda8a4880
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=184819
2 changed files with 9 additions and 13 deletions

View File

@ -6,37 +6,33 @@
#
PORTNAME= commons-discovery
PORTVERSION= 0.2
PORTVERSION= 0.4
CATEGORIES= java devel
MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA}
MASTER_SITE_SUBDIR= ${PORTNAME:S,-,/,}/binaries
PKGNAMEPREFIX= jakarta-
MAINTAINER= hq@FreeBSD.org
MAINTAINER= ports@FreeBSD.org
COMMENT= A Java library for locating resources (including classes)
USE_JAVA= YES
JAVA_VERSION= 1.3+
JAVA_RUN= JDK
NO_BUILD= YES
.if !defined(NOPORTDOCS)
PORTDOCS= api LICENSE
PORTDOCS= *
.endif
JARFILE= ${PORTNAME}.jar
PLIST_FILES+= %%JAVAJARDIR%%/${JARFILE}
post-extract:
@${MV} ${WRKSRC}/LICENSE ${WRKSRC}/docs/
do-install:
@${ECHO_MSG} -n ">> Installing JAR as ${JAVAJARDIR}/${JARFILE}..."
@${INSTALL_DATA} ${WRKSRC}/${JARFILE} ${JAVAJARDIR}/
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${JARFILE}
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
@cd ${WRKSRC}/docs && ${FIND} ${PORTDOCS} -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@cd ${WRKSRC}/docs && ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/{} \;
@cd ${WRKSRC}/docs && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
@${ECHO_MSG} " [ DONE ]"
.endif

View File

@ -1,3 +1,3 @@
MD5 (commons-discovery-0.2.tar.gz) = 2273f5f83a477f4f18fccf3a00e2b48c
SHA256 (commons-discovery-0.2.tar.gz) = a2a06edafaeeecbdc708c687f26c8a76e7114df40a22141b3fb7542017dc0ecc
SIZE (commons-discovery-0.2.tar.gz) = 118701
MD5 (commons-discovery-0.4.tar.gz) = e612b7c2398eff2472dbd9f8739aca70
SHA256 (commons-discovery-0.4.tar.gz) = 7546de497e88c6fa7b7f933c1b14b54e3e2977d09ed1ffdd890cf27f0fa14889
SIZE (commons-discovery-0.4.tar.gz) = 292757