Framework: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2015-07-20 22:54:19 +02:00
parent 6ac2e62532
commit 760b2fc6fa
4 changed files with 39 additions and 24 deletions

6
MOVED
View file

@ -7695,3 +7695,9 @@ print/pup||2015-07-14|Development ceased, unusable
audio/rubyripper||2015-07-16|Has expired: Does not build and is deprecated upstream
ports-mgmt/vulnerability-test-port||2015-07-19|Useless after portaudit retirement
print/texlive-infra|print/texlive-tlmgr|2015-07-20|Renamed
print/cm-super||2015-07-20|Obsolete
devel/rubygem-builder31||2015-07-20|Has expired: not used by other ports anymore
devel/rubygem-timers1||2015-07-20|Has expired: not used by other ports anymore
net/rubygem-rubyntlm01||2015-07-20|Has expired: not used by other ports anymore
security/rubygem-net-scp11||2015-07-20|Has expired: not used by other ports anymore
security/rubygem-net-ssh27||2015-07-20|Has expired: not used by other ports anymore

View file

@ -4,7 +4,7 @@
#
# Feature: ghostscript
# Usage: USES=ghostscript or USES=ghostscript:args
# Valid ARGS: <version>, build, run, nox11, agpl
# Valid ARGS: <version>, build, run, nox11
#
# version The chooseable versions are 7, 8 and 9. If no version is
# specified version 9 is selected.
@ -14,7 +14,6 @@
# USES=ghostscript:8,build # Use ghostscript 8 as a build dependancy.
#
# nox11 Indicate that the Ghostscript nox11 port is required.
# agpl Indicate that the Ghostscript apgl port is required.
# build Indicates that Ghostscript is needed at build time and adds
# it as BUILD_DEPENDS.
# run Indicates that Ghostscript is needed at run time and adds
@ -29,19 +28,19 @@
_INCLUDE_USES_GHOSTSCRIPT_MK= yes
# allowed versions
_GS_VERSION= 7 8 9
_GS_VERSION= 7 8 9 9.06 9.16 agpl
_GS_ARGS= ${ghostscript_ARGS}
.if ${_GS_ARGS:N[789]:Nnox11:Nagpl:Nbuild:Nrun}
IGNORE= Unknown ghostscript argument ${_GS_ARGS}
.if ${_GS_ARGS:N[789]:N9.06:N9.16:Nnox11:Nbuild:Nrun}
IGNORE?= Unknown ghostscript argument ${_GS_ARGS}
.endif
# Determine version number of Ghostscript to use
.include "${PORTSDIR}/Mk/bsd.default-versions.mk"
.if ${_GS_VERSION:M${GHOSTSCRIPT_DEFAULT}} == ""
IGNORE= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION}
.if ${GHOSTSCRIPT_DEFAULT:N[789]:N9.06:N9.16:Nagpl}
IGNORE?= Invalid GHOSTSCRIPT_DEFAULT value: ${GHOSTSCRIPT_DEFAULT}, please select one of ${_GS_VERSION}
.endif
# Make sure that no dependency or some other environment variable
@ -62,22 +61,32 @@ _GS_BUILD_DEP= yes
_GS_RUN_DEP= yes
.endif
_GS_SELECTED= ${GHOSTSCRIPT_DEFAULT}
.if ${_GS_ARGS:M9}
_GS_SELECTED:= 9
.elif ${_GS_ARGS:M8}
_GS_SELECTED:= 8
.elif ${_GS_ARGS:M7}
_GS_SELECTED:= 7
.endif
.undef _GS_AGPL_SUFFIX
.if ${_GS_ARGS:Magpl}
. if ${_GS_SELECTED} == "9"
_GS_AGPL_SUFFIX= -agpl
. else
IGNORE= Ghostscript-agpl is only available in version 9
. endif
.undef _GS_SELECTED
.for V in ${_GS_ARGS} ${GHOSTSCRIPT_DEFAULT}
_V=${V}
.if ${_V:M9}
_GS_SELECTED?= 9
.elif ${_V:M9.06}
_GS_SELECTED?= 9
.elif ${_V:M9.16}
_GS_SELECTED?= 9
_GS_AGPL_SUFFIX?= -agpl
.elif ${_V:Magpl}
_GS_AGPL_SUFFIX?= -agpl
.if defined(_GS_SELECTED) && ${_GS_SELECTED:N9}
IGNORE?= Ghostscript-agpl is only available in version 9
.else
_GS_SELECTED?= 9
.endif
.elif ${_V:M8}
_GS_SELECTED?= 8
.elif ${_V:M7}
_GS_SELECTED?= 7
.endif
.endfor
.if !defined(_GS_SELECTED)
IGNORE?= Invalid ghostscript argument or GHOSTSCRIPT_DEFAULT
.endif
.undef _GS_NOX11_SUFFIX

View file

@ -32,7 +32,7 @@ PYTHON3_DEFAULT?= 3.4
RUBY_DEFAULT?= 2.1
TCLTK_DEFAULT?= 8.6
FIREBIRD_DEFAULT?= 2.5
GHOSTSCRIPT_DEFAULT?= 9
GHOSTSCRIPT_DEFAULT?= 9.06
# Version of lang/gcc. Do not override!
LANG_GCC_IS= 4.8

2
UIDs
View file

@ -47,7 +47,7 @@ mud:*:97:97::0:0:MUD Owner:/nonexistent:/bin/sh
msql:*:98:98::0:0:mSQL-2 pseudo-user:/var/db/msqldb:/bin/sh
rscsi:*:99:99::0:0:Remote SCSI:/usr/local/rscsi:/usr/local/sbin/rscsi
squid:*:100:100::0:0:squid caching-proxy pseudo user:/var/squid:/usr/sbin/nologin
quagga:*:101:101::0:0:Quagga route daemon pseudo user:/usr/local/etc/quagga:/usr/sbin/nologin
quagga:*:101:101::0:0:Quagga route daemon pseudo user:/var/empty:/usr/sbin/nologin
ganglia:*:102:102::0:0:Ganglia User:/nonexistent:/usr/sbin/nologin
sgeadmin:*:103:103::0:0:Sun Grid Engine Admin:/nonexistent:/usr/sbin/nologin
slimserv:*:104:104::0:0:Slim Devices SlimServer pseudo-user:/nonexistent:/usr/sbin/nologin