1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00

- Update to 5.4

PR:		ports/129134
Submitted by:	Yoshihiko Sarumaru <mistral@imasy.or.jp> (maintainer)
This commit is contained in:
Pav Lucistnik 2008-12-03 22:28:08 +00:00
parent 64832d2c12
commit cbb6145dd6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223738
6 changed files with 56 additions and 62 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= jude-community
PORTVERSION= 5.2.2
PORTVERSION= 5.4
CATEGORIES= devel java
MASTER_SITES= # you have to register yourself as a member to download
DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
@ -39,53 +39,50 @@ NO_BUILD= yes
.include "${PORTSDIR}/Mk/bsd.java.mk"
RESTRICTED= See http://jude.change-vision.com/jude-web/notes/ProductLicenseAgreement.html
WRKSRC= ${WRKDIR}/${PORTNAME:S!-!_!}
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
PLIST_FILES= bin/jude share/${PORTNAME}/mozilla
DATA_FILES= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
template/project/Java1.4.jude template/project/Java5.jude
.for file in ${DATA_FILES}
PLIST_FILES+= share/${PORTNAME}/${file}
.endfor
.if defined(WITH_EXPORT_HTML)
PLIST_FILES+= share/${PORTNAME}/tools.jar
.endif
PLIST_DIRS= share/${PORTNAME}/template/project \
share/${PORTNAME}/template \
share/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS+= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
ProductInformation.txt
.endif
REINPLACE_ARGS= -i ""
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
IGNORE= needs you to fetch manually the distribution file\
from ${DOWNLOAD_URL}, \
then place it in ${DISTDIR} and run make again
.endif
PLIST_FILES= bin/jude
.if !defined(NOPORTDATA)
PORTDATA= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
template \
mozilla
.endif
.if defined(WITH_EXPORT_HTML)
PORTDATA+= tools.jar
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
ProductInformation.txt
.endif
post-patch:
${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!; \
s!%%DATADIR%%!${DATADIR}!" ${WRKSRC}/jude
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/*/doc/index.html
${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/*/doc/JudeAPI_reference.html
.endif
do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA:Nmozilla}" ${DATADIR})
${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_FILES}" ${DATADIR})
.if defined(WITH_EXPORT_HTML)
# ExportHTML needs lib/tools.jar of JDK1.4
${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}

View File

@ -1,3 +1,3 @@
MD5 (jude-community-5_2_2.zip) = 9ec2f0f6b6311a0d5adbbb3d82fbe085
SHA256 (jude-community-5_2_2.zip) = eb1e8a90554d2b5e046002ffe68cde615a15ca0225f2b7769f6e5dbfec07bcd5
SIZE (jude-community-5_2_2.zip) = 8263661
MD5 (jude-community-5_4.zip) = c216de471db05db627d27bb2b74b91bf
SHA256 (jude-community-5_4.zip) = 07ebfee6f801b1ed425e72c3b6448fc6178a26be8b56958aa41868e490974fee
SIZE (jude-community-5_4.zip) = 10241271

View File

@ -4,7 +4,7 @@
PATH=${PATH#$(dirname $0)}
# add your favorite browser in the top of the list
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera
for browser in mozilla linux-mozilla firefox3 firefox linux-firefox firebird opera linux-opera
do
type $browser > /dev/null 2>&1 && exec $browser "$@"
done

View File

@ -6,7 +6,7 @@
#
PORTNAME= jude-community
PORTVERSION= 5.2.2
PORTVERSION= 5.4
CATEGORIES= devel java
MASTER_SITES= # you have to register yourself as a member to download
DISTNAME= ${PORTNAME}-${PORTVERSION:S!.!_!g}
@ -39,53 +39,50 @@ NO_BUILD= yes
.include "${PORTSDIR}/Mk/bsd.java.mk"
RESTRICTED= See http://jude.change-vision.com/jude-web/notes/ProductLicenseAgreement.html
WRKSRC= ${WRKDIR}/${PORTNAME:S!-!_!}
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
PLIST_FILES= bin/jude share/${PORTNAME}/mozilla
DATA_FILES= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
template/project/Java1.4.jude template/project/Java5.jude
.for file in ${DATA_FILES}
PLIST_FILES+= share/${PORTNAME}/${file}
.endfor
.if defined(WITH_EXPORT_HTML)
PLIST_FILES+= share/${PORTNAME}/tools.jar
.endif
PLIST_DIRS= share/${PORTNAME}/template/project \
share/${PORTNAME}/template \
share/${PORTNAME}
.if !defined(NOPORTDOCS)
PORTDOCS+= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
ProductInformation.txt
.endif
REINPLACE_ARGS= -i ""
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
DOWNLOAD_URL= http://jude.change-vision.com/jude-web/download/index.html
IGNORE= needs you to fetch manually the distribution file\
from ${DOWNLOAD_URL}, \
then place it in ${DISTDIR} and run make again
.endif
PLIST_FILES= bin/jude
.if !defined(NOPORTDATA)
PORTDATA= ${PORTNAME}.jar jude-api.jar jude-gui_en.properties_org \
jude.ico jude-doc.ico Welcome.jude Welcome_ja.jude \
template \
mozilla
.endif
.if defined(WITH_EXPORT_HTML)
PORTDATA+= tools.jar
.endif
.if !defined(NOPORTDOCS)
PORTDOCS= README-e.txt README.txt ReleaseNote-e.html ReleaseNote.html \
ProductInformation.txt
.endif
post-patch:
${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!; \
s!%%DATADIR%%!${DATADIR}!" ${WRKSRC}/jude
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/*/doc/index.html
${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/*/doc/JudeAPI_reference.html
.endif
do-install:
${MKDIR} ${DATADIR}
${INSTALL_SCRIPT} ${WRKSRC}/jude ${PREFIX}/bin
.if !defined(NOPORTDATA)
${MKDIR} ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA:Nmozilla}" ${DATADIR})
${INSTALL_SCRIPT} ${FILESDIR}/mozilla ${DATADIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} "${DATA_FILES}" ${DATADIR})
.if defined(WITH_EXPORT_HTML)
# ExportHTML needs lib/tools.jar of JDK1.4
${LN} -s ${JAVA_HOME}/lib/tools.jar ${DATADIR}
.endif
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for docfile in ${PORTDOCS}

View File

@ -1,3 +1,3 @@
MD5 (jude-community-5_2_2.zip) = 9ec2f0f6b6311a0d5adbbb3d82fbe085
SHA256 (jude-community-5_2_2.zip) = eb1e8a90554d2b5e046002ffe68cde615a15ca0225f2b7769f6e5dbfec07bcd5
SIZE (jude-community-5_2_2.zip) = 8263661
MD5 (jude-community-5_4.zip) = c216de471db05db627d27bb2b74b91bf
SHA256 (jude-community-5_4.zip) = 07ebfee6f801b1ed425e72c3b6448fc6178a26be8b56958aa41868e490974fee
SIZE (jude-community-5_4.zip) = 10241271

View File

@ -4,7 +4,7 @@
PATH=${PATH#$(dirname $0)}
# add your favorite browser in the top of the list
for browser in mozilla linux-mozilla firefox linux-mozillafirebird opera linux-opera
for browser in mozilla linux-mozilla firefox3 firefox linux-firefox firebird opera linux-opera
do
type $browser > /dev/null 2>&1 && exec $browser "$@"
done