Take a hint from the mindterm port -- JAR files go in

share/java. Everything else in share/doc. Bump PORTREVISION.
This commit is contained in:
Nick Sayer 2001-05-04 23:39:47 +00:00
parent 33b31b6d5e
commit dd2d5258d0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42264
6 changed files with 36 additions and 24 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= airport
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
DISTFILES= configurator_${PORTVERSION:S/.//}${EXTRACT_SUFX}
@ -30,8 +31,12 @@ NO_BUILD= yes
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/airport; \
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
${MKDIR} ${PREFIX}/share/doc/airport/helpdocs; \
${MKDIR} ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
${CP} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
${CP} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
${CP} -r ${WRKSRC}/helpdocs/* ${PREFIX}/share/doc/airport/helpdocs; \
${SED} \
-e s,%%PREFIX%%,${PREFIX},g \
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \

View File

@ -1,9 +1,9 @@
#! /bin/sh
# Use this one for JDK 1.2 and beyond:
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/airport/AirportBaseStationConfig.jar
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/java/AirportBaseStationConfig.jar
# Use this one for the default installation -- JDK 1.1.x + JFC:
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/java/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
exit 1

View File

@ -1,9 +1,10 @@
bin/airport
share/airport/AUTHORS
share/airport/COPYING
share/airport/AirportBaseStationConfig.jar
share/airport/helpdocs/ReadMe.txt
share/airport/helpdocs/mainscreen.jpg
share/airport/helpdocs/manual.html
@dirrm share/airport/helpdocs
@dirrm share/airport
share/java/AirportBaseStationConfig.jar
share/doc/airport/AUTHORS
share/doc/airport/COPYING
share/doc/airport/helpdocs/ReadMe.txt
share/doc/airport/helpdocs/mainscreen.jpg
share/doc/airport/helpdocs/manual.html
@dirrm share/doc/airport/helpdocs
@dirrm share/doc/airport
@unexec rmdir %D/share/java || true

View File

@ -7,6 +7,7 @@
PORTNAME= airport
PORTVERSION= 1.4
PORTREVISION= 1
CATEGORIES= net java
MASTER_SITES= http://edge.mcs.drexel.edu/GICL/people/sevy/airport/
DISTFILES= configurator_${PORTVERSION:S/.//}${EXTRACT_SUFX}
@ -30,8 +31,12 @@ NO_BUILD= yes
do-install:
@cd ${WRKSRC}; \
${MKDIR} ${PREFIX}/share/airport; \
${CP} -r ${WRKSRC}/* ${PREFIX}/share/airport; \
${MKDIR} ${PREFIX}/share/doc/airport/helpdocs; \
${MKDIR} ${PREFIX}/share/java; \
${INSTALL_DATA} ${WRKSRC}/*jar ${PREFIX}/share/java; \
${CP} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/airport; \
${CP} ${WRKSRC}/COPYING ${PREFIX}/share/doc/airport; \
${CP} -r ${WRKSRC}/helpdocs/* ${PREFIX}/share/doc/airport/helpdocs; \
${SED} \
-e s,%%PREFIX%%,${PREFIX},g \
-e s/%%JFC_VERSION%%/${JFC_VERSION}/ \

View File

@ -1,9 +1,9 @@
#! /bin/sh
# Use this one for JDK 1.2 and beyond:
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/airport/AirportBaseStationConfig.jar
# exec %%PREFIX%%/bin/javavm -jar %%PREFIX%%/share/java/AirportBaseStationConfig.jar
# Use this one for the default installation -- JDK 1.1.x + JFC:
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/airport/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
exec %%PREFIX%%/bin/javavm -classpath "%%PREFIX%%/jdk%%JDK_VERSION%%/lib/classes.zip:%%PREFIX%%/share/java/classes/jfc-%%JFC_VERSION%%/swingall.jar:%%PREFIX%%/share/java/AirportBaseStationConfig.jar" AirportBaseStationConfigurator
exit 1

View File

@ -1,9 +1,10 @@
bin/airport
share/airport/AUTHORS
share/airport/COPYING
share/airport/AirportBaseStationConfig.jar
share/airport/helpdocs/ReadMe.txt
share/airport/helpdocs/mainscreen.jpg
share/airport/helpdocs/manual.html
@dirrm share/airport/helpdocs
@dirrm share/airport
share/java/AirportBaseStationConfig.jar
share/doc/airport/AUTHORS
share/doc/airport/COPYING
share/doc/airport/helpdocs/ReadMe.txt
share/doc/airport/helpdocs/mainscreen.jpg
share/doc/airport/helpdocs/manual.html
@dirrm share/doc/airport/helpdocs
@dirrm share/doc/airport
@unexec rmdir %D/share/java || true