Fix problems I created with the previous change:
. Add a post-patch target to clean up *.orig files (taken from the linux-sun-jdk13 port). . Fix the name of the installation location to be consistent with other JDK ports and to not move with, for example, PORTREVISION changes. Approved by: znerd (maintainer)
This commit is contained in:
parent
1c411ca96d
commit
ba8c398f70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61235
1 changed files with 4 additions and 1 deletions
|
@ -33,7 +33,7 @@ RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
|||
IGNORE= "You can not legally distribute binaries"
|
||||
.endif
|
||||
|
||||
APP_HOME= ${PREFIX}/${PKGNAME}
|
||||
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
|
||||
DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-${ARCH}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
@ -42,6 +42,9 @@ DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSIO
|
|||
IGNORE=You must manually fetch the Sun Java 2 Standard Edition SDK ${JDK_VERSION} for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again.
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name '*.orig' -print | xargs ${RM} -f
|
||||
|
||||
do-install:
|
||||
@${ECHO} -n "Creating destination directory ${APP_HOME}..."
|
||||
@${MKDIR} ${APP_HOME}
|
||||
|
|
Loading…
Reference in a new issue