pkgsrc/lang/blackdown-jre13/Makefile.common
jlam 60f791e1e6 Move the check-shlibs target from bsd.pkg.mk to bsd.pkg.check.mk where
it will live with other "check" targets run after package installation.

Get rid of SHLIB_HANDLING, whose meaning had mutated over the years
from one thing to another.  Currently, it is used to basically note
whether the system's "ldd" command can be usefully run on the package's
binaries and libraries.  Rename this variable to CHECK_SHLIBS_SUPPORTED
for more clarity.

CHECK_SHLIBS is now a variable set exclusively by the user in /etc/mk.conf
to note whether the check for missing run-time search paths is performed
after a package is installed.  It defaults to "no" unless PKG_DEVELOPER
is set.
2006-05-22 22:22:02 +00:00

71 lines
1.9 KiB
Text

# $NetBSD: Makefile.common,v 1.26 2006/05/22 22:22:03 jlam Exp $
#
RELVERSION= 1.3.1
BLACKDOWN_REL= FCS-02b
RELNAME= ${RELVERSION}-02b-FCS-linux
EXTNAME= ${BD_BASENAME}-${RELNAME}
CATEGORIES= lang java
EXTRACT_SUFX= .bin
BD_SUBDIR= JDK-${RELVERSION}/${BLACKDOWN_ARCH}/${BLACKDOWN_REL}
MASTER_SITES= ftp://ftp.tux.org/pub/java/${BD_SUBDIR}/ \
ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/${BD_SUBDIR}/ \
ftp://mirror.aarnet.edu.au/pub/java-linux/${BD_SUBDIR}/ \
ftp://ftp.informatik.hu-berlin.de/pub/Java/Linux/${BD_SUBDIR}/
.if ${MACHINE_ARCH} == "powerpc"
BLACKDOWN_ARCH?= ppc
.elif !empty(MACHINE_ARCH:Mi[3-6]86)
BLACKDOWN_ARCH?= i386
.else
BLACKDOWN_ARCH?= ${MACHINE_ARCH}
.endif
.if ${BLACKDOWN_ARCH} == "arm"
BLACKDOWN_REL= rc1
EXTRACT_SUFX= .tar.bz2
.elif ${BLACKDOWN_ARCH} == "ppc"
DEPENDS+= suse_base>=7.3:../../emulators/suse_base
.endif
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.blackdown.org/
RESTRICTED= Redistribution of repackaged binaries not permitted.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_SRC_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
WRKSRC= ${WRKDIR}/${BD_BASENAME}${RELVERSION}
CHECK_SHLIBS_SUPPORTED= no
.include "../../mk/bsd.prefs.mk"
JVM_HOME= ${PREFIX}/java/blackdown-${RELVERSION}
USE_TOOLS+= gunzip
PLIST_SUBST+= BLACKDOWN_ARCH=${BLACKDOWN_ARCH:Q}
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc NetBSD-*-sparc \
Linux-*-i[3-6]86 Linux-*-powerpc Linux-*-sparc \
DragonFly-*-i386
.if ${EXTRACT_SUFX} == ".bin"
EXTRACT_OPTS_BIN= --nox11
post-fetch:
@if [ ! -x ${DISTDIR}/${DISTFILES} ]; then \
${CHMOD} +x ${DISTDIR}/${DISTFILES}; \
fi
.endif
do-build: # nothing
post-build:
${FIND} ${WRKSRC} -name '*.orig' -print | ${XARGS} ${RM} -f
${FIND} ${WRKSRC} -name '*.1.gz' -print | ${XARGS} ${GUNZIP_CMD}
do-install:
${INSTALL_PROGRAM_DIR} ${JVM_HOME}
cd ${WRKSRC} && ${PAX} -rw . ${JVM_HOME}