. Fix the MASTER_SITE_SUBDIR setting.

. Use JAVAJARDIR rather than defining out own JAVALIBDIR variable.

Submitted by:	Kimura Fuyuki <fuyuki@hadaly.org> (maintainer)
This commit is contained in:
Greg Lewis 2003-05-12 21:09:40 +00:00
parent b80d569272
commit 4c0d467ead
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80852

View file

@ -9,7 +9,7 @@ PORTNAME= beepcore
PORTVERSION= 0.9.07
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MASTER_SITE_SUBDIR= ${PORTNAME}-java
PKGNAMEPREFIX= java-
EXTRACT_SUFX= .tgz
@ -22,11 +22,9 @@ USE_JAVA= 1.3+
NO_BUILD= yes
NO_BUILD_DEPENDS_JAVA= yes
JAVALIBDIR= ${PREFIX}/share/java/classes
do-install:
${MKDIR} ${JAVALIBDIR}
${INSTALL_DATA} ${WRKSRC}/lib/beep*.jar ${JAVALIBDIR}
${INSTALL_DATA} ${WRKSRC}/lib/beep*.jar ${JAVAJARDIR}
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/lib/example.jar ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/example/* ${EXAMPLESDIR}