head 1.36; access; symbols pkgsrc-2013Q2:1.36.0.20 pkgsrc-2013Q2-base:1.36 pkgsrc-2012Q4:1.36.0.18 pkgsrc-2012Q4-base:1.36 pkgsrc-2011Q4:1.36.0.16 pkgsrc-2011Q4-base:1.36 pkgsrc-2011Q2:1.36.0.14 pkgsrc-2011Q2-base:1.36 pkgsrc-2009Q4:1.36.0.12 pkgsrc-2009Q4-base:1.36 pkgsrc-2008Q4:1.36.0.10 pkgsrc-2008Q4-base:1.36 pkgsrc-2008Q3:1.36.0.8 pkgsrc-2008Q3-base:1.36 cube-native-xorg:1.36.0.6 cube-native-xorg-base:1.36 pkgsrc-2008Q2:1.36.0.4 pkgsrc-2008Q2-base:1.36 pkgsrc-2008Q1:1.36.0.2 pkgsrc-2008Q1-base:1.36 pkgsrc-2007Q4:1.34.0.4 pkgsrc-2007Q4-base:1.34 pkgsrc-2007Q3:1.34.0.2 pkgsrc-2007Q3-base:1.34 pkgsrc-2007Q2:1.32.0.4 pkgsrc-2007Q2-base:1.32 pkgsrc-2007Q1:1.32.0.2 pkgsrc-2007Q1-base:1.32 pkgsrc-2006Q4:1.31.0.4 pkgsrc-2006Q4-base:1.31 pkgsrc-2006Q3:1.31.0.2 pkgsrc-2006Q3-base:1.31 pkgsrc-2006Q2:1.28.0.2 pkgsrc-2006Q2-base:1.28 pkgsrc-2006Q1:1.27.0.2 pkgsrc-2006Q1-base:1.27 pkgsrc-2005Q4:1.26.0.2 pkgsrc-2005Q4-base:1.26 pkgsrc-2005Q3:1.24.0.4 pkgsrc-2005Q3-base:1.24 pkgsrc-2005Q2:1.24.0.2 pkgsrc-2005Q2-base:1.24 pkgsrc-2005Q1:1.22.0.8 pkgsrc-2005Q1-base:1.22 pkgsrc-2004Q4:1.22.0.6 pkgsrc-2004Q4-base:1.22 pkgsrc-2004Q3:1.22.0.4 pkgsrc-2004Q3-base:1.22 pkgsrc-2004Q2:1.22.0.2 pkgsrc-2004Q2-base:1.22 pkgsrc-2004Q1:1.19.0.2 pkgsrc-2004Q1-base:1.19 pkgsrc-2003Q4:1.16.0.2 pkgsrc-2003Q4-base:1.16 netbsd-1-6-1:1.12.0.2 netbsd-1-6-1-base:1.12 netbsd-1-6:1.4.0.4 netbsd-1-6-RELEASE-base:1.4; locks; strict; comment @# @; 1.36 date 2008.03.25.13.41.45; author wiz; state dead; branches; next 1.35; 1.35 date 2008.03.04.16.38.13; author jlam; state Exp; branches; next 1.34; 1.34 date 2007.08.22.14.03.48; author jlam; state Exp; branches; next 1.33; 1.33 date 2007.07.29.05.19.28; author jlam; state Exp; branches; next 1.32; 1.32 date 2007.02.22.19.26.39; author wiz; state Exp; branches; next 1.31; 1.31 date 2006.09.25.16.16.35; author joerg; state Exp; branches; next 1.30; 1.30 date 2006.07.18.23.27.14; author jlam; state Exp; branches; next 1.29; 1.29 date 2006.07.07.03.18.18; author minskim; state Exp; branches; next 1.28; 1.28 date 2006.04.22.09.22.10; author rillig; state Exp; branches; next 1.27; 1.27 date 2006.01.21.18.57.41; author jlam; state Exp; branches; next 1.26; 1.26 date 2005.12.12.14.43.25; author joerg; state Exp; branches; next 1.25; 1.25 date 2005.09.28.19.04.44; author rillig; state Exp; branches; next 1.24; 1.24 date 2005.05.10.01.55.39; author jschauma; state Exp; branches; next 1.23; 1.23 date 2005.04.11.21.46.16; author tv; state Exp; branches; next 1.22; 1.22 date 2004.06.15.12.00.09; author abs; state Exp; branches; next 1.21; 1.21 date 2004.05.22.21.22.59; author jmmv; state Exp; branches; next 1.20; 1.20 date 2004.05.05.17.22.51; author xtraeme; state Exp; branches; next 1.19; 1.19 date 2004.01.11.19.41.39; author cjep; state Exp; branches; next 1.18; 1.18 date 2004.01.10.19.12.51; author cjep; state Exp; branches; next 1.17; 1.17 date 2004.01.02.16.56.01; author jschauma; state Exp; branches; next 1.16; 1.16 date 2003.08.23.15.14.02; author jschauma; state Exp; branches; next 1.15; 1.15 date 2003.07.17.21.45.26; author grant; state Exp; branches; next 1.14; 1.14 date 2003.03.26.04.05.43; author jschauma; state Exp; branches; next 1.13; 1.13 date 2003.03.17.21.25.38; author jschauma; state Exp; branches; next 1.12; 1.12 date 2003.02.05.03.37.44; author jlam; state Exp; branches; next 1.11; 1.11 date 2003.01.29.11.10.24; author jlam; state Exp; branches; next 1.10; 1.10 date 2002.11.07.00.22.54; author jlam; state Exp; branches; next 1.9; 1.9 date 2002.10.15.14.06.56; author jschauma; state Exp; branches; next 1.8; 1.8 date 2002.10.13.07.45.33; author jlam; state Exp; branches; next 1.7; 1.7 date 2002.09.30.23.43.46; author jlam; state Exp; branches; next 1.6; 1.6 date 2002.09.19.08.28.17; author wennmach; state Exp; branches; next 1.5; 1.5 date 2002.09.03.19.26.41; author jschauma; state Exp; branches; next 1.4; 1.4 date 2002.07.28.14.39.04; author schmonz; state Exp; branches; next 1.3; 1.3 date 2002.07.28.13.16.46; author schmonz; state Exp; branches; next 1.2; 1.2 date 2002.07.28.11.57.41; author schmonz; state Exp; branches; next 1.1; 1.1 date 2002.07.27.21.54.31; author jschauma; state Exp; branches; next ; desc @@ 1.36 log @Remove blackdown-j{dk,re}13 and sun-j{dk,re}13. Both have security problems and are not maintained. Update infrastructure for their removal. Removal was announced on pkgsrc-users on March 13. @ text @# $NetBSD: Makefile.common,v 1.35 2008/03/04 16:38:13 jlam Exp $ # MASTER_SITES is very special, and must end in "=": CATEGORIES= lang java EXTRACT_SUFX= .bin MAINTAINER= jschauma@@NetBSD.org HOMEPAGE= http://java.sun.com/ DOWNLOAD= http://java.sun.com/j2se/1.3/download.html ARCHIVE= http://java.sun.com/products/archive/index.html LICENSE= jdk13-license 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} EMUL_PLATFORMS= linux-i386 PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" EMUL_MODULES.linux= compat locale x11 DIST_ARCH.i386= i586 .if defined(DIST_ARCH.${EMUL_ARCH}) DIST_ARCH= ${DIST_ARCH.${EMUL_ARCH}} .else DIST_ARCH= ${EMUL_ARCH} .endif INTERACTIVE_STAGE= fetch BUILD_DIRS= # empty JAVA_HOME= ${LOCALBASE}/java/sun-1.3.1 JAVA_NAME= sun13 FETCH_MESSAGE= \ "The file ${DISTNAME}${EXTRACT_SUFX} containing:" \ " ${COMMENT}" \ "must be fetched into:" \ " ${DISTDIR}" \ "from:" \ " ${DOWNLOAD}" \ " or ${ARCHIVE}" \ "" \ "Choose 'Windows/Linux/Solaris SPARC/Solaris x86' from" \ "the '${SHORT}' column, accept the license, then choose" \ "'Linux self-extracting file'." post-fetch: @@if [ ! -x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \ ${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}; \ fi post-build: ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f do-install: ${INSTALL_PROGRAM_DIR} ${DESTDIR}${JAVA_HOME} cd ${WRKSRC} && ${PAX} -rwp ma . ${DESTDIR}${JAVA_HOME} .include "../../mk/java-env.mk" @ 1.35 log @Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.34 2007/08/22 14:03:48 jlam Exp $ @ 1.34 log @Fix error that happened during conversion to the emulator framework: the Sun JDK/JRE packages require the "compat" Linux module, so make that a hard requirement in EMUL_MODULES.linux. Bump the PKGREVISION for sun-{jdk,jre}{13,14,15,6}. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.33 2007/07/29 05:19:28 jlam Exp $ d21 2 d62 2 a63 2 ${INSTALL_PROGRAM_DIR} ${JAVA_HOME} cd ${WRKSRC} && ${PAX} -rwp ma . ${JAVA_HOME} @ 1.33 log @* Add new emulator framework in pkgsrc/mk/emulator that handles all binary-only packages that require binary "emulation" on the native operating system. Please see pkgsrc/mk/emulator/README for more details. * Teach the plist framework to automatically use any existing PLIST.${EMUL_PLATFORM} as part of the default PLIST_SRC definition. * Convert all of the binary-only packages in pkgsrc to use the emulator framework. Most of them have been tested to install and deinstall correctly. This involves the following cleanup actions: * Remove use of custom PLIST code and use PLIST.${EMUL_PLATFORM} more consistently. * Simplify packages by using default INSTALL and DEINSTALL scripts instead of custom INSTALL/DEINSTALL code. * Remove "SUSE_COMPAT32" and "PKG_OPTIONS.suse" from pkgsrc. Packages only need to state exactly which emulations they support, and the framework handles any i386-on-x86_64 or sparc-on-sparc64 uses. * Remove "USE_NATIVE_LINUX" from pkgsrc. The framework will automatically detect when the package is installing on Linux. Specific changes to packages include: * Bump the PKGREVISIONs for all of the suse100* and suse91* packages due to changes in the +INSTALL/+DEINSTALL scripts used in all of the packages. * Remove pkgsrc/emulators/suse_linux, which is unused by any packages. * cad/lc -- remove custom code to create the distinfo file for all supported platforms; just use "emul-fetch" and "emul-distinfo" instead. * lang/Cg-compiler -- install the shared libraries under ${EMULDIR} instead of ${PREFIX}/lib so that compiled programs will find the shared libraries. * mail/thunderbird-bin-nightly -- update to latest binary distributions for supported platforms. * multimedia/ns-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. * security/uvscan -- set LD_LIBRARY_PATH explicitly so that it's not necessary to install library symlinks into ${EMULDIR}/usr/local/lib. * www/firefox-bin-flash -- update Linux version to 9.0.48 as the older version is no longer available for interactive fetch. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.32 2007/02/22 19:26:39 wiz Exp $ d23 1 a23 4 EMUL_MODULES.linux= locale x11 .if !empty(EMUL_DISTRO:Msuse-[0-9].*) EMUL_MODULES.linux+= compat .endif @ 1.32 log @Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.31 2006/09/25 16:16:35 joerg Exp $ d19 1 a19 3 INTERACTIVE_STAGE= fetch CHECK_SHLIBS= no # expected to fail d23 4 a26 2 JAVA_HOME= ${LOCALBASE}/java/sun-1.3.1 JAVA_NAME= sun13 d28 6 a33 2 NO_MTREE= yes # since we change PREFIX LDD= ${TRUE} d35 2 a36 1 ONLY_FOR_PLATFORM= *-*-i386 d38 2 a39 9 .include "../../emulators/suse_linux/Makefile.application" .if !defined(USE_NATIVE_LINUX) . if ${SUSE_DIR_PREFIX} == "suse91" DEPENDS+= suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale . endif DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11 .endif a58 2 do-build: # nothing a66 1 .include "../../mk/bsd.pkg.mk" @ 1.31 log @Disable CHECK_SHLIBS for sun-jre13 and sun-jdk13, as it can't work in the current form. The wrapper handle it currectly. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.30 2006/07/18 23:27:14 jlam Exp $ d10 1 a10 1 ARCHIVE= http://java.sun.com/products/archive/index.html @ 1.30 log @Convert _FETCH_MESSAGE to plain old FETCH_MESSAGE. Remove _FETCH_MESSAGE processing from mk/fetch/*.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.29 2006/07/07 03:18:18 minskim Exp $ d21 2 @ 1.29 log @The fake JRE package for Darwin is not needed any more, because the builtin framework can detect a native JRE implementation. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.28 2006/04/22 09:22:10 rillig Exp $ d41 12 a52 17 _FETCH_MESSAGE= \ ${ECHO} "======================================================================"; \ ${ECHO} ; \ ${ECHO} " The file ${DISTNAME}${EXTRACT_SUFX} containing"; \ ${ECHO} " ${COMMENT} must be fetched"; \ ${ECHO} " into:"; \ ${ECHO} " ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \ ${ECHO} " from:"; \ ${ECHO} " ${DOWNLOAD}"; \ ${ECHO} " or ${ARCHIVE}"; \ ${ECHO} ; \ ${ECHO} " Choose 'Windows/Linux/Solaris SPARC/Solaris x86' from"; \ ${ECHO} " the '${SHORT}' column, accept the license, then choose 'Linux ";\ ${ECHO} " self-extracting file'."; \ ${ECHO} ; \ ${ECHO} "======================================================================" @ 1.28 log @Removed the superfluous "quotes" and 'quotes' from variables that don't need them, for example RESTRICTED and SUBST_MESSAGE.*. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.27 2006/01/21 18:57:41 jlam Exp $ a22 3 .if ${OPSYS} == "Darwin" JAVA_HOME= /usr .else a24 8 .endif .if ${OPSYS} == "Darwin" DISTFILES= # empty NO_CONFIGURE= yes NO_BUILD= yes PLIST_SRC= ${PKGDIR}/PLIST.Darwin .endif d29 1 a29 1 ONLY_FOR_PLATFORM= *-*-i386 Darwin-*-* d31 1 a31 2 .if ${OPSYS} != "Darwin" . include "../../emulators/suse_linux/Makefile.application" d33 2 a34 2 . if !defined(USE_NATIVE_LINUX) . if ${SUSE_DIR_PREFIX} == "suse91" d36 1 a36 1 . endif a38 1 . endif a58 1 .if ${OPSYS} != "Darwin" a62 1 .endif a68 4 .if ${OPSYS} == "Darwin" do-install: @@${ECHO_MSG} "Darwin ships with a JRE/JDK based on Sun's 1.3.1 release." .else a71 1 .endif @ 1.27 log @Update package Makefile now that bsd.pkg.extract.mk is using the "extract" script for extraction. Many cases where a custom EXTRACT_CMD simply copied the distfile into the work directory are no longer needed. The extract script also hides differences between pax and tar behind a common command-line interface, so we no longer need code that's conditional on whether EXTRACT_USING is tar or pax. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.26 2005/12/12 14:43:25 joerg Exp $ d13 1 a13 1 RESTRICTED= "Redistribution of repackaged binaries not permitted" @ 1.26 log @First step at reworking Linux binary packages. Change most pkgs to depend on either emulators/suse_linux/Makefile.application (normal pkgs) or Makefile.common (suse91 and suse themselves) to filter out Operating Systems without Linux ABI support. Use CPU masks to limit the pkg to supported platforms. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.25 2005/09/28 19:04:44 rillig Exp $ a11 2 EXTRACT_CMD= ${ECHO} yes | ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} >/dev/null @ 1.25 log @Removed deprecated use of NO_PATCH. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.24 2005/05/10 01:55:39 jschauma Exp $ d42 13 a54 1 ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i[3-6]86 Darwin-*-* a94 9 .if ${OPSYS} == "NetBSD" . include "../../emulators/suse_linux/Makefile.application" . if ${SUSE_DIR_PREFIX} == "suse91" DEPENDS+= suse_locale-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_locale . endif DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11 .endif @ 1.24 log @as with sun-jre14, pull in suse_locale to ensure that other charset characters can be used @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.23 2005/04/11 21:46:16 tv Exp $ a33 1 NO_PATCH= yes a38 4 .if ${OPSYS} == "Linux" NO_PATCH= yes # no need for patches on Linux .endif @ 1.23 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.22 2004/06/15 12:00:09 abs Exp $ a31 5 .if ${OPSYS} == "NetBSD" DEPENDS+= suse_compat-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_compat DEPENDS+= suse_x11-[0-9]*:../../emulators/${SUSE_DIR_PREFIX}_x11 .endif d90 5 @ 1.22 log @When sugggesting the URL from which to download make the first choice easier to cut and paste: ${DOWNLOAD} or ${ARCHIVE} rather than ${DOWNLOAD} or ${ARCHIVE} @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.21 2004/05/22 21:22:59 jmmv Exp $ a48 1 USE_BUILDLINK3= yes @ 1.21 log @Convert sun-{jre,jdk}13 to use java-env.mk. This implies that the package now install several wrappers under ${PREFIX}/bin to run the binaries installed under ${JAVA_HOME}/bin easily. While here, drop the direct modification of PREFIX. No revision bump since these packages were updated just some minutes ago. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.20 2004/05/05 17:22:51 xtraeme Exp $ d63 2 a64 2 ${ECHO} " ${DOWNLOAD} or"; \ ${ECHO} " ${ARCHIVE}"; \ @ 1.20 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.19 2004/01/11 19:41:39 cjep Exp $ d26 1 a26 1 JVM_HOME= /usr d28 2 a29 1 JVM_HOME= ${LOCALBASE}/java/sun-1.3.1 d90 2 a91 2 ${INSTALL_PROGRAM_DIR} ${PREFIX} cd ${WRKSRC} && ${PAX} -rwp ma . ${PREFIX} d98 1 a99 2 PREFIX= ${JVM_HOME} @ 1.19 log @Use tabs (not spaces) to make indentation @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.18 2004/01/10 19:12:51 cjep Exp $ d48 1 a48 1 USE_BUILDLINK2= yes @ 1.18 log @Whitespace @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.17 2004/01/02 16:56:01 jschauma Exp $ d67 1 a67 1 ${ECHO} " self-extracting file'."; \ @ 1.17 log @Same as for 1.4: Don't duplicate the FETCH_MESSAGE, move it to Makefile.common instead. Found a URL for older distfiles, so make that known. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.16 2003/08/23 15:14:02 jschauma Exp $ d10 1 a10 1 ARCHIVE= http://java.sun.com/products/archive/index.html @ 1.16 log @Put these packages into a new pseudo-category called 'java'. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.15 2003/07/17 21:45:26 grant Exp $ d10 1 d54 18 @ 1.15 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.14 2003/03/26 04:05:43 jschauma Exp $ d4 1 a4 1 CATEGORIES= lang @ 1.14 log @De-confusify: Let emulators/suse_*/Makefile.* _not_ include bsd.pkg.mk, but rather make all packages that use linux emulation include bsd.pkg.mk as the last files just like any normal package. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.13 2003/03/17 21:25:38 jschauma Exp $ d7 1 a7 1 MAINTAINER= jschauma@@netbsd.org @ 1.13 log @Suppress warning by not trying to chmod a symlink before the target has been paxed over. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.12 2003/02/05 03:37:44 jlam Exp $ d74 1 a74 3 .if ${OPSYS} != "NetBSD" . include "../../mk/bsd.pkg.mk" .else d77 2 @ 1.12 log @Mark these as having interactive fetch stages. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.11 2003/01/29 11:10:24 jlam Exp $ d71 1 a71 1 cd ${WRKSRC} && ${PAX} -rw . ${PREFIX} @ 1.11 log @Update sun-jre13 and sun-jdk13 to 1.0.7. These are bug fix releases from Sun for JDK 1.3.1. Pkgsrc changes include noting that some of the installed files are config files and using bsd.pkg.install.mk to handle the file copying and directory handling, and using a more scalable method to remove files shared between the JRE and JDK during the JDK installation. This closes PR 18942 by Urban Boquist . @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.10 2002/11/07 00:22:54 jlam Exp $ d19 2 @ 1.10 log @Don't try to chmod the distfile if the permissions are already correct. Addresses pkg/18941 by Robert Elz. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.9 2002/10/15 14:06:56 jschauma Exp $ d9 1 a10 1 FETCH_BEFORE_ARGS=-o ${DISTNAME}${EXTRACT_SUFX} d35 3 a37 3 NO_PATCH= # defined NO_CONFIGURE= # defined NO_BUILD= # defined d42 1 a42 1 NO_PATCH= # defined -- no need for patches on Linux d45 2 a46 4 USE_BUILDLINK2= # defined NO_CONFIGURE= # defined NO_BUILD= # defined NO_MTREE= # defined, since we change PREFIX d57 2 @ 1.9 log @We need the suse-Makefile when we _are_ on NetBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.8 2002/10/13 07:45:33 jlam Exp $ d55 3 a57 1 @@-${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} @ 1.8 log @* Use buildlink2. * Minor improvements to the package Makefiles. * Correct the PLIST. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2002/09/30 23:43:46 jlam Exp $ d70 1 a70 1 .if ${OPSYS} == "NetBSD" @ 1.7 log @Trivially use buildlink2 @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.6 2002/09/19 08:28:17 wennmach Exp $ a21 2 # We need to overwrite JDK_HOME, since JRE and JDK need to be # installed in the same directory d23 1 a23 1 JDK_HOME= /usr d25 1 a25 1 JDK_HOME:= ${LOCALBASE}/java/sun-1.3.1 a26 1 MESSAGE_SUBST+= JDK_HOME=${JDK_HOME} a27 1 # Needs to be after bsd.prefs.mk d41 3 a43 2 # since we change PREFIX: NO_MTREE= yes d45 4 a48 1 ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i[3-6]86 Darwin-*-* a49 2 NO_BUILD= # defined USE_BUILDLINK2= # defined d51 3 a54 1 . if ${OPSYS} != "Darwin" d56 4 a59 1 . endif d61 4 a65 3 . if ${OPSYS} == "Darwin" @@${ECHO_MSG} "Darwin ships with a JRE and a JDK based on Sun's 1.3.1 release." . else a67 7 . endif # These need to be after bsd.pkg.mk .if ${OPSYS} == "Linux" # No patches on linux NO_PATCH= #defined d70 4 a73 4 .if ${OPSYS} == "Darwin" || ${OPSYS} == "Linux" .include "../../mk/bsd.pkg.mk" .elif ${OPSYS} != "Linux" .include "../../emulators/suse_linux/Makefile.application" d76 1 a76 2 PREFIX:= ${JDK_HOME} @ 1.6 log @Allow for the chmod command to fail, e. g. if the distfile is on a readonly medium, or if the directory protections don't allow it. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.5 2002/09/03 19:26:41 jschauma Exp $ d51 1 @ 1.5 log @Make this work on Linux. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.4 2002/07/28 14:39:04 schmonz Exp $ d54 1 a54 1 @@${CHMOD} +x ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} @ 1.4 log @Avoid including bsd.pkg.mk twice on not-Darwin. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3 2002/07/28 13:16:46 schmonz Exp $ a64 6 .if ${OPSYS} == "Darwin" .include "../../mk/bsd.pkg.mk" .else .include "../../emulators/suse_linux/Makefile.application" .endif d69 1 a69 3 PATCHDIR= ${WRKDIR}/.patches pre-patch: ${MKDIR} ${PATCHDIR} d71 7 @ 1.3 log @Uncomment inadvertently out-commented JDK_HOME definition. Sprinkle some Darwin ifdefs. Now that we can't rely on "emulators/suse_linux/Makefile.application" being included, include bsd.pkg.mk directly. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.2 2002/07/28 11:57:41 schmonz Exp $ d65 3 a67 1 .if ${OPSYS} != "Darwin" a70 1 .include "../../mk/bsd.pkg.mk" @ 1.2 log @Tabs are significant to make(1). Entab to avoid a parse error around do-install. Entab elsewhere for readability. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1 2002/07/27 21:54:31 jschauma Exp $ d24 5 a28 1 # JDK_HOME:= ${LOCALBASE}/java/sun-1.3.1 d65 1 d67 1 d69 1 @ 1.1 log @We allow several JDKs/JREs to coexist, installing them in separate subdirectories under ${PREFIX}/java/ -- Change III of many. Thus install this JRE into ${PREFIX}/java/sun-1.3.1 and remove CONFLICTS with other JDKs/JREs. Rename package from sun-jre-1.3.1.0.2 to sun-jre13-1.0.2 (avoids conflict with sun-jre14). Split Makefile into Makefile and Makefile.common, to allow reusing of some of the stuff in lang/sun-jdk13 (commit coming up). Add informative MESSAGE and finally bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2002/04/04 12:29:49 tron Exp $ d4 1 a4 1 CATEGORIES= lang d24 2 a25 2 JDK_HOME:= ${LOCALBASE}/java/sun-1.3.1 MESSAGE_SUBST+= JDK_HOME=${JDK_HOME} d34 5 a38 5 DISTFILES= # empty NO_PATCH= # defined NO_CONFIGURE= # defined NO_BUILD= # defined PLIST_SRC= ${PKGDIR}/PLIST.Darwin d49 1 a49 1 . if ${OPSYS} != "Darwin" d54 3 a56 3 . if ${OPSYS} == "Darwin" @@${ECHO_MSG} "Darwin ships with a JRE and a JDK based on Sun's 1.3.1 release." . else @