1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00: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:
Ernst de Haan 2002-10-10 08:38:39 +00:00
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

View File

@ -43,7 +43,8 @@ JDK12DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
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
MAKE_ENV= HAVE_DPS="no" \
ALT_BOOTDIR="${JDK12DIR}" \
@ -71,10 +72,6 @@ PKGNAMESUFFIX= -nodebug
PLIST_SUB+= DEBUG:=""
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute pre-compiled binaries"
.endif
.include <bsd.port.pre.mk>
.for file in ${DISTFILES}

View File

@ -14,11 +14,7 @@ DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc
MAINTAINER= znerd@FreeBSD.org
NO_CDROM= "License does not allow distribution with fee."
RESTRICTED= "This software is under license and export control."
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You cannot legally distribute packages"
.endif
RESTRICTED= "This documentation is under license and export control."
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}

View File

@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
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}" \
ALT_MOTIF_DIR="${X11BASE}" \
OPENWINHOME="${X11BASE}" \
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
PLIST_SUB+= PLUGIN:=""
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute pre-compiled binaries"
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )

View File

@ -14,11 +14,7 @@ DISTNAME= j2sdk-${JDK_VERSION:S/./_/g}-doc
MAINTAINER= znerd@FreeBSD.org
NO_CDROM= "License does not allow distribution with fee."
RESTRICTED= "This software is under license and export control."
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You cannot legally distribute packages"
.endif
RESTRICTED= "This documentation is under license and export control."
PLIST_SUB+= T=${TARGET_DIR:S/^${PREFIX}\///}
TARGET_DIR?= ${PREFIX}/share/doc/jdk${JDK_MAJOR_VER}

View File

@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
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}" \
ALT_MOTIF_DIR="${X11BASE}" \
OPENWINHOME="${X11BASE}" \
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
PLIST_SUB+= PLUGIN:=""
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute pre-compiled binaries"
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )

View File

@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
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}" \
ALT_MOTIF_DIR="${X11BASE}" \
OPENWINHOME="${X11BASE}" \
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
PLIST_SUB+= PLUGIN:=""
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute pre-compiled binaries"
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )

View File

@ -44,7 +44,8 @@ JDK13DIR?= ${LOCALBASE}/linux-sun-jdk${JDK_VERSION}
ONLY_FOR_ARCHS= i386
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}" \
ALT_MOTIF_DIR="${X11BASE}" \
OPENWINHOME="${X11BASE}" \
@ -90,10 +91,6 @@ PLIST_SUB+= PLUGIN:="@comment "
PLIST_SUB+= PLUGIN:=""
.endif
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute pre-compiled binaries"
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 460101 || ( ${OSVERSION} >= 500000 && ${OSVERSION} < 500038 )

View File

@ -29,7 +29,7 @@ ONLY_FOR_ARCHS= i386
APP_HOME?= ${PREFIX}/${PKGBASE}${PORTVERSION}
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"
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 "
.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})
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
.include <bsd.port.pre.mk>
post-patch:
@for shfn in `${GREP} -r '^#!/bin/sh' ${WRKSRC}|${AWK} -F: '{print $$1}'`; do \
if [ ! -h $$shfn ]; then \

View File

@ -25,13 +25,9 @@ USE_LINUX= yes
JDK_VERSION= 1.2.2.013
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"
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif
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

View File

@ -19,13 +19,9 @@ MAINTAINER= znerd@FreeBSD.org
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
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"
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE= "You can not legally distribute binaries"
.endif
EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty

View File

@ -18,13 +18,9 @@ MAINTAINER= znerd@FreeBSD.org
BUILD_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
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"
.if defined(BATCH) || defined(PACKAGE_BUILDING)
IGNORE="You can not legally distribute binaries"
.endif
EXTRACT_CMD= # empty
EXTRACT_BEFORE_ARGS= # empty
EXTRACT_AFTER_ARGS= # empty