mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Not using IGNORE anymore to avoid package building.
.if defined(BATCH) || defined(PACKAGE_BUILDING) IGNORE= "You can not legally distribute binaries" .endif This was superfluous and inhibiting package builds of things that depend on the port. Having RESTRICTED and NO_CDROM is enough to ensure that a package will not appear on the FTP site or a CDROM (it will be built and used as a basis for other packages to build with, but will be deleted at the end of the build run). Requested by: kris Reviewed by: portmgr (silence) PR: 42758
This commit is contained in:
parent
9f43ab1dd8
commit
2c50b3e55f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=67730
11 changed files with 18 additions and 57 deletions
|
@ -43,7 +43,8 @@ JDK12DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
RESTRICTED= "Redistribution of pre-compiled binaries isn't permitted"
|
RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
|
NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
MAKEFILE= GNUmakefile
|
MAKEFILE= GNUmakefile
|
||||||
MAKE_ENV= HAVE_DPS="no" \
|
MAKE_ENV= HAVE_DPS="no" \
|
||||||
ALT_BOOTDIR="${JDK12DIR}" \
|
ALT_BOOTDIR="${JDK12DIR}" \
|
||||||
|
@ -71,10 +72,6 @@ PKGNAMESUFFIX= -nodebug
|
||||||
PLIST_SUB+= DEBUG:=""
|
PLIST_SUB+= DEBUG:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute pre-compiled binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.for file in ${DISTFILES}
|
.for file in ${DISTFILES}
|
||||||
|
|
|
@ -14,11 +14,7 @@ DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc
|
||||||
MAINTAINER= znerd@FreeBSD.org
|
MAINTAINER= znerd@FreeBSD.org
|
||||||
|
|
||||||
NO_CDROM= "License does not allow distribution with fee."
|
NO_CDROM= "License does not allow distribution with fee."
|
||||||
RESTRICTED= "This software is under license and export control."
|
RESTRICTED= "This documentation is under license and export control."
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You cannot legally distribute packages"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
||||||
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
||||||
|
|
|
@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
RESTRICTED= "Redistribution of pre-compiled binaries isn't permitted"
|
RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
|
NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
||||||
ALT_MOTIF_DIR="${X11BASE}" \
|
ALT_MOTIF_DIR="${X11BASE}" \
|
||||||
OPENWINHOME="${X11BASE}" \
|
OPENWINHOME="${X11BASE}" \
|
||||||
|
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
|
||||||
PLIST_SUB+= PLUGIN:=""
|
PLIST_SUB+= PLUGIN:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute pre-compiled binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
||||||
|
|
|
@ -14,11 +14,7 @@ DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc
|
||||||
MAINTAINER= znerd@FreeBSD.org
|
MAINTAINER= znerd@FreeBSD.org
|
||||||
|
|
||||||
NO_CDROM= "License does not allow distribution with fee."
|
NO_CDROM= "License does not allow distribution with fee."
|
||||||
RESTRICTED= "This software is under license and export control."
|
RESTRICTED= "This documentation is under license and export control."
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You cannot legally distribute packages"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
|
||||||
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}
|
||||||
|
|
|
@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
RESTRICTED= "Redistribution of pre-compiled binaries isn't permitted"
|
RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
|
NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
||||||
ALT_MOTIF_DIR="${X11BASE}" \
|
ALT_MOTIF_DIR="${X11BASE}" \
|
||||||
OPENWINHOME="${X11BASE}" \
|
OPENWINHOME="${X11BASE}" \
|
||||||
|
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
|
||||||
PLIST_SUB+= PLUGIN:=""
|
PLIST_SUB+= PLUGIN:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute pre-compiled binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
||||||
|
|
|
@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
RESTRICTED= "Redistribution of pre-compiled binaries isn't permitted"
|
RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
|
NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
||||||
ALT_MOTIF_DIR="${X11BASE}" \
|
ALT_MOTIF_DIR="${X11BASE}" \
|
||||||
OPENWINHOME="${X11BASE}" \
|
OPENWINHOME="${X11BASE}" \
|
||||||
|
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
|
||||||
PLIST_SUB+= PLUGIN:=""
|
PLIST_SUB+= PLUGIN:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute pre-compiled binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
||||||
|
|
|
@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
USE_GMAKE= yes
|
USE_GMAKE= yes
|
||||||
RESTRICTED= "Redistribution of pre-compiled binaries isn't permitted"
|
RESTRICTED= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
|
NO_CDROM= "Redistribution of pre-compiled binaries is not permitted"
|
||||||
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
MAKE_ENV= ALT_BOOTDIR="${JDK13DIR}" \
|
||||||
ALT_MOTIF_DIR="${X11BASE}" \
|
ALT_MOTIF_DIR="${X11BASE}" \
|
||||||
OPENWINHOME="${X11BASE}" \
|
OPENWINHOME="${X11BASE}" \
|
||||||
|
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
|
||||||
PLIST_SUB+= PLUGIN:=""
|
PLIST_SUB+= PLUGIN:=""
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute pre-compiled binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )
|
||||||
|
|
|
@ -29,7 +29,7 @@ ONLY_FOR_ARCHS= i386
|
||||||
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
|
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
|
||||||
LINUX_SH?= ${LINUXBASE}/bin/sh
|
LINUX_SH?= ${LINUXBASE}/bin/sh
|
||||||
|
|
||||||
NO_CDROM= "License doesn\'t allow distribution with fee"
|
NO_CDROM= "License does not allow distribution with fee"
|
||||||
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
||||||
|
|
||||||
DOWNLOAD_URL= http://www6.software.ibm.com/dl/dklx130/dklx130-i?S_PKG=ia32ww
|
DOWNLOAD_URL= http://www6.software.ibm.com/dl/dklx130/dklx130-i?S_PKG=ia32ww
|
||||||
|
@ -42,16 +42,12 @@ RUN_DEPENDS+= ${X11BASE}/lib/X11/fonts/TrueType/wadalab-gothic.ttf:${PORTSDIR}/j
|
||||||
PLIST_SUB+= JAPANESE="@comment "
|
PLIST_SUB+= JAPANESE="@comment "
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
|
||||||
IGNORE=You must manually fetch the IBM Java SDK ${JDK_VERSION} for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again.
|
IGNORE=You must manually fetch the IBM Java SDK ${JDK_VERSION} for Linux archive (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again.
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@for shfn in `${GREP} -r '^#!/bin/sh' ${WRKSRC}|${AWK} -F: '{print $$1}'`; do \
|
@for shfn in `${GREP} -r '^#!/bin/sh' ${WRKSRC}|${AWK} -F: '{print $$1}'`; do \
|
||||||
if [ ! -h $$shfn ]; then \
|
if [ ! -h $$shfn ]; then \
|
||||||
|
|
|
@ -25,13 +25,9 @@ USE_LINUX= yes
|
||||||
JDK_VERSION= 1.2.2.013
|
JDK_VERSION= 1.2.2.013
|
||||||
ONLY_FOR_ARCHS= i386
|
ONLY_FOR_ARCHS= i386
|
||||||
|
|
||||||
NO_CDROM= "License doesn\'t allow distribution with fee"
|
NO_CDROM= "License does not allow distribution with fee"
|
||||||
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
|
APP_HOME= ${PREFIX}/${PKGNAMEPREFIX}jdk1.2.2
|
||||||
DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-i586
|
DOWNLOAD_URL= http://java.sun.com/Download5?config-file=${PORTNAME}-${JDK_VERSION:S/./_/g}.config&platform=linux-i586
|
||||||
|
|
||||||
|
|
|
@ -19,13 +19,9 @@ MAINTAINER= znerd@FreeBSD.org
|
||||||
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||||
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
||||||
|
|
||||||
NO_CDROM= "License doesn\'t allow distribution with fee"
|
NO_CDROM= "License does not allow distribution with fee"
|
||||||
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE= "You can not legally distribute binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
EXTRACT_CMD= # empty
|
EXTRACT_CMD= # empty
|
||||||
EXTRACT_BEFORE_ARGS= # empty
|
EXTRACT_BEFORE_ARGS= # empty
|
||||||
EXTRACT_AFTER_ARGS= # empty
|
EXTRACT_AFTER_ARGS= # empty
|
||||||
|
|
|
@ -18,13 +18,9 @@ MAINTAINER= znerd@FreeBSD.org
|
||||||
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
|
||||||
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
RUN_DEPENDS= javavm:${PORTSDIR}/java/javavmwrapper
|
||||||
|
|
||||||
NO_CDROM= "License doesn\'t allow distribution with fee"
|
NO_CDROM= "License does not allow distribution with fee"
|
||||||
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
RESTRICTED= "Redistribution of repackaged binaries not permitted"
|
||||||
|
|
||||||
.if defined(BATCH) || defined(PACKAGE_BUILDING)
|
|
||||||
IGNORE="You can not legally distribute binaries"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
EXTRACT_CMD= # empty
|
EXTRACT_CMD= # empty
|
||||||
EXTRACT_BEFORE_ARGS= # empty
|
EXTRACT_BEFORE_ARGS= # empty
|
||||||
EXTRACT_AFTER_ARGS= # empty
|
EXTRACT_AFTER_ARGS= # empty
|
||||||
|
|
Loading…
Add table
Reference in a new issue