diff --git a/archivers/rar/Makefile b/archivers/rar/Makefile index 7dd1f7393933..8060b3a7962d 100644 --- a/archivers/rar/Makefile +++ b/archivers/rar/Makefile @@ -1,39 +1,39 @@ # Created by: ache PORTNAME= rar PORTVERSION= 6.0.1 PORTEPOCH= 3 CATEGORIES= archivers MASTER_SITES= https://rarlab.com/rar/ DISTNAME= rarbsd${ARCH:S|amd64|-x64|:S|i386||}-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= File archiver (binary port) LICENSE= RAR LICENSE_NAME= RAR license LICENSE_FILE= ${WRKSRC}/license.txt +# Only unmodified original package can be distributed LICENSE_PERMS= auto-accept dist-mirror pkg-mirror ONLY_FOR_ARCHS= amd64 i386 -RESTRICTED= only unmodified original package can be distributed NO_BUILD= yes WRKSRC= ${WRKDIR}/rar PLIST_FILES= bin/rar etc/rarfiles.lst lib/default.sfx man/cat1/rar.1.gz do-install: ${INSTALL_PROGRAM} ${WRKSRC}/rar ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/rarfiles.lst ${STAGEDIR}${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/default.sfx ${STAGEDIR}${PREFIX}/lib ${INSTALL_MAN} ${WRKSRC}/rar.txt ${STAGEDIR}${PREFIX}/man/cat1/rar.1 # maintainer section: .if defined(MAINTAINER_MODE) DISTFILES= rarbsd-${PORTVERSION}.tar.gz \ rarbsd-x64-${PORTVERSION}.tar.gz .endif .include diff --git a/audio/libaacplus/Makefile b/audio/libaacplus/Makefile index aa87eabadce3..a7792948847b 100644 --- a/audio/libaacplus/Makefile +++ b/audio/libaacplus/Makefile @@ -1,54 +1,52 @@ # Created by: takefu PORTNAME= libaacplus PORTVERSION= 2.0.2 PORTREVISION= 8 CATEGORIES= audio MASTER_SITES= http://tipok.org.ua/downloads/media/aacplus/libaacplus/ \ ftp://ftp.3gpp.org/Specs/archive/26_series/26.410/:site2 \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.410/:site2 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ ${SRC26410}:site2 MAINTAINER= takefu@airport.fm COMMENT= HE-AAC+ Codec as Shared Library LICENSE= libaacplus LICENSE_NAME= 3GPP -LICENSE_TEXT= ${RESTRICTED} +LICENSE_TEXT= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_3GPP= ${SRC26410} -RESTRICTED= unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies - CONFLICTS= aacplusenc-0* USE_CSTD= gnu89 USES= autoreconf pathfix pkgconfig libtool USE_LDCONFIG= yes GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip OPTIONS_DEFINE= FFTW3 OPTIONS_DEFAULT=FFTW3 SRC26410= 26410-800.zip FFTW3_DESC= Use FFTW3 library for performance FFTW3_LIB_DEPENDS= libfftw3.so:math/fftw3 \ libfftw3f.so:math/fftw3-float FFTW3_CONFIGURE_ON= --with-fftw3=yes --with-fftw3-prefix=${LOCALBASE} FFTW3_CONFIGURE_OFF= --with-fftw3=no pre-configure: @${CP} ${DISTDIR}/26410-800.zip ${WRKSRC}/src @${REINPLACE_CMD} -e 's,@includedir@\/aacplus,@prefix@\/include,' \ ${WRKSRC}/aacplus.pc.in @${REINPLACE_CMD} -e 's,\/aacplus\.h,\/libaacplus\/aacplus\.h,' \ ${WRKSRC}/aacplus.spec.in @${REINPLACE_CMD} -e 's,INCLUDES,AM_CPPFLAGS,'\ ${WRKSRC}/frontend/Makefile.am ${WRKSRC}/src/Makefile.am .include diff --git a/audio/libamrnb/Makefile b/audio/libamrnb/Makefile index 7c32c72e9989..05929e6430ad 100644 --- a/audio/libamrnb/Makefile +++ b/audio/libamrnb/Makefile @@ -1,46 +1,44 @@ # Created by: Tatsuki Makino PORTNAME= libamrnb PORTVERSION= 11.0.0.0 PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= audio MASTER_SITES= http://www.penguin.cz/~utx/ftp/amr/ \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/:SRC26104 DISTNAME= amrnb-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC26104}:SRC26104 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= 3GPP floating-point Adaptive Multi-Rate (AMR) Speech Codec LICENSE= BSD3CLAUSE 3GPP -LICENSE_COMB= dual +LICENSE_COMB= multi LICENSE_NAME_3GPP= 3GPP -LICENSE_TEXT_3GPP= ${RESTRICTED} +LICENSE_TEXT_3GPP= unclear legal status, probably need licenses from 3GPP and more LICENSE_PERMS_3GPP= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_3GPP= ${SRC26104} -RESTRICTED= unclear legal status, probably need licenses from 3GPP and more - USES= gmake tar:bzip2 libtool PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SUB_FILES= pkg-message USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS SRC26104= 26104-b00.zip post-extract: @${CP} ${_DISTDIR}/${SRC26104} ${WRKSRC}/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/ .include diff --git a/audio/libamrwb/Makefile b/audio/libamrwb/Makefile index 76abdc8ecdd9..dee7e7e37945 100644 --- a/audio/libamrwb/Makefile +++ b/audio/libamrwb/Makefile @@ -1,45 +1,43 @@ # Created by: Tatsuki Makino PORTNAME= libamrwb PORTVERSION= 11.0.0.0 PORTREVISION= 2 CATEGORIES= audio MASTER_SITES= http://www.penguin.cz/~utx/ftp/amr/ \ http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/:SRC26204 DISTNAME= amrwb-${DISTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${SRC26204}:SRC26204 DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= tatsuki_makino@hotmail.com COMMENT= 3GPP Adaptive Multi-Rate - Wideband (AMR-WB) Speech Codec LICENSE= BSD3CLAUSE 3GPP -LICENSE_COMB= dual +LICENSE_COMB= multi LICENSE_NAME_3GPP= 3GPP -LICENSE_TEXT_3GPP= ${RESTRICTED} +LICENSE_TEXT_3GPP= unclear legal status, probably need licenses from 3GPP and more LICENSE_PERMS_3GPP= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept LICENSE_DISTFILES_BSD3CLAUSE= ${DISTNAME}${EXTRACT_SUFX} LICENSE_DISTFILES_3GPP= ${SRC26204} -RESTRICTED= unclear legal status, probably need licenses from 3GPP and more - USES= gmake tar:bzip2 libtool PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO readme.txt GNU_CONFIGURE= yes INSTALL_TARGET= install-strip SUB_FILES= pkg-message USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS SRC26204= 26204-b00.zip post-extract: @${CP} ${_DISTDIR}/${SRC26204} ${WRKSRC} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include diff --git a/audio/logitechmediaserver/Makefile b/audio/logitechmediaserver/Makefile index 2f4121b74dd3..e99d0b674f84 100644 --- a/audio/logitechmediaserver/Makefile +++ b/audio/logitechmediaserver/Makefile @@ -1,132 +1,132 @@ PORTNAME= logitechmediaserver PORTVERSION= 7.9.2.g2018.12.10 CATEGORIES= audio MAINTAINER= ports@FreeBSD.org COMMENT= Audio streaming server that powers Squeezebox players from Logitech LICENSE= SDL LICENSE_NAME= Slim Devices License LICENSE_FILE= ${WRKSRC}/License.txt +# Contains non-redistributable firmware, documentation, and images LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell ONLY_FOR_ARCHS= amd64 i386 BUILD_DEPENDS= nasm:devel/nasm \ bash:shells/bash \ rsync:net/rsync LIB_DEPENDS= libgd.so:graphics/gd USES= gettext-runtime gmake perl5 shebangfix USE_GITHUB= yes GH_TUPLE= Logitech:slimserver:d3dc895 \ Logitech:slimserver-vendor:21f307f:vendor USE_RC_SUBR= logitechmediaserver SHEBANG_FILES= Bin/darwin/check-update.pl \ Bin/dbish \ CPAN/Log/Log4perl/Layout/PatternLayout/Multiline.pm \ Slim/Plugin/UPnP/t/MediaRenderer.t \ Slim/Plugin/UPnP/t/MediaServer.t \ cleanup.pl \ gdresize.pl \ gdresized.pl \ lib/MPEG/Audio/Frame.pm \ scanner.pl \ slimserver.pl \ ${WRKSRC_vendor}/CPAN/hints/darwin.pl # Defaults support playback of relativly unrestricted formats on SB2 or # SB3 devices and wired SB1 devices. OPTIONS_DEFINE= APE FAAD FLAC LAME SOX TEST DOCS OPTIONS_DEFAULT=APE FAAD FLAX SOX TEST SOX_DESC= Support OGG Vorbis input via SoX (SliMP3 and SB1) APE_RUN_DEPENDS= mac:audio/mac FAAD_RUN_DEPENDS= faad:audio/faad FLAC_RUN_DEPENDS= flac:audio/flac LAME_RUN_DEPENDS= lame:audio/lame SOX_RUN_DEPENDS= sox:audio/sox TEST_VARS_OFF= CONTRIB_FLAGS=-t -RESTRICTED= Contains non-redistributable firmware, documentation, and images USERS= ${SLIMUSER} GROUPS= ${SLIMGROUP} EXTRA_PATCHES= ${FILESDIR}/vendorpatch-CPAN_buildme.sh DOCFILES= Changelog*.html Installation.txt License*.txt CONFFILES= convert.conf types.conf PLIST_SUB= SLIMDIR=${SLIMDIR} \ SLIMDBDIR=${SLIMDBDIR} \ OPSYS=${OPSYS:tl} \ ARCH=${ARCH} \ ARCHNAME=${ARCHNAME} SUB_FILES= Custom.pm \ custom-convert.conf \ logitechmediaserver.conf SUB_LIST= PERL=${PERL} \ PORTNAME=${PORTNAME} \ SITE_PERL=${PREFIX}/${SITE_PERL_REL} \ SLIMDIR=${SLIMDIR} \ SLIMDBDIR=${SLIMDBDIR} \ SLIMUSER=${SLIMUSER} \ SLIMGROUP=${SLIMGROUP} \ CONFFILES="${CONFFILES}" SLIMDIR?= share/logitechmediaserver SLIMDBDIR?= /var/db/logitechmediaserver SLIMUSER?= slimserv SLIMGROUP?= ${SLIMUSER} .include .if ${ARCH} == "i386" ARCHNAME= i386-freebsd-thread-multi-64int PLIST_SUB+= I386_ONLY="" .else PLIST_SUB+= I386_ONLY="@comment " .endif .if ${ARCH} == "amd64" ARCHNAME= amd64-freebsd-thread-multi PLIST_SUB+= AMD64_ONLY="" .else PLIST_SUB+= AMD64_ONLY="@comment " .endif do-build: cd ${WRKSRC_vendor}/CPAN && ./buildme.sh ${CONTRIB_FLAGS} do-install: (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SLIMDIR}) (cd ${WRKSRC_vendor}/CPAN/build && \ ${COPYTREE_SHARE} arch ${STAGEDIR}${PREFIX}/${SLIMDIR}/CPAN) (cd ${WRKSRC_vendor}/CPAN/build/${PERL_VER}/lib/perl5 && \ ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/${SLIMDIR}/CPAN/arch/${PERL_VER}/) (cd ${STAGEDIR}${PREFIX}/${SLIMDIR} && \ ${FIND} . -name \*.orig -delete -o -name \*.bak -delete -o -name \*.packlist -delete && \ ${FIND} ./CPAN/arch/ ! -path './CPAN/arch/${PERL_VER}*' -delete && \ ${RM} -r -- Bin/* && \ ${RM} -- ${CONFFILES} ${DOCFILES}) (cd ${STAGEDIR}${PREFIX}/${SLIMDIR}/CPAN/arch/${PERL_VER} && \ ${RM} -r -- arm-linux-gnueabihf-thread-multi-64int && \ ${RM} -r -- aarch64-linux-thread-multi && \ ${RM} -r -- i386-linux-thread-multi-64int && \ ${RM} -r -- x86_64-linux-thread-multi) .for _CONF in ${CONFFILES} (cd ${WRKSRC} && ${INSTALL_DATA} ${_CONF} ${STAGEDIR}${PREFIX}/${SLIMDIR}/${_CONF}.sample) .endfor ${INSTALL_DATA} ${WRKDIR}/Custom.pm \ ${STAGEDIR}${PREFIX}/${SLIMDIR}/Slim/Utils/OS/Custom.pm ${INSTALL_DATA} ${WRKDIR}/custom-convert.conf \ ${STAGEDIR}${PREFIX}/${SLIMDIR}/custom-convert.conf @${MKDIR} ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d ${INSTALL_DATA} ${WRKDIR}/logitechmediaserver.conf \ ${STAGEDIR}${PREFIX}/etc/newsyslog.conf.d/ ${INSTALL_SCRIPT} ${WRKSRC}/Bin/dbish ${STAGEDIR}${PREFIX}/${SLIMDIR}/Bin/ @${LN} -s ${SLIMDBDIR}/cache ${STAGEDIR}${PREFIX}/${SLIMDIR}/Cache do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCFILES} ${STAGEDIR}${DOCSDIR}) .include diff --git a/audio/optimfrog/Makefile b/audio/optimfrog/Makefile index 06edee81fa95..8e58b58c568c 100644 --- a/audio/optimfrog/Makefile +++ b/audio/optimfrog/Makefile @@ -1,46 +1,46 @@ PORTNAME= optimfrog PORTVERSION= 5.100 CATEGORIES= audio MASTER_SITES= http://losslessaudio.org/Downloads/A1C0/${DISTVERSION:S/.//}/FreeBSD/ DISTNAME= # OptimFROG_FreeBSD_${ARCH}_${DISTVERSION:S/.//} MAINTAINER= ports@FreeBSD.org COMMENT?= Best-ratio lossless audio codec LICENSE= OptimFROG LICENSE_NAME= OptimFROG - License LICENSE_FILE= ${WRKSRC}/license.html #only available as html +# No fees may be collected for redistribution LICENSE_PERMS= dist-mirror pkg-mirror auto-accept RUN_DEPENDS+= ${LOCALBASE}/lib/compat/libstdc++.so.6:misc/compat9x CONFLICTS_INSTALL?= optimfrog-sse2-[0-9]* ONLY_FOR_ARCHS?= amd64 i386 USES= tar:txz -NO_CDROM= No fees may be collected for redistribution NO_BUILD= yes USE_LDCONFIG= yes OPTIONS_DEFINE_i386= SSE2 OPTIONS_DEFINE?= # SSE2_DESC= Use SSE2 instructions instead of x87 FPU .include .if ${ARCH} == "amd64" DISTNAME= OptimFROG_FreeBSD_x64_${DISTVERSION:S/.//} .else # ${ARCH} == "i386" . if ${PORT_OPTIONS:MSSE2} DISTNAME= OptimFROG_FreeBSD_x86_SSE2_${DISTVERSION:S/.//} . else DISTNAME= OptimFROG_FreeBSD_x86_${DISTVERSION:S/.//} . endif .endif do-install: @(cd ${WRKSRC} && ./install.sh -d "${STAGEDIR}" -p "${PREFIX}") .include diff --git a/benchmarks/netio/Makefile b/benchmarks/netio/Makefile index 17cb86a81eb1..c51492108aba 100644 --- a/benchmarks/netio/Makefile +++ b/benchmarks/netio/Makefile @@ -1,41 +1,42 @@ # Created by: arved PORTNAME= netio PORTVERSION= 1.33 CATEGORIES= benchmarks net MASTER_SITES= http://www.ars.de/ \ LOCAL/arved DISTNAME= netio133 MAINTAINER= arved@FreeBSD.org COMMENT= Network benchmark USES= dos2unix gmake zip -LICENSE_PERMS=no-pkg-mirror -RESTRICTED= Usage permitted for non-commercial purposes only -NO_CDROM= Sale for profit is not permitted +LICENSE= UNKNOWN +LICENSE_NAME= unknown +LICENSE_TEXT= Usage permitted for non-commercial purposes only. Sale for profit is not permitted. +LICENSE_PERMS= auto-accept DOS2UNIX_FILES= Makefile netio.c NO_WRKSUBDIR= yes PLIST_FILES= bin/netio CFLAGS+= -DUNIX -DSOCKLEN_T LIBS+= -pthread MAKE_ENV= OUT=-o OPTIONS_DEFINE= IPV6 IPV6_PLIST_FILES= bin/netio6 do-build: @(cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} O=.o CFLAGS="${CFLAGS}" ${MAKE_CMD} all) do-build-IPV6-on: @(cd ${WRKSRC} && \ ${MAKE_ENV} O=.6o X=6 CFLAGS="${CFLAGS} -DUSE_IPV6" ${MAKE_CMD} all) do-install: ${INSTALL_PROGRAM} ${WRKSRC}/netio ${STAGEDIR}${PREFIX}/bin do-install-IPV6-on: ${INSTALL_PROGRAM} ${WRKSRC}/netio6 ${STAGEDIR}${PREFIX}/bin .include diff --git a/benchmarks/ramspeed/Makefile b/benchmarks/ramspeed/Makefile index f35152e2f7d5..4739ac1128ab 100644 --- a/benchmarks/ramspeed/Makefile +++ b/benchmarks/ramspeed/Makefile @@ -1,29 +1,29 @@ PORTNAME= ramspeed PORTVERSION= 3.5.0 CATEGORIES= benchmarks MASTER_SITES= http://www.alasir.com/software/ramspeed/ DISTNAME= ramsmp-${PORTVERSION} MAINTAINER= mkamm@gmx.net COMMENT= Cache and memory benchmarking tool -NO_CDROM= do not sell for money +# do not sell for money LICENSE= ALASIR LICENSE_NAME= Alasir Licence LICENSE_FILE= ${WRKSRC}/LICENCE LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell PLIST_FILES= bin/ramspeed PORTDOCS= HISTORY README OPTIONS_DEFINE= DOCS do-build: cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} build.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ramsmp ${STAGEDIR}${PREFIX}/bin/ramspeed @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|g} ${STAGEDIR}${DOCSDIR} .include diff --git a/biology/fasta3/Makefile b/biology/fasta3/Makefile index 79f4c21e0c43..9c359e248184 100644 --- a/biology/fasta3/Makefile +++ b/biology/fasta3/Makefile @@ -1,75 +1,74 @@ # Created by: Johann Visagie PORTNAME= fasta3 PORTVERSION= 36.3.8 CATEGORIES= biology MASTER_SITES= http://faculty.virginia.edu/wrpearson/fasta/fasta36/ DISTNAME= fasta-${PORTVERSION} DIST_SUBDIR= fasta3/2014-01-29 MAINTAINER= wendell@bsd.com.br COMMENT= Collection of programs for searching DNA and protein databases LICENSE= Fasta LICENSE_NAME= Fasta program copyright W. Pearson and U.Virginia LICENSE_FILE= ${WRKSRC}/COPYRIGHT -LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +# May not be sold or incorporated into a commercial product +LICENSE_PERMS= dist-mirror pkg-mirror auto-accept OPTIONS_DEFINE= DOCS EXAMPLES -NO_CDROM= May not be sold or incorporated into a commercial product - WRKSRC= ${WRKDIR}/${DISTNAME} BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKEFILE= Makefile.freebsd MAKE_ENV= THR_LIBS="-pthread" XDIR="${STAGEDIR}${PREFIX}/bin" \ FASTA_HOST="$$(${UNAME} -n)" SUB_FILES= pkg-message PLIST_SUB= VER="${PORTVERSION:R:R}" MAN1_LINKS= fastf35.1 fasts35.1 fastm35.1 fastx35.1 fasty35.1 \ ggsearch35.1 lalign35.1 ssearch35.1 tfasta35.1 tfastf35.1 \ tfasts35.1 tfastx35.1 tfasty35.1 prfx35.1 prss35.1 MAN1_FILES= fasta36.1 fastf3.1 fasts3.1 prss3.1 map_db.1 ps_lav.1 DOC_FILES= README.versions \ fasta_func.doc readme.* fasta.defaults \ fasta.options fasta_versions.html changes*.html DATA= data/*.mat EXAMPLES= seq/*.aa seq/*.lc seq/*.seq seq/*.lib post-patch: @${CP} ${WRKSRC}/make/${MAKEFILE} ${BUILD_WRKSRC} @${RM} ${WRKSRC}/bin/README post-install: (cd ${WRKSRC}/bin && ${INSTALL_PROGRAM} * ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/conf && ${INSTALL_DATA} fastlibs \ ${STAGEDIR}${PREFIX}/etc/fastlibs.sample) @${MKDIR} ${STAGEDIR}${DATADIR} .for data in ${DATA} (cd ${WRKSRC} && ${INSTALL_DATA} ${data} ${STAGEDIR}${DATADIR}) .endfor .for manpage in ${MAN1_FILES} (cd ${WRKSRC}/doc && ${INSTALL_MAN} ${manpage} \ ${STAGEDIR}${MAN1PREFIX}/man/man1) .endfor .for links in ${MAN1_LINKS} (${LN} -sf fasta36.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/${links}) .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in COPYRIGHT FASTA_LIST README (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor .for docfile in ${DOC_FILES} (cd ${WRKSRC}/doc && ${INSTALL_DATA} ${docfile} ${STAGEDIR}${DOCSDIR}) .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for ex in ${EXAMPLES} (cd ${WRKSRC} && ${INSTALL_DATA} ${ex} ${STAGEDIR}${EXAMPLESDIR}) .endfor .include diff --git a/biology/linux-foldingathome/Makefile b/biology/linux-foldingathome/Makefile index 75d3956dc8fa..09a06fabcccb 100644 --- a/biology/linux-foldingathome/Makefile +++ b/biology/linux-foldingathome/Makefile @@ -1,65 +1,64 @@ # Created by: Yonatan PORTNAME= foldingathome DISTVERSION= 7.6.13 CATEGORIES= biology linux MASTER_SITES= https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v${DISTVERSION:R}/ PKGNAMEPREFIX= linux- DISTNAME= fahclient-${DISTVERSION}-1 EXTRACT_SUFX= .x86_64.rpm MAINTAINER= 0mp@FreeBSD.org COMMENT= Folding@home Client +# Distribution without permission is prohibited LICENSE= FAHSL LICENSE_NAME= Folding@home Software License LICENSE_FILE= ${WRKSRC}/usr/share/doc/fahclient/copyright LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \ auto-accept -LEGAL_TEXT= Distribution without permission is prohibited - ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= The i386 client has not been ported USES= dos2unix linux DOS2UNIX_FILES= usr/share/doc/fahclient/* USE_RC_SUBR= fahclient ETCDIR= ${PREFIX}/etc/fahclient DOCSDIR= ${PREFIX}/share/doc/fahclient NO_BUILD= yes SUB_FILES= pkg-message SUB_LIST= FAHCLIENT_CONFIG_XML=${_FAHCLIENT_CONFIG_XML} \ FAHCLIENT_PROGRAM=${_FAHCLIENT_PROGRAM} \ FAHCLIENT_WORK_DIR=${_FAHCLIENT_WORK_DIR} NO_WRKSUBDIR= yes USERS= fahclient GROUPS= fahclient PLIST_SUB= FAHCLIENT_WORK_DIR=${_FAHCLIENT_WORK_DIR} PORTDOCS= CHANGELOG.md README.md OPTIONS_DEFINE= DOCS _FAHCLIENT_CONFIG_XML= ${ETCDIR}/config.xml _FAHCLIENT_WORK_DIR= /var/db/fahclient _FAHCLIENT_PROGRAM= ${PREFIX}/bin/FAHClient do-install: ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/FAHClient ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/usr/bin/FAHCoreWrapper ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${ETCDIR} ${INSTALL_DATA} ${WRKSRC}/usr/share/doc/fahclient/sample-config.xml \ ${STAGEDIR}${_FAHCLIENT_CONFIG_XML}.sample @${MKDIR} ${STAGEDIR}${_FAHCLIENT_WORK_DIR} post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/usr/share/doc/fahclient/|} \ ${STAGEDIR}${DOCSDIR} .include diff --git a/biology/molden/Makefile b/biology/molden/Makefile index c1f79a1a449c..089279889f16 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -1,83 +1,82 @@ # Created by: Ryo MIYAMOTO PORTNAME= molden DISTVERSION= 5.8.2 PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= biology MASTER_SITES= ftp://ftp.cmbi.umcn.nl/pub/molgraph/molden/ DISTNAME= ${PORTNAME}${PORTVERSION} MAINTAINER= jmd@FreeBSD.org COMMENT= Display molecular orbitals and electron densities in 2D and 3D LICENSE= Molden LICENSE_NAME= Molden LICENSE_FILE= ${WRKSRC}/CopyRight +# free for academic, non profit usage; do not re-distribute source and executable. LICENSE_PERMS= auto-accept -RESTRICTED= free for academic, non profit usage; do not re-distribute source and executable. - WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:R} USES= fortran gl gmake xorg USE_XORG= x11 USE_GL= gl glu MAKEFILE= makefile MAKE_JOBS_UNSAFE=yes CFLAGS+= -D${OPSYS:tu} -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0 \ -I${LOCALBASE}/include -Wno-return-type PORTDOCS= * PORTDATA= * PLIST_FILES= bin/ambfor bin/gmolden bin/molden bin/surf PORTSCOUT= limit:^5\.0\. OPTIONS_DEFINE= DATA DOCS OPTIONS_DEFAULT= DATA post-patch: @${REINPLACE_CMD} -e \ 's|^CC |#CC | ; \ s|^FC |#FC | ; \ s|/usr/X11R6|${LOCALBASE}| ; \ s|$$(LIBS)|$$(LIBS) $$(LDFLAGS)| ; \ s|-lXmu|| ; \ /depend/s|^|#|' ${WRKSRC}/makefile post-configure: @${ECHO_MSG} "********************" @${ECHO_MSG} "** If you want to use a larger MOLDEN," @${ECHO_MSG} "** edit change_parameter.sh and run it," @${ECHO_MSG} "** before \'make build\'." @${ECHO_MSG} "********************" do-install: .for i in molden gmolden (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin) .endfor .for i in ambfor surf (cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}/${PREFIX}/bin) .endfor do-install-DATA-on: @${MKDIR} ${STAGEDIR}${DATADIR}/test (cd ${WRKSRC}/test && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/test) ${MKDIR} ${STAGEDIR}${DATADIR}/utils (cd ${WRKSRC}/utils && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/utils) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include .if ${GCC_DEFAULT} >= 10 # workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)). # in theory, this should set FCFLAGS, but the port does not conform FFLAGS+= -fallow-argument-mismatch .endif .include diff --git a/biology/ucsc-userapps/Makefile b/biology/ucsc-userapps/Makefile index 7a3244c70fcb..00c5fcf8e33a 100644 --- a/biology/ucsc-userapps/Makefile +++ b/biology/ucsc-userapps/Makefile @@ -1,76 +1,74 @@ # Created by: J. Bacon PORTNAME= ucsc-userapps DISTVERSION= 413 CATEGORIES= biology perl5 python MASTER_SITES= http://hgdownload.cse.ucsc.edu/admin/exe/userApps.archive/ DISTNAME= userApps.v${PORTVERSION}.src MAINTAINER= jwb@FreeBSD.org COMMENT= Command line tools from the UCSC Genome Browser project LICENSE= UCSC-GB LICENSE_NAME= UCSC Genome Browser License LICENSE_TEXT= To the best of our knowledge, all of the tools installed by\ this port are freely available. However, a license is\ required for commercial download and installation of some\ binaries and source code in the UCSC Genome Browser\ distribution.\n\nContact UCSC directly if you are using these\ tools for commercial purposes.\n\nSee\ https://genome.ucsc.edu/license/ for full terms. LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= _mm_popcnt_u64 BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libiconv.so:converters/libiconv \ libmysqlclient.so:databases/mysql57-client \ libpng.so:graphics/png RUN_DEPENDS= bash:shells/bash USES= gmake localbase:ldflags shebangfix perl5 python:3.6+ ssl tar:tgz -RESTRICTED= Redistribution is limited, see license - SHEBANG_FILES= kent/src/checkUmask.sh \ kent/src/utils/bigHeat \ kent/src/utils/chromToUcsc/chromToUcsc \ kent/src/utils/tdbRename \ kent/src/utils/tdbSort \ kent/src/utils/trackDbIndexBb/trackDbIndexBb \ kent/src/utils/ucscApiClient \ kent/src/utils/webSync WRKSRC= ${WRKDIR}/userApps CFLAGS+= -fcommon MAKEFILE= [Mm]akefile MAKE_ENV= BINDIR=${WRKSRC}/bin SUB_FILES= ucsc-shell # Build only non-commercial tools do-build: @${MV} ${WRKSRC}/kent/src/inc/uuid.h ${WRKSRC}/kent/src/inc/my_uuid.h @${MKDIR} ${WRKSRC}/bin @(cd ${WRKSRC}/kent/src/lib && ${DO_MAKE_BUILD}) @(cd ${WRKSRC}/kent/src/htslib && ${DO_MAKE_BUILD}) @(cd ${WRKSRC}/kent/src/jkOwnLib && ${DO_MAKE_BUILD}) @(cd ${WRKSRC}/kent/src/hg/lib && ${DO_MAKE_BUILD}) @(cd ${WRKSRC}/kent/src/utils && ${DO_MAKE_BUILD}) do-install: @${MKDIR} ${WRKSRC}/scripts ${WRKSRC}/binaries @${CP} $$(file ${WRKSRC}/bin/* | fgrep ELF | cut -d : -f 1) \ ${WRKSRC}/binaries @${CP} $$(file ${WRKSRC}/bin/* | fgrep -v ELF | cut -d : -f 1) \ ${WRKSRC}/scripts @${MKDIR} ${STAGEDIR}${PREFIX}/userapps/bin ${INSTALL_PROGRAM} ${WRKSRC}/binaries/* \ ${STAGEDIR}${PREFIX}/userapps/bin ${INSTALL_SCRIPT} ${WRKSRC}/scripts/* \ ${STAGEDIR}${PREFIX}/userapps/bin ${INSTALL_SCRIPT} ${WRKDIR}/ucsc-shell \ ${STAGEDIR}${PREFIX}/bin .include diff --git a/cad/linux-eagle5/Makefile b/cad/linux-eagle5/Makefile index 947e3fb3f870..4edf54740b9b 100644 --- a/cad/linux-eagle5/Makefile +++ b/cad/linux-eagle5/Makefile @@ -1,51 +1,50 @@ # Created by: Michael Durian PORTNAME= eagle5 PORTVERSION= ${EAGLEVERSION} PORTREVISION= 6 CATEGORIES= cad linux MASTER_SITES= ftp://ftp.cadsoft.de/eagle/program/${EAGLEBASEVERSION}/ PKGNAMEPREFIX= linux- DISTNAME= eagle-lin-${EAGLEVERSION} EXTRACT_SUFX= .run MAINTAINER= riggs@FreeBSD.org COMMENT= Easy to use, yet powerful tool for designing printed circuit boards LICENSE= Eagle LICENSE_NAME= Eagle End User License Agreement LICENSE_FILE= ${WRKSRC}/doc/license_en.txt +# Usage permitted for non-commercial purposes only +# Sale for profit is not permitted +# Copying the software is only allowed for backup by an individual licensee LICENSE_PERMS= auto-accept ONLY_FOR_ARCHS= i386 amd64 WRKSRC= ${WRKDIR}/${DISTNAME:S/lin-//} EXTRACT_CMD= ${SED} EXTRACT_BEFORE_ARGS= -e '1,/^__DATA__$$/d' EXTRACT_AFTER_ARGS= | ${BZCAT} -c 2>/dev/null | ${TAR} -xf - -RESTRICTED= Usage permitted for non-commercial purposes only -NO_CDROM= Sale for profit is not permitted -NO_PACKAGE= Copying the software is only allowed for backup by an individual licensee - EAGLEBASEVERSION= 5.12 EAGLEBUGFIX= 0 EAGLEVERSION= ${EAGLEBASEVERSION}.${EAGLEBUGFIX} USES= linux USE_LINUX= xorglibs jpeg png NO_BUILD= yes SUB_FILES= pkg-deinstall pkg-message DESKTOP_ENTRIES= "Eagle5" "Tool for designing printed circuit boards" \ ${DATADIR}/ulp/eagle.bmp \ "eagle" "Development;Electronics;Engineering;" false do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}) ${INSTALL_MAN} ${STAGEDIR}${DATADIR}/doc/eagle.1 ${STAGEDIR}${PREFIX}/man/man1/eagle.1 ${SED} -e "s:%%DATADIR%%:${DATADIR}:g" ${FILESDIR}/eagle.sh > ${STAGEDIR}${PREFIX}/bin/eagle .include diff --git a/comms/mbelib/Makefile b/comms/mbelib/Makefile index 9259b3ee13d2..2a5fc2e8aa03 100644 --- a/comms/mbelib/Makefile +++ b/comms/mbelib/Makefile @@ -1,24 +1,27 @@ PORTNAME= mbelib DISTVERSIONPREFIX= v DISTVERSION= 1.3.0 CATEGORIES= comms hamradio MAINTAINER= takefu@airport.fm COMMENT= P25 Phase 1 and ProVoice vocoder -LICENSE= ISCL -LICENSE_FILE= ${WRKSRC}/COPYRIGHT +LICENSE= ISCL UNKNOWN +LICENSE_COMB= multi +LICENSE_NAME_UNKNOWN= Unknwon licene +LICENSE_FILE_ISCL= ${WRKSRC}/COPYRIGHT +LICENSE_FILE_UNKNOWN= ${WRKSRC}/README.md +# Provided for educational purposes only +LICENSE_PERMS_UNKNOWN= auto-accept USES= cmake USE_GITHUB= yes GH_ACCOUNT= szechyjs USE_LDCONFIG= yes CMAKE_ON= DISABLE_TEST -RESTRICTED= Provided for educational purposes only - PLIST_FILES= include/mbelib.h lib/libmbe.a lib/libmbe.so.1.0 \ lib/libmbe.so.1 lib/libmbe.so .include diff --git a/devel/astah-community/Makefile b/devel/astah-community/Makefile index d1c63f595551..df9e8b0e1439 100644 --- a/devel/astah-community/Makefile +++ b/devel/astah-community/Makefile @@ -1,85 +1,83 @@ # Created by: Yoshihiko Sarumaru PORTNAME= astah PORTVERSION= 6.9.0 PORTREVISION= 1 CATEGORIES= devel java MASTER_SITES= # PKGNAMESUFFIX= -community DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION:S!.!_!g}-${REVISION} MAINTAINER= tota@FreeBSD.org COMMENT= Java/UML Object-Oriented Design Tool LICENSE= EULA LICENSE_NAME= End User License Agreement -LICENSE_TEXT= ${RESTRICTED} +LICENSE_TEXT= License restrictions -- See http://astah.net/faq/community/enduser-license-agreement LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept -RESTRICTED= License restrictions -- See http://astah.net/faq/community/enduser-license-agreement - USES= zip USE_JAVA= yes REVISION= b4c6e9 WRKSRC= ${WRKDIR}/${PORTNAME}${PKGNAMESUFFIX:S!-!_!} PORTDOCS= API_sample_program_license_agreement.txt \ API_sample_program_license_agreement_ja.txt \ CommandRunner.html CommandRunner_ja.html \ ProductInformation.txt \ api PORTEXAMPLES= astah-key.properties_org Sample.asta PORTDATA= astah-community.jar astah-api.jar astah-gui_en.properties_org \ astah.ico astah-doc.ico \ lib template NO_BUILD= yes PLIST_FILES= bin/astah bin/astah-command.sh DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX} EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}${PKGNAMESUFFIX} DATADIR= ${JAVASHAREDIR}/${PORTNAME}${PKGNAMESUFFIX} REINPLACE_ARGS= -i "" OPTIONS_DEFINE= DOCS EXAMPLES .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) DOWNLOAD_URL= http://members.change-vision.com/files/${PORTNAME}${PKGNAMESUFFIX:S!-!_!}/${PORTVERSION:S!.!_!g}/${DISTFILES} IGNORE= needs you to fetch manually the distribution file\ from ${DOWNLOAD_URL}, \ then place it in ${DISTDIR} and run make again .endif post-patch: .for script in ${PLIST_FILES:S!bin/!!} @${REINPLACE_CMD} -e "s!%%JAVA_HOME%%!${JAVA_HOME}!g; \ s!%%DATADIR%%!${DATADIR}!" \ ${WRKSRC}/${script} .endfor .if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} 's/png\\/png\//' ${WRKSRC}/api/en/doc/astahAPI_reference.html .endif do-install: .for script in ${PLIST_FILES:S!bin/!!} ${INSTALL_SCRIPT} ${WRKSRC}/${script} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}) @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in ${PORTDOCS:Napi} ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR}/api (cd ${WRKSRC}/api && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}/api) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for examplefile in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${examplefile} ${STAGEDIR}${EXAMPLESDIR} .endfor .include diff --git a/devel/raknet/Makefile b/devel/raknet/Makefile index 92cda60a5b6d..f69fe6cd21b1 100644 --- a/devel/raknet/Makefile +++ b/devel/raknet/Makefile @@ -1,73 +1,71 @@ # Created by: Andrew Baznikin PORTNAME= raknet PORTVERSION= 3.9.2 PORTREVISION= 10 PORTEPOCH= 1 CATEGORIES= devel net MASTER_SITES= http://www.jenkinssoftware.com/raknet/downloads/ \ LOCAL/martymac DISTNAME= RakNet-3.902 MAINTAINER= martymac@FreeBSD.org COMMENT= Networking API that provides reliable UDP primarily for online games # Original license is Indy license, but FreeBSD has been granted special # authorization to provide RakNet 3.x (*only*, not 4.x) under the terms of # the GPL v3 license. This agreement has been received by the MAINTAINER # through a private mail exchange on 2012-03-20 (see files/SpecialAuth.mbox). LICENSE= GPLv3 SpecialAuth LICENSE_COMB= dual LICENSE_NAME_SpecialAuth= Special authorization from developer LICENSE_FILE_SpecialAuth= ${FILESDIR}/SpecialAuth.mbox LICENSE_PERMS_SpecialAuth= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept NOT_FOR_ARCHS= aarch64 mips mips64 NOT_FOR_ARCHS_REASON= fails to compile: error: Add your platform to the list -LEGAL_TEXT= Special authorization granted to distribute version 3.x under GPLv3 - NO_WRKSUBDIR= yes USES= dos2unix cmake:insource zip USE_LDCONFIG= yes USE_GCC= any DOS2UNIX_REGEX= .*\.(cpp|h|txt) # XXX Do not provide Samples for the following reason : # - potential licensing problems # XXX Disable build of DependentExtensions for the following reasons : # - potential licensing problems # - only static libraries are built (shared libraries are no more provided, e.g. # for autopatcher or rakvoice) # - no install target is provided, which prevents us to determine what files # have to be provided by the port to have working extensions CMAKE_ARGS+= -DDISABLEDEPENDENCIES:BOOL=ON OPTIONS_DEFINE= DOCS post-patch: @${FIND} ${WRKSRC} -type f -a '(' -name '*.cpp' -o -name '*.h' ')' -print0 \ | ${XARGS} -0 -x -n10 \ ${REINPLACE_CMD} -e 's|Usage of RakNet is subject to the appropriate license agreement|Raknet is available under the terms of the GPLv3 license, see ${_LICENSE_DIR}/GPLv3|' pre-install: @${FIND} ${WRKSRC} -type f -name '*.bak' -print0 \ | ${XARGS} -0 -x -n10 ${RM} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/raknet (cd ${WRKSRC}/Source/ && ${COPYTREE_SHARE} \*.h ${STAGEDIR}${PREFIX}/include/raknet) @${MKDIR} ${STAGEDIR}${PREFIX}/lib ${INSTALL_LIB} ${WRKSRC}/Lib/DLL/libRakNetDynamic.so \ ${STAGEDIR}${PREFIX}/lib/libraknet.so.0 ${LN} -sf ${PREFIX}/lib/libraknet.so.0 ${STAGEDIR}${PREFIX}/lib/libraknet.so ${INSTALL_DATA} ${WRKSRC}/Lib/LibStatic/libRakNetStatic.a \ ${STAGEDIR}${PREFIX}/lib/libraknet.a @${MKDIR} ${STAGEDIR}${DOCSDIR}/Help (cd ${WRKSRC}/Help/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/Help) ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/devel/simian/Makefile b/devel/simian/Makefile index 72e469603156..286ee4934520 100644 --- a/devel/simian/Makefile +++ b/devel/simian/Makefile @@ -1,92 +1,91 @@ # Created by: andreas@syndrom23.de PORTNAME= simian PORTVERSION= 2.5.10 CATEGORIES= devel java MASTER_SITES= http://www.harukizaemon.com/simian/ MAINTAINER= tota@FreeBSD.org COMMENT= Similarity analyser for source and other text files LICENSE= SIMIAN LICENSE_NAME= SIMIAN SOFTWARE LICENSE LICENSE_FILE= ${WRKSRC}/license.pdf +# Have to agree to license before download LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept NO_BUILD= yes NO_WRKSUBDIR= yes -RESTRICTED= Have to agree to license before download - SUB_FILES= simian SUB_LIST+= VERSION=${PORTVERSION} PLIST_SUB+= VERSION=${PORTVERSION} PORTDOCS= changes.html features.html \ get_dotnet.png get_it_now.html \ get_java_blue-button.gif index.html installation.html \ simian.dtd simian.jpg simian.xsl \ javadoc OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= LANG OPTIONS_SINGLE_LANG= JAVA MONO OPTIONS_DEFAULT= JAVA .include .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes PLIST_SUB+= JAVA="" SUB_LIST+= JAVA="" .else PLIST_SUB+= JAVA="@comment " SUB_LIST+= JAVA="@comment " .endif .if ${PORT_OPTIONS:MMONO} RUN_DEPENDS+= mono:lang/mono PLIST_SUB+= MONO="" SUB_LIST+= MONO="" .else PLIST_SUB+= MONO="@comment " SUB_LIST+= MONO="@comment " .endif pre-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) .if !defined(PACKAGE_BUILDING) && (!defined(SIMIAN_AGREE_LICENSE) || ${SIMIAN_AGREE_LICENSE} != "yes") @${ECHO} By downloading this version, you agree to the terms @${ECHO} and conditions set out in the license agreement and @${ECHO} you agree that, should you wish to continue using @${ECHO} Simian for other than open source projects, non- @${ECHO} commercial projects or evaluation purposes for a @${ECHO} period greater than 15 days, you will purchase a @${ECHO} license as described following URL. @${ECHO} @${ECHO} http://www.harukizaemon.com/simian/license.pdf @${ECHO} @${ECHO} Build with SIMIAN_AGREE_LICENSE=yes to continue. @${ECHO} @${FALSE} .endif .endif do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/simian.xsl ${STAGEDIR}${PREFIX}/share/xsl/${PORTNAME} @${MKDIR} ${STAGEDIR}${PREFIX}/simian/bin ${INSTALL_SCRIPT} ${WRKDIR}/simian ${STAGEDIR}${PREFIX}/bin/simian do-install-JAVA-on: ${INSTALL_DATA} ${WRKSRC}/bin/simian-${PORTVERSION}.jar ${STAGEDIR}${PREFIX}/simian/bin do-install-MONO-on: ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.dll ${STAGEDIR}${PREFIX}/simian/bin ${INSTALL_SCRIPT} ${WRKSRC}/bin/simian-${PORTVERSION}.exe ${STAGEDIR}${PREFIX}/simian/bin do-install-DOCS-on: cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR} .include diff --git a/emulators/atari800/Makefile b/emulators/atari800/Makefile index 3a32b4582e83..bfc5dd669d11 100644 --- a/emulators/atari800/Makefile +++ b/emulators/atari800/Makefile @@ -1,94 +1,96 @@ # Created by: Joel Sutton PORTNAME= atari800 PORTVERSION= 3.1.0 PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= ftp://ftpmirror.uk/freebsd-ports/atari800/ \ SF/${PORTNAME}/ROM/Original%20XL%20ROM:x \ ftp://ftpmirror.uk/freebsd-ports/atari800/:x DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xf25.zip:x DIST_SUBDIR= ${PORTNAME} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Atari 8-bit computer emulator -LICENSE= GPLv2 +LICENSE= GPLv2 ROM +LICENSE_COMB= multi +LICENSE_NAME_ROM= Copyrighted ROMs +LICENSE_TEXT_ROM= xf25 contains copyright ROMs and cannot be distributed. +LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= ${UNZIP_CMD}:archivers/unzip LIB_DEPENDS= libpng.so:graphics/png -RESTRICTED= xf25 contains copyright ROMs and cannot be distributed. - WRKSRC= ${WRKDIR}/${DISTNAME}/src USES= gmake GNU_CONFIGURE= yes NO_OPTIONS_SORT=yes OPTIONS_DEFINE= DOCS SHM SDL SERIOSOUND CLIPSOUND PAGEDATTRIB BUFFEREDLOG VERYSLOW OPTIONS_DEFAULT= SHM SHM_DESC= X11 frontend with shared memory extensions SDL_DESC= SDL frontend SERIOSOUND_DESC=Serial in/out sound CLIPSOUND_DESC= Sound clipping PAGEDATTRIB_DESC=Page-based attribute array BUFFEREDLOG_DESC=Buffered debug output (until graphics mode switches back to text mode) VERYSLOW_DESC= Very slow computer support CFLAGS+= -I${LOCALBASE}/include/libpng LDFLAGS+= -L${LOCALBASE}/lib ATARI_XF= ataribas.rom atariosb.rom atarixl.rom demos1.xfd \ demos2.xfd dos25.xfd mydos45d.atr SERIOSOUND_CONFIGURE_ON= --enable-seriosound CLIPSOUND_CONFIGURE_ON= --enable-cripsound PAGEDATTRIB_CONFIGURE_ON= --enable-pagedattrib BUFFEREDLOG_CONFIGURE_ON= --enable-bufferedlog VERYSLOW_CONFIGURE_ON= --enable-veryslow .include .if ${PORT_OPTIONS:MSDL} PKGNAMESUFFIX= -sdl USES+= sdl USE_SDL= sdl CONFIGURE_ARGS+= --target=sdl .else USES+= xorg USE_XORG= x11 xext .if ${PORT_OPTIONS:MSHM} CONFIGURE_ARGS+= --target=x11-shm .else CONFIGURE_ARGS+= --target=x11 .endif .endif post-patch: @${CP} ${FILESDIR}/atari800.cfg ${WRKSRC} @${REINPLACE_CMD} -e 's|GUMBY|${DATADIR}|g' ${WRKSRC}/atari800.cfg @${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/cfg.c @${REINPLACE_CMD} -e 's|/etc|${DATADIR}|g' ${WRKSRC}/atari.c @${REINPLACE_CMD} -e 's|sdl-config|$$SDL_CONFIG|g' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} pre-configure: @${UNZIP_CMD} -q -L -o ${DISTDIR}/${DIST_SUBDIR}/xf25.zip ${ATARI_XF} -d ${WRKSRC} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/atari800 ${STAGEDIR}${PREFIX}/bin/atari800 ${INSTALL_MAN} ${WRKSRC}/atari800.man ${STAGEDIR}${MANPREFIX}/man/man1/atari800.1 @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/atari800.cfg ${STAGEDIR}${DATADIR} .for rom in ${ATARI_XF} ${INSTALL_DATA} ${WRKSRC}/${rom} ${STAGEDIR}${DATADIR} .endfor @${MKDIR} ${STAGEDIR}${DOCSDIR} .for docfile in BUGS CHANGES.OLD CREDITS ChangeLog FAQ README TODO USAGE ${INSTALL_DATA} ${WRKSRC}/../DOC/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/emulators/fuse-roms/Makefile b/emulators/fuse-roms/Makefile index f566f679b1fd..9fb348b13ab9 100644 --- a/emulators/fuse-roms/Makefile +++ b/emulators/fuse-roms/Makefile @@ -1,47 +1,46 @@ # Created by: Vladimir Kondratiev PORTNAME= fuse-roms PORTVERSION= 0.9.0 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= ftp://ftp.pbone.net/mirror/rpmfusion.org/${FC_SUBDIR}/:1 \ http://zxspectrum.it.omegahg.com/rom/:2 DISTFILES= fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm:1 \ Opus-22.rom:2 EXTRACT_ONLY= fuse-emulator-roms-${PORTVERSION}-${FCREV}.fc${FCVER}.noarch.rpm MAINTAINER= rene@FreeBSD.org COMMENT= Spectrum ROM files, for use with the Fuse emulator LICENSE= NONE +# No explicit permission to redistribute FCREV= 14 FCVER= 33 FC_SUBDIR= nonfree/fedora/releases/${FCVER}/Everything/x86_64/os/Packages/f NO_ARCH= yes NO_BUILD= yes DATADIR= ${PREFIX}/share/fuse ROMS= 128p-0.rom 128p-1.rom 256s-0.rom 256s-1.rom 256s-2.rom \ 256s-3.rom gluck.rom if1-1.rom if1-2.rom opus.rom trdos.rom PLIST_FILES= ${ROMS:S|^|${DATADIR_REL}/|} -RESTRICTED= No explicit permission to redistribute - OPTIONS_DEFINE= DOCS DOCS_PLIST_FILES=${DOCSDIR_REL}/rom-distribution.txt post-extract: ${CP} ${DISTDIR}/Opus-22.rom ${WRKDIR}/usr/share/fuse/opus.rom do-install: ${MKDIR} ${STAGEDIR}${DATADIR} (cd ${WRKDIR}/usr/share/fuse && \ ${INSTALL_DATA} ${ROMS} ${STAGEDIR}${DATADIR}) do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKDIR}/usr/share/doc/fuse-emulator-roms && \ ${INSTALL_DATA} rom-distribution.txt ${STAGEDIR}${DOCSDIR}) .include diff --git a/emulators/snes9x-gtk/Makefile b/emulators/snes9x-gtk/Makefile index 197ce7af1de0..2461d066fe37 100644 --- a/emulators/snes9x-gtk/Makefile +++ b/emulators/snes9x-gtk/Makefile @@ -1,92 +1,92 @@ # Created by: okeeblow PORTNAME= snes9x PORTVERSION= 1.54.1 PORTREVISION= 6 CATEGORIES= emulators PKGNAMESUFFIX= -gtk MAINTAINER= root@cooltrainer.org COMMENT= Super Nintendo Entertainment System (SNES) Emulator +# Commercial users must seek permission from copyright holders. LICENSE= Snes9x LICENSE_NAME= Snes9x License LICENSE_FILE= ${WRKSRC}/../docs/snes9x-license.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libpng.so:graphics/png USE_GITHUB= yes GH_ACCOUNT= snes9xgit USES= autoreconf compiler:c11 desktop-file-utils gettext gmake gnome \ localbase perl5 pkgconfig sdl tar:bzip2 xorg USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libxml2 USE_SDL= sdl2 USE_XORG= x11 xext GNU_CONFIGURE= yes LDFLAGS+= -Wl,--as-needed PATCH_WRKSRC= ${WRKSRC}/.. WRKSRC_SUBDIR= gtk -NO_CDROM= Commercial users must seek permission from copyright holders. OPTIONS_DEFINE= DEBUG JMA NETPLAY OPTIONS_GROUP= SOUND VIDEO OPTIONS_GROUP_SOUND= ALSA PORTAUDIO PULSEAUDIO OPTIONS_GROUP_VIDEO= OPENGL XRANDR XVIDEO OPTIONS_DEFAULT= JMA NETPLAY XVIDEO XRANDR DEBUG_CONFIGURE_WITH= debug JMA_DESC= JMA archive decompression support JMA_CONFIGURE_WITH= jma-decomp NETPLAY_DESC= Network support NETPLAY_CONFIGURE_WITH= netplay OPENGL_CONFIGURE_WITH= opengl OPENGL_USES= gl OPENGL_USE= GL=gl,glu XRANDR_CONFIGURE_WITH= xrandr XRANDR_USE= XORG=xrandr XVIDEO_CONFIGURE_WITH= xv XVIDEO_USE= XORG=xv ALSA_CONFIGURE_WITH= alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib ALSA_USES= compiler:c++11-lang PORTAUDIO_CONFIGURE_WITH= portaudio PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio PULSEAUDIO_CONFIGURE_WITH= pulseaudio PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio PLIST_FILES= bin/snes9x-gtk \ share/pixmaps/snes9x.svg \ share/applications/snes9x.desktop .include .if exists(/usr/lib/libusbhid.a) CONFIGURE_ARGS+= --with-joystick .else CONFIGURE_ARGS+= --without-joystick .endif post-patch: @${REINPLACE_CMD} -e 's|sdl|sdl2|g' -e 's|-ldl||g' \ ${WRKSRC}/configure.ac do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${PKGNAMESUFFIX} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} ${INSTALL_DATA} ${WRKSRC}/data/snes9x.svg \ ${STAGEDIR}${PREFIX}/share/pixmaps ${INSTALL_DATA} ${WRKSRC}/data/snes9x.desktop \ ${STAGEDIR}${PREFIX}/share/applications .include diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile index 78964aa6b502..7679dc13e0b8 100644 --- a/emulators/stonx/Makefile +++ b/emulators/stonx/Makefile @@ -1,71 +1,73 @@ # Created by: Tobias Reifenberger PORTNAME= stonx PORTVERSION= 0.6.7e.6 PORTREVISION= 3 CATEGORIES= emulators MASTER_SITES= SF/stonx/stonx/0.6.7.6 DISTNAME= STonX-0.6.7.6 MAINTAINER= dinoex@FreeBSD.org COMMENT= AtariST emulator -LICENSE= GPLv2+ +LICENSE= GPLv2+ ROM +LICENSE_COMB= multi +LICENSE_NAME_ROM= Atari ROM +LICENSE_TEXT_ROM= Contains ROM (C) by Atari +LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= bdftopcf:x11-fonts/bdftopcf \ gccmakedep:devel/gccmakedep \ mkfontscale:x11-fonts/mkfontscale \ ${LOCALBASE}/share/fonts/misc/10x20-ISO8859-1.pcf.gz:x11-fonts/font-misc-misc -RESTRICTED= Contains ROM (C) by Atari - TOSIMG?= tos.img USES= fonts xorg FONTNAME= misc USE_XORG= x11 sm ice xext xorgproto HAS_CONFIGURE= yes CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib ALL_TARGET= all fnttobdf tosfonts fonts BINDIR= ${PREFIX}/bin DATA= atari/bench1.pas atari/bench1.prg ETCFILES= keysyms-alternative keysyms-german keysyms-spanish DOCS= ../COPYING AUTHORS DEBUGGING INSTALL README RELEASE_NOTES \ TOS-VERSIONS FONTS= System0-iso.pcf System0.pcf System1-iso.pcf System1.pcf \ System2-iso.pcf System2.pcf OPTIONS_DEFINE= DOCS EXAMPLES .include pre-build: ${CP} ${DISTDIR}/${TOSIMG} ${WRKSRC}/tos.img post-install: .for f in ${ETCFILES} ${INSTALL_DATA} ${WRKSRC}/etc/$f ${STAGEDIR}${ETCDIR}/ .endfor @${ECHO_MSG} "===> Installing fonts" ${MKDIR} ${STAGEDIR}${FONTSDIR} .for f in ${FONTS} ${INSTALL_DATA} ${WRKSRC}/data/$f ${STAGEDIR}${FONTSDIR}/ ${GZIP_CMD} ${STAGEDIR}${FONTSDIR}/$f .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}/ post-install-EXAMPLES-on: ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${DATA:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}/ .if !exists(${DISTDIR}/${TOSIMG}) IGNORE= please get a ROM dump from your AtariST and save it as\ "${TOSIMG}" in "${DISTDIR}" manually, and then make again .endif .include diff --git a/emulators/vice/Makefile b/emulators/vice/Makefile index ee8c73e06614..5c4e6d803ad2 100644 --- a/emulators/vice/Makefile +++ b/emulators/vice/Makefile @@ -1,103 +1,106 @@ # Created by: dchapes@ddm.on.ca PORTNAME= vice PORTVERSION= 3.5 PORTREVISION= 0 CATEGORIES= emulators MASTER_SITES= SF/vice-emu/releases MAINTAINER= dinoex@FreeBSD.org COMMENT= Emulator for Commodore C64, C128, VIC20, PET, and CBM-II -LICENSE= GPLv2 +LICENSE= GPLv2 ROM +LICENSE_COMB= multi +LICENSE_NAME_ROM= Commodore ROMs +LICENSE_TEXT_ROM= ROMs are copyrighted by Commodore Business Machines +LICENSE_PERMS_ROM= auto-accept BUILD_DEPENDS= xa65:devel/xa65 \ xdg-open:devel/xdg-utils LIB_DEPENDS= libpng.so:graphics/png \ libgif.so:graphics/giflib \ libportaudio.so:audio/portaudio \ libmp3lame.so:audio/lame \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libavcodec.so:multimedia/ffmpeg \ libFLAC.so:audio/flac \ libpci.so:devel/libpci \ libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libpcre2-8.so:devel/pcre2 \ libgnutls.so:security/gnutls -RESTRICTED= ROMs are copyrighted by Commodore Business Machines USES= compiler:c++11-lang pkgconfig makeinfo localbase:ldflags \ gmake iconv:wchar_t jpeg readline gettext xorg USE_XORG= xpm ice sm xext xv xt x11 xmu xxf86vm USE_XORG+= xrender xinerama xi xrandr xcursor xcomposite xdamage xfixes HAS_CONFIGURE= yes MAKE_ENV+= MAKEINFOFLAGS="--no-split" \ XDG_DATA_DIRS=${STAGEDIR}/${PREFIX}/share CFLAGS+= -fcommon CONFIGURE_ARGS+= --enable-ipv6 \ --enable-external-ffmpeg \ --enable-x64 \ --disable-realdevice \ --disable-pdf-docs \ --infodir="${PREFIX}/${INFO_PATH}" \ --localedir="${LOCALBASE}/share/locale" \ --disable-dependency-tracking \ DOS2UNIX=true OPTIONS_DEFINE= SDLSOUND ALSA PULSEAUDIO DOCS OPTIONS_SINGLE= GUI OPTIONS_SINGLE_GUI= GTK3UI SDLUI2 OPTIONS_DEFAULT?= GTK3UI SDLSOUND ALSA NO_OPTIONS_SORT=yes OPTIONS_SUB= yes GTK3UI_DESC= use GTK3 user interface SDLUI2_DESC= use SDL2 user interface SDLSOUND_DESC= build with SDL2 sound system support GTK3UI_USES= desktop-file-utils GTK3UI_CONFIGURE_ENABLE= native-gtk3ui desktop-files GTK3UI_BUILD_DEPENDS= bash:shells/bash SDLUI2_USES= sdl SDLUI2_USE= SDL=sdl2 SDL=image2 SDLUI2_CONFIGURE_ENABLE= sdlui2 SDLSOUND_USES= sdl SDLSOUND_USE= SDL=sdl2 SDLSOUND_CONFIGURE_ON= --with-sdlsound ALSA_CONFIGURE_OFF= --without-alsa ALSA_LIB_DEPENDS= libasound.so:audio/alsa-lib PULSEAUDIO_CONFIGURE_OFF= --without-pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio .include .if !defined(BUILDING_INDEX) __pmlinks1!= ${ECHO_CMD} '${LMLINKS:S/ / /}' | ${AWK} \ '{ if (NF % 2 != 0) { print "broken"; exit; } \ for (i=1; i<=NF; i++) { \ if ( i % 2 == 0) { print " " $$i " ;"; } \ else { printf "${LN} -s " $$i " "; } \ } }' .endif .if ${PORT_OPTIONS:MGTK3UI} USES+= gnome gl USE_GNOME+= gtk30 vte3 cairo gdkpixbuf2 pango USE_GL+= glu gl glew .endif .if ${PORT_OPTIONS:MDOCS} INFO+= vice .endif pre-configure: .if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's| doc||' ${WRKSRC}/Makefile.in .endif # workaround for xdg-desktop-menu pre-install-GTK3UI-on: ${MKDIR} ${STAGEDIR}/${PREFIX}/share/desktop-directories .include diff --git a/games/doom/Makefile b/games/doom/Makefile index e85f057bc5a2..3ac3005711a5 100644 --- a/games/doom/Makefile +++ b/games/doom/Makefile @@ -1,71 +1,70 @@ # Created by: Jean-Marc Zucconi PORTNAME= doom PORTVERSION= 1.10 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= IDSOFTWARE/source DISTNAME= doomsrc MAINTAINER= ports@FreeBSD.org COMMENT= DOOM: the game and the sound server +# Redistribution is limited, see license; Requested by id Software LICENSE= IDSOFTWARE LICENSE_NAME= ID SOFTWARE LICENSE LICENSE_FILE= ${WRKSRC}/linuxdoom-${PORTVERSION}/DOOMLIC.TXT LICENSE_PERMS= dist-mirror pkg-mirror -NO_CDROM= Redistribution is limited, see license; Requested by id Software - ONLY_FOR_ARCHS= i386 USES= gmake xorg zip USE_XORG= x11 sm xorgproto xext NO_WRKSUBDIR= yes DATADIR= ${DMDIR} post-extract: @cd ${WRKDIR} && ${TAR} xzf linuxdoom-1.10.src.tgz && ${TAR} xzf sndserv.tgz post-patch: ${REINPLACE_CMD} 's|||g'\ ${WRKSRC}/sndserv/linux.c \ ${WRKSRC}/linuxdoom-1.10/i_sound.c ${REINPLACE_CMD} 's|||g' \ ${WRKSRC}/linuxdoom-1.10/i_video.c ${REINPLACE_CMD} 's|#include |//#include |g'\ ${WRKSRC}/linuxdoom-1.10/r_data.c ${REINPLACE_CMD} 's|#include |//#include |g'\ ${WRKSRC}/linuxdoom-1.10/w_wad.c ${REINPLACE_CMD} 's|||g'\ ${WRKSRC}/linuxdoom-1.10/w_wad.c \ ${WRKSRC}/sndserv/soundsrv.c \ ${WRKSRC}/sndserv/wadread.c ${REINPLACE_CMD} 's|||g'\ ${WRKSRC}/linuxdoom-1.10/m_bbox.h \ ${WRKSRC}/linuxdoom-1.10/doomtype.h ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g'\ ${WRKSRC}/linuxdoom-1.10/Makefile @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \ -E -e 's|#include +|#include |g' do-build: @cd ${WRKDIR}/linuxdoom-1.10 && ${SETENV} ${MAKE_ENV} \ ${MAKE_CMD} X11BASE=${LOCALBASE} @cd ${WRKDIR}/sndserv && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/doom ${INSTALL_PROGRAM} ${WRKDIR}/linuxdoom-1.10/linux/linuxxdoom \ ${STAGEDIR}${PREFIX}/libexec/doom/xdoom ${INSTALL_PROGRAM} ${WRKDIR}/sndserv/linux/sndserver \ ${STAGEDIR}${PREFIX}/libexec/doom/sndserver @(${ECHO_CMD} "#!${SH}"; ${ECHO_CMD} "cd ${PREFIX}/libexec/doom"; \ ${ECHO_CMD} 'export PATH=.:$$PATH';${ECHO_CMD} "export DOOMWADDIR=${DATADIR}"; \ ${ECHO_CMD} "./xdoom $$*") > ${STAGEDIR}${PREFIX}/bin/doom @${CHMOD} ugo+x ${STAGEDIR}${PREFIX}/bin/doom .include "${.CURDIR}/../doom-data/Makefile.include" .include diff --git a/games/jfsw/Makefile b/games/jfsw/Makefile index a486caf705de..a7414b25c1ee 100644 --- a/games/jfsw/Makefile +++ b/games/jfsw/Makefile @@ -1,62 +1,61 @@ # Created by: Ganael Laplanche PORTNAME= jfsw PORTVERSION= 20210130 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org COMMENT= Jonathon Fowler's Shadow Warrior Port +# Must be distributed only through the Internet and free of charge LICENSE= GPLv2 BuildLic LICENSE_COMB= multi LICENSE_NAME_BuildLic= Build source code license LICENSE_FILE_BuildLic= ${WRKSRC}/jfbuild/buildlic.txt LICENSE_PERMS_BuildLic= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept LIB_DEPENDS= libvorbisfile.so:audio/libvorbis \ libfluidsynth.so:audio/fluidsynth USES= alias compiler:c++11-lang dos2unix gl gmake gnome \ perl5 pkgconfig:build sdl USE_GL= gl USE_GNOME= gtk20 USE_SDL= mixer2 sdl2 USE_PERL5= build DOS2UNIX_REGEX= .*(\.(c|h)|Makefile)(\.deps)? USE_GITHUB= yes GH_ACCOUNT= jonof GH_PROJECT= jfbuild:build jfaudiolib:audio jfmact:mact # See GH listing to get current (tested) submodule hashes: # https://github.com/jonof/jfsw GH_TAGNAME= c434002 \ ed8c505:build \ 0b82be9:audio \ 1149eb1:mact GH_SUBDIR= jfbuild:build jfaudiolib:audio jfmact:mact -NO_CDROM= Must be distributed only through the Internet and free of charge - MAKE_ENV+= DATADIR="${DATADIR}" SUB_FILES= pkg-message PORTDOCS= README.md releasenotes.html OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} 's|/usr/X11R6|${LOCALBASE}|' \ ${WRKSRC}/jfbuild/Makefile @${REINPLACE_CMD} 's|/usr|${LOCALBASE}|' \ ${WRKSRC}/jfaudiolib/src/driver_fluidsynth.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sw ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${INSTALL_PROGRAM} ${WRKSRC}/build ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-build ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}${DATADIR} .include diff --git a/games/libretro-fbalpha/Makefile b/games/libretro-fbalpha/Makefile index 3e01491007f7..f6bc87061599 100644 --- a/games/libretro-fbalpha/Makefile +++ b/games/libretro-fbalpha/Makefile @@ -1,32 +1,31 @@ PORTNAME= libretro-fbalpha PORTVERSION= 0.20200504 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Final Burn Alpha port for libretro +# Commercial users must seek permission from copyright holders. LICENSE= FBA LICENSE_NAME= FBA LICENSE_FILE= ${WRKSRC}/src/license.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= compiler:c++11-lib gmake gl USE_LDCONFIG= yes USE_GL= gl PLIST_FILES= lib/libretro/fbalpha_libretro.so -NO_CDROM= Commercial users must seek permission from copyright holders. - USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= fbalpha GH_TAGNAME= 84eb9d9 MAKEFILE= Makefile.freebsd do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/fbalpha_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-genesis_plus_gx/Makefile b/games/libretro-genesis_plus_gx/Makefile index 65ecfc30bda8..9c1756e62800 100644 --- a/games/libretro-genesis_plus_gx/Makefile +++ b/games/libretro-genesis_plus_gx/Makefile @@ -1,31 +1,30 @@ PORTNAME= libretro-genesis_plus_gx PORTVERSION= 0.20210214 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Enhanced port of Genesis Plus +# Commercial users must seek permission from copyright holders. LICENSE= GPGX LICENSE_NAME= GPGX LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept USES= compiler:c++11-lib gmake USE_LDCONFIG= yes -NO_CDROM= Commercial users must seek permission from copyright holders. - USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= Genesis-Plus-GX GH_TAGNAME= 7f83bc5 PLIST_FILES= lib/libretro/genesis_plus_gx_libretro.so MAKEFILE= Makefile.libretro do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/genesis_plus_gx_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-paralleln64/Makefile b/games/libretro-paralleln64/Makefile index 8337796f887c..d86c94d24f3c 100644 --- a/games/libretro-paralleln64/Makefile +++ b/games/libretro-paralleln64/Makefile @@ -1,37 +1,36 @@ PORTNAME= libretro-paralleln64 PORTVERSION= 0.20210127 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Improved Nintendo 64 core for libretro +# Commercial users must seek permission from copyright holders. LICENSE= BITSTREAM_VERA CC0-1.0 GFDL GPLv2 GPLv3 LGPL3 MIT ZLIB LICENSE_COMB= multi LICENSE_NAME_BITSTREAM_VERA= Bitstream Vera Sans - Roman Release 1.10 LICENSE_FILE_BITSTREAM_VERA= ${WRKSRC}/mupen64plus-core/doc/font-license LICENSE_PERMS_BITSTREAM_VERA= auto-accept BROKEN_i386= Doesn't build. USES= compiler:c++11-lang gmake gl localbase USE_GL= gl USE_LDCONFIG= yes -NO_CDROM= Commercial users must seek permission from copyright holders. - DYNAREC= ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/i386/x86/} MAKE_ARGS= WITH_DYNAREC=${DYNAREC} USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= parallel-n64 GH_TAGNAME= 6e26fbb PLIST_FILES= lib/libretro/parallel_n64_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/parallel_n64_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-snes9x/Makefile b/games/libretro-snes9x/Makefile index 841ab02d33e1..149d4836c49e 100644 --- a/games/libretro-snes9x/Makefile +++ b/games/libretro-snes9x/Makefile @@ -1,33 +1,32 @@ PORTNAME= libretro-snes9x PORTVERSION= 0.20210129 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Snes9x - Portable Super Nintendo emulator +# Commercial users must seek permission from copyright holders. LICENSE= PS LICENSE_NAME= PS LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror pkg-mirror auto-accept BROKEN_FreeBSD_11= linker error: unrecognized option '-plugin' USES= compiler:c++11-lib gmake USE_LDCONFIG= yes -NO_CDROM= Commercial users must seek permission from copyright holders. - USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= snes9x GH_TAGNAME= 73aa348 PLIST_FILES= lib/libretro/snes9x_libretro.so MAKEFILE= Makefile.freebsd do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/libretro/snes9x_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-snes9x2005/Makefile b/games/libretro-snes9x2005/Makefile index 0334af1a8cd0..5c8362b40a38 100644 --- a/games/libretro-snes9x2005/Makefile +++ b/games/libretro-snes9x2005/Makefile @@ -1,29 +1,28 @@ PORTNAME= libretro-snes9x2005 PORTVERSION= 0.20210214 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Snes9x - Portable Super Nintendo emulator (1.43) +# Commercial users must seek permission from copyright holders. LICENSE= PS LICENSE_NAME= PS LICENSE_FILE= ${WRKSRC}/copyright LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= compiler:c++11-lib gmake USE_LDCONFIG= yes -NO_CDROM= Commercial users must seek permission from copyright holders. - USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= snes9x2005 GH_TAGNAME= 218be8e PLIST_FILES= lib/libretro/snes9x2005_libretro.so do-install: ${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro; ${INSTALL_LIB} ${WRKSRC}/snes9x2005_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro; .include diff --git a/games/libretro-snes9x2010/Makefile b/games/libretro-snes9x2010/Makefile index 4036a8792a79..837af11a56c4 100644 --- a/games/libretro-snes9x2010/Makefile +++ b/games/libretro-snes9x2010/Makefile @@ -1,37 +1,36 @@ PORTNAME= libretro-snes9x2010 PORTVERSION= 0.20210214 CATEGORIES= games MAINTAINER= menelkir@itroll.org COMMENT= Snes9x - Portable Super Nintendo emulator (1.52) +# Commercial users must seek permission from copyright holders. LICENSE= PS LICENSE_NAME= PS LICENSE_FILE= ${WRKSRC}/LICENSE.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept USES= compiler:c++11-lib gmake USE_LDCONFIG= yes -NO_CDROM= Commercial users must seek permission from copyright holders. - USE_GITHUB= yes GH_ACCOUNT= libretro GH_PROJECT= snes9x2010 GH_TAGNAME= a3e65b8 PLIST_FILES= lib/libretro/snes9x2010_libretro.so .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000 MAKE_ENV= LTO= .else MAKE_ENV= LTO=-flto # may drop this branch on next port update .endif do-install: @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro ${INSTALL_LIB} ${WRKSRC}/snes9x2010_libretro.so ${STAGEDIR}/${PREFIX}/lib/libretro .include diff --git a/games/macopix/Makefile b/games/macopix/Makefile index ac00f641ed7a..d2746bf49f50 100644 --- a/games/macopix/Makefile +++ b/games/macopix/Makefile @@ -1,102 +1,103 @@ # Created by: Shinya Esu PORTNAME= macopix PORTVERSION= 1.7.4 PORTREVISION= 12 CATEGORIES= games MASTER_SITES= http://rosegray.sakura.ne.jp/macopix/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${RESTRICTED_FILES} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LICENSE_DISTFILES_DATA} MAINTAINER= ports@FreeBSD.org COMMENT= Window sitter for X11 -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING - -BROKEN_FreeBSD_13= ld: error: duplicate symbol: AutoBar -BROKEN_FreeBSD_14= ld: error: duplicate symbol: AutoBar -BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h -BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h - -LIB_DEPENDS= libpng.so:graphics/png \ - libtiff.so:graphics/tiff - -RESTRICTED= 'contains commercial character data' - -RESTRICTED_FILES= \ +LICENSE= GPLv2+ DATA +LICENSE_COMB= multi +LICENSE_NAME_DATA= Commercial character data +LICENSE_TEXT_DATA= contains commercial character data +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING +LICENSE_DISTFILES_DATA= \ macopix-mascot-comic_party-euc-ja-1.02.tar.gz \ macopix-mascot-cosmos-euc-ja-1.02.tar.gz \ macopix-mascot-kanon-euc-ja-1.02.tar.gz \ macopix-mascot-mizuiro-euc-ja-1.02.tar.gz \ macopix-mascot-one-euc-ja-1.02.tar.gz \ macopix-mascot-pia2-euc-ja-1.02.tar.gz \ macopix-mascot-triangle_heart-euc-ja-1.02.tar.gz \ macopix-mascot-tsukihime-euc-ja-1.02.tar.gz \ macopix-mascot-marimite-euc-ja-2.20.tar.gz \ macopix-mascot-HxB-euc-ja-0.30.tar.gz +LICENSE_PERMS_DATA= auto-accept + +BROKEN_FreeBSD_13= ld: error: duplicate symbol: AutoBar +BROKEN_FreeBSD_14= ld: error: duplicate symbol: AutoBar +BROKEN_armv6= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h +BROKEN_armv7= dumps core: Assertion failed: (!NodePtr->isKnownSentinel()), function operator*, file ilist_iterator.h + +LIB_DEPENDS= libpng.so:graphics/png \ + libtiff.so:graphics/tiff USES= gettext gmake gnome iconv jpeg libtool pkgconfig xorg USE_GNOME= gtk20 USE_XORG= x11 GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -lX11 ${ICONV_LIB} OPTIONS_DEFINE= DOCS GNUTLS GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls GNUTLS_CONFIGURE_ON= --with-gnutls GNUTLS_USES_OFF= ssl post-patch: @${REINPLACE_CMD} -e 's/_MAIL } MailStatus/_MAIL } MailStatus2/' ${WRKSRC}/src/main.h post-install: # install mascot file @${MKDIR} ${STAGEDIR}${DATADIR}/pixmap cd ${WRKDIR}/macopix-mascot-comic_party-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.comipa.jp cd ${WRKDIR}/macopix-mascot-cosmos-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.cosmos.jp cd ${WRKDIR}/macopix-mascot-kanon-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.kanon.jp cd ${WRKDIR}/macopix-mascot-mizuiro-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.mizuiro.jp cd ${WRKDIR}/macopix-mascot-one-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.one.jp cd ${WRKDIR}/macopix-mascot-pia2-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.pia2.jp cd ${WRKDIR}/macopix-mascot-triangle_heart-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.trh.jp cd ${WRKDIR}/macopix-mascot-tsukihime-euc-ja-1.02 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.tsuki.jp cd ${WRKDIR}/macopix-mascot-marimite-euc-ja-2.20 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.marimite.jp cd ${WRKDIR}/macopix-mascot-HxB-euc-ja-0.30 \ && ${INSTALL_DATA} *.png ${STAGEDIR}${DATADIR}/pixmap \ && ${INSTALL_DATA} *.mcpx *.menu ${STAGEDIR}${DATADIR} \ && ${INSTALL_DATA} README.jp ${STAGEDIR}${DATADIR}/README.HxB.jp @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} NKR.README.ja README README.ja \ ${STAGEDIR}${DOCSDIR}/ .include diff --git a/games/nwndata/Makefile b/games/nwndata/Makefile index e46a92054162..cba1af7257cb 100644 --- a/games/nwndata/Makefile +++ b/games/nwndata/Makefile @@ -1,57 +1,59 @@ # Created by: Erik Olson PORTNAME= nwndata PORTVERSION= ${NWNVER} PORTREVISION= ${NWNREV} CATEGORIES= games MASTER_SITES= http://na.llnet.bioware.cdn.ea.com/u/f/eagames/bioware/neverwinternights/updates/linux/ \ http://lvlt.bioware.cdn.ea.com/bioware/u/f/eagames/bioware/neverwinternights/updates/linux/ DISTNAME= ${NWRESOURCES} .if defined(CDROM_MOUNT) && exists(${CDROM_MOUNT}/KingmakerSetup.exe) DISTFILES= .endif MAINTAINER= scf@FreeBSD.org COMMENT= Neverwinter Nights Data Files LICENSE= Proprietary +LICENSE_NAME= Proprietary +LICENSE_TEXT= Distribution not allowed +LICENSE_PERMS= auto-accept ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Binary Distribution on x86 only # Setup port based upon whether this is the Diamond edition or straight NWN. .if defined(CDROM_MOUNT) && exists(${CDROM_MOUNT}/KingmakerSetup.exe) NWNVER= 1.61 NWNREV= 0 NWN_DIAMOND= yes USES= 7z:p7zip zip PLIST_SUB+= DIAMOND="" ORIGINAL="@comment " .else NWNVER= 1.29 NWNREV= 3 NWRESOURCES= nwresources${PORTVERSION:S/.//} PLIST_SUB+= DIAMOND="@comment " ORIGINAL="" .endif NO_BUILD= yes WRKSRC= ${WRKDIR}/nwn -RESTRICTED= Distribution not allowed do-install: ${MKDIR} ${STAGEDIR}${DATADIR} .if defined(NWN_DIAMOND) ${LOCALBASE}/bin/${P7ZIP_CMD} e -y -x'r!*.dll' -x'r!*.exe'\ -o${WRKSRC}/Kingmaker ${CDROM_MOUNT}/KingmakerSetup.exe .for zipfile in Data_Shared.zip Data_linux.zip data/XP1.zip data/XP2.zip (cd ${STAGEDIR}${DATADIR} && ${UNZIP_NATIVE_CMD}\ -o ${CDROM_MOUNT}/${zipfile}) .endfor .else (cd ${WRKSRC} && ${FIND} . -print | \ ${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR}) .endif .include diff --git a/games/xbat/Makefile b/games/xbat/Makefile index bfc39b002fb2..2bf132b20547 100644 --- a/games/xbat/Makefile +++ b/games/xbat/Makefile @@ -1,23 +1,25 @@ # Created by: Yukihiro Nakai PORTNAME= xbat PORTVERSION= 1.11 PORTREVISION= 10 CATEGORIES= games MASTER_SITES= LOCAL/hrs DISTNAME= xev111 MAINTAINER= TsurutaniNaoki@gmail.com COMMENT= XEVIOUS like shooting game -LICENSE= GPLv2 - -NO_CDROM= Possible copyright infringement +LICENSE= GPLv2 CR +LICENSE_COMB= multi +LICENSE_NAME_CR= Copyright +LICENSE_TEXT_CR= Possible copyright infringement +LICENSE_PERMS_CR= dist-mirror pkg-mirror auto-accept USES= imake xorg USE_XORG= x11 xext WRKSRC= ${WRKDIR}/Xev111 ALL_TARGET= xbat USE_GCC= yes # segfaults when compiled with clang .include diff --git a/games/xfrisk/Makefile b/games/xfrisk/Makefile index 4147be2bce12..97a6839c59ce 100644 --- a/games/xfrisk/Makefile +++ b/games/xfrisk/Makefile @@ -1,39 +1,41 @@ # Created by: Matthew Hunt PORTNAME= xfrisk PORTVERSION= 1.2 PORTREVISION= 6 CATEGORIES= games MASTER_SITES= http://old.tuxick.net/xfrisk/files/ \ http://devel.ringlet.net/games/xfrisk/ DISTNAME= XFrisk-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Multi-player networked Risk game for X11 -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv2+ CR +LICENSE_COMB= multi +LICENSE_NAME_CR= Copyright +LICENSE_TEXT_CR= Possible trademark infringement +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING +LICENSE_PERMS_CR= dist-mirror pkg-mirror auto-accept LIB_DEPENDS= libXaw3d.so:x11-toolkits/Xaw3d -NO_CDROM= Possible trademark infringement - WRKSRC= ${WRKDIR}/XFrisk USES= gmake xorg USE_XORG= x11 xt xaw xmu sm ice MAKE_ENV= XDIR="${LOCALBASE}" do-install: .for file in aiColson aiConway aiDummy friskserver xfrisk ${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor .for file in risk ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin .endfor @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .for file in Countries.risk Help.risk World.risk ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .endfor .include diff --git a/graphics/yed/Makefile b/graphics/yed/Makefile index 25ade9a66231..9a338e789cad 100644 --- a/graphics/yed/Makefile +++ b/graphics/yed/Makefile @@ -1,71 +1,70 @@ # Created by: Eugene Mychlo PORTNAME= yed DISTVERSION= 3.21.1 CATEGORIES= graphics java MASTER_SITES= # DISTNAME= yEd-${DISTVERSION} MAINTAINER= myc@barev.net COMMENT= Editor for graphs and diagrams LICENSE= YED_1_1 LICENSE_NAME= yEd Software License Agreement (Version 1.1) LICENSE_TEXT= Description of the license can be obtained from the following URL: \ http://www.yworks.com/products/yed/license.html +# Downloading requires acceptance of license agreement LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept USES= zip USE_JAVA= yes JAVA_VERSION= 1.8+ -RESTRICTED= Downloading requires acceptance of license agreement - DESKTOP_ENTRIES="yEd" "${COMMENT}" "" "yed" "Graphics;" false WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} SUB_FILES= ${PORTNAME} SUB_LIST= JAVA_HOME=${JAVA_HOME} NO_BUILD= yes NO_ARCH= yes DOWNLOAD_URL?= http://www.yworks.com/downloads\#yEd .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= you must manually obtain ${DISTNAME}${EXTRACT_SUFX} from\ '${DOWNLOAD_URL}', place it in ${DISTDIR} and then run make again .endif do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/license.html ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/thirdpartylicenses.html ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.jar ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DATADIR}/lib . for lib in common-image.jar \ common-io.jar \ common-lang.jar \ imageio-bmp.jar \ imageio-core.jar \ imageio-hdr.jar \ imageio-icns.jar \ imageio-iff.jar \ imageio-jpeg.jar \ imageio-metadata.jar \ imageio-pcx.jar \ imageio-pict.jar \ imageio-psd.jar \ imageio-sgi.jar \ imageio-tga.jar \ imageio-thumbsdb.jar \ imageio-tiff.jar \ vectorgraphics.jar ${INSTALL_DATA} ${WRKSRC}/lib/${lib} ${STAGEDIR}${DATADIR}/lib . endfor .include diff --git a/java/dbvis/Makefile b/java/dbvis/Makefile index f8421d2934f9..770c65250120 100644 --- a/java/dbvis/Makefile +++ b/java/dbvis/Makefile @@ -1,36 +1,36 @@ # Created by: Anton Yudin () PORTNAME= dbvis PORTVERSION= 11.0.3 CATEGORIES= java databases MASTER_SITES= http://www.dbvis.com/product_download/${PORTNAME}-${PORTVERSION}/media/ DISTNAME= dbvis_unix_${PORTVERSION:S/./_/g} MAINTAINER= jim@ohlste.in COMMENT= DbVisualizer database tool LICENSE= DbVisualizer_EULA LICENSE_NAME= End-User License Agreement for DbVisualizer LICENSE_TEXT= Full license can be found at http://www.dbvis.com/eula/ +# Redistribution is not permitted LICENSE_PERMS= auto-accept USE_JAVA= yes JAVA_VENDOR= openjdk NO_BUILD= yes -RESTRICTED= Redistribution is not permitted PLIST_FILES= bin/dbvis WRKSRC= ${WRKDIR}/DbVisualizer do-install: cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ../share/dbvis/dbvis dbvis ${CHMOD} a+x ${STAGEDIR}${DATADIR}/dbvis post-install: ${FIND} ${STAGEDIR}${DATADIR} -not -type d \ | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,,p' >> ${TMPPLIST} ${FIND} -d ${STAGEDIR}${DATADIR} -type d -empty \ | ${SED} -ne 's,^${STAGEDIR}${PREFIX}/,@dir ,p' >> ${TMPPLIST} .include diff --git a/lang/cbmbasic/Makefile b/lang/cbmbasic/Makefile index cd7bf7e67746..8f4b89259183 100644 --- a/lang/cbmbasic/Makefile +++ b/lang/cbmbasic/Makefile @@ -1,23 +1,23 @@ PORTNAME= cbmbasic PORTVERSION= 20180708 CATEGORIES= lang MAINTAINER= trasz@FreeBSD.org COMMENT= Portable version of Commodore 64 BASIC -LICENSE= BSD - -RESTRICTED= Not really sure about the legal status +LICENSE= BSD NONE +# Not really sure about the legal status +LICENSE_COMB= multi USE_GITHUB= yes GH_ACCOUNT= mist64 GH_TAGNAME= 89093eba090d6e1c2d2b6e1cb1616dba0ce9c7f6 CFLAGS+= -fcommon PLIST_FILES= bin/cbmbasic do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cbmbasic ${STAGEDIR}${PREFIX}/bin .include diff --git a/lang/icc/Makefile b/lang/icc/Makefile index 5facddbef691..c61655c13d49 100644 --- a/lang/icc/Makefile +++ b/lang/icc/Makefile @@ -1,193 +1,194 @@ # Created by: netchild@FreeBSD.org PORTNAME= icc PORTVERSION= 8.1.038 PORTREVISION= 2 CATEGORIES= lang linux devel MASTER_SITES= #empty DISTNAME= l_cc_pc_${PORTVERSION:C/p.+$//} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # netchild@FreeBSD.org is willing to review patches and to provide background # infos regarding this port MAINTAINER= ports@FreeBSD.org COMMENT= Intel C/C++ compiler, set up to produce native FreeBSD binaries -LICENSE= EPL LGPL21 +LICENSE= EPL LGPL21 INTEL LICENSE_COMB= multi +LICENSE_NAME_INTEL= Intel +LICENSE_TEXT_INTEL= Intel forbids any redistribution. +LICENSE_PERMS_INTEL= auto-accept EXTRACT_DEPENDS= rpm2cpio.pl:archivers/rpm2cpio -RESTRICTED= Intel forbids any redistribution. - USES= linux USE_LINUX= base PATCHLEVEL= ${PORTVERSION:C/(.+p)(.+)$/pe\2/} .if ${PORTVERSION} != ${PATCHLEVEL} DISTFILES+= ${DISTNAME} ${PATCHLEVEL}${EXTRACT_SUFX} USE_LINUX+= base:patch .endif ONLY_FOR_ARCHS= i386 USE_LDCONFIG= yes COMPILERDIR= intel_cc_80 PLIST_SUB= COMPILERDIR=${COMPILERDIR} PATCH_WRKSRC= ${WRKSRC}/opt/${COMPILERDIR} OPTIONS_DEFINE= DOCS DOCS= BEA_License_Agreement.txt Disclaimer.txt flex_ug.pdf ICC_SITE= https://software.intel.com/en-us/intel-compilers/ SUB_FILES= pkg-message SUB_LIST+= PKGNAME=${PKGNAME} \ COMPILERDIR=${COMPILERDIR} \ MAINTAINER=${MAINTAINER} .include EXTRACT_AFTER_ARGS= --exclude cdt-\*.zip \ --exclude eclipse-platform\*.zip \ --exclude intel-icc_ide\*.rpm \ --exclude intel-iidb\*.rpm \ --exclude intel-isubh\*.rpm \ --exclude sdp-core-\*.zip \ --exclude \*ia64.rpm \ --exclude flexlm64 ICCCFGVAL_CMD= ${UNAME} -r | ${SED} -e 's/\..*//' GCCCOMPATVER= 340 GXXINCLUDE= /usr/include/c++/${GCCCOMPATVER:C/([0-9])([0-9]).+/\1.\2/} .for f in ${DISTFILES} .if !exists(${DISTDIR}/${f}) IGNORE= go to Intel Premier Support \(https://premier.intel.com/\) to obtain ${DISTFILES}. Product updates such as this compiler are posted regularly on Premier Support. You must have a license to obtain access to Premier Support. If you do not already have a license go to ${ICC_SITE} to review licensing options \(evaluation, commercial, and free non-commercial\) and obtain a license. Put ${DISTFILES} into ${DISTDIR} and run make again .endif .endfor .if exists(${LINUXBASE}/boot/kernel.h) BROKEN= cannot coexist with linux_devtools .endif post-extract: cd ${WRKSRC} && rpm2cpio.pl 2>/dev/null *.rpm | ${CPIO} -idu --quiet intel-patch: extract # Apply patches from Intel. .if ${PORTVERSION} != ${PATCHLEVEL} ${BRANDELF} -t Linux ${WRKSRC}_${PATCHLEVEL}/papply ${WRKSRC}_${PATCHLEVEL}/papply ${WRKSRC}_${PATCHLEVEL}/icc.rtp \ ${WRKSRC}/opt/${COMPILERDIR} .endif pre-patch: intel-patch # Remove files we do not need on FreeBSD. for i in `${CAT} ${FILESDIR}/exclude`; do \ ${RM} -r ${WRKSRC}/opt/${COMPILERDIR}/$$i; done .if ! ${PORT_OPTIONS:MDOCS} # Remove docs. for i in `${CAT} ${FILESDIR}/exclude_noportdocs`; do \ ${RM} -r ${WRKSRC}/opt/${COMPILERDIR}/$$i; done .endif # Remove unneeded/unsafe access rights. .for i in doc include lib ${FIND} ${WRKSRC}/opt/${COMPILERDIR}/${i} -type f -print0 | \ ${XARGS} -0 ${CHMOD} a-x,og-w .endfor ${FIND} ${WRKSRC}/opt -type d -print0 | ${XARGS} -0 ${CHMOD} go-w ${CHMOD} a-x ${WRKSRC}/opt/${COMPILERDIR}/bin/Errormatch.txt post-patch: # Correct some paths and patch some files .for i in icc iccvars.csh iccvars.sh icpc ${REINPLACE_CMD} -i "" -e 's:%%ICC_LOCALBASE%%:${LOCALBASE}:g; \ s:\:${PREFIX}/${COMPILERDIR}:g; \ s:%%GXX_INCLUDE%%:${GXXINCLUDE}:g; \ s:man -w:manpath -q:g' ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} ${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} .endfor .if ${PORTVERSION} != ${PATCHLEVEL} ${REINPLACE_CMD} -i "" -e \ 's:\:${DISTNAME}_${PATCHLEVEL}:g' \ ${WRKSRC}/opt/${COMPILERDIR}/doc/csupport .else ${REINPLACE_CMD} -i "" -e 's:\:${DISTNAME}:g' \ ${WRKSRC}/opt/${COMPILERDIR}/doc/csupport .endif ${RM} ${WRKSRC}/opt/${COMPILERDIR}/include/*.orig ${RM} ${WRKSRC}/opt/${COMPILERDIR}/include/c++/*.orig .for i in icc.orig icpc.orig ${RM} ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} .endfor # Provide a more FreeBSD'ish compile environment .for i in icc.cfg icpc.cfg ${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/${COMPILERDIR}/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=$$(${ICCCFGVAL_CMD})\n\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} ${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} ${ECHO_CMD} -e "-restrict\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} ${CHMOD} a-x,g-w ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} .endfor # C++ hack for icpc ${ECHO_CMD} -e "-gcc-version=${GCCCOMPATVER}\n-cxxlib-gcc\n" \ >>${WRKSRC}/opt/${COMPILERDIR}/bin/icpc.cfg cd ${WRKSRC}/opt/${COMPILERDIR}/bin/ && ${LN} -s icc.cfg iccbin.cfg \ && ${LN} -s icpc.cfg icpcbin.cfg OBJCOPY_OPS= --redefine-sym stdin=__stdinp \ --redefine-sym stdout=__stdoutp \ --redefine-sym stderr=__stderrp do-build: # Use the Linux ABI for the binaries .for i in codecov iccbin iccfilt icpcbin icpi mcpcom prelink profmerge \ proforder profrun pronto_tool tselect xiar xild ${BRANDELF} -t Linux ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} .endfor # Fix unresolved references cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \ ${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S .for i in libcxa.a libcxaguard.a libimf.a libirc.a libirc_s.a libsvml.a \ libunwind.a ${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \ ${OBJCOPY_OPS} \ ${WRKSRC}/opt/${COMPILERDIR}/lib/${i} .endfor ${AR} cr ${WRKSRC}/opt/${COMPILERDIR}/lib/libiccfbsd.a ${WRKSRC}/*.o # Some magic to be able to link ${MKDIR} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper ${CC} ${CFLAGS} -o \ ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld \ ${FILESDIR}/ld.c ${STRIP_CMD} ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld ${CHMOD} 755 ${WRKSRC}/opt/${COMPILERDIR}/bin/ldwrapper/ld # Make ICC happy with regards to crtbegin.o, crtend.o and libgcc.a which it # expects to find in GXX_ROOT. .for f in crtbegin.o crtend.o libgcc.a cd ${WRKSRC}/opt/${COMPILERDIR}/lib && ${LN} -s /usr/lib/${f} ${f} .endfor # The static linking case expects a crtbeginT.o. Based upon inspection of # /usr/src/contrib/gnu/crtstuff.c it seems it's the same as crtbegin.o. cd ${WRKSRC}/opt/${COMPILERDIR}/lib && ${LN} -s crtbegin.o crtbeginT.o do-install: cd ${WRKSRC}/opt && ${FIND} . -print | \ ${CPIO} -pdu --quiet ${STAGEDIR}${PREFIX} ${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man/man1/icc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/man .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR} ${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc .else ${MKDIR} ${STAGEDIR}${DOCSDIR} ${MV} ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc/* ${STAGEDIR}${DOCSDIR} ${RM} -r ${STAGEDIR}${PREFIX}/${COMPILERDIR}/doc .endif .include diff --git a/mail/rainloop/Makefile b/mail/rainloop/Makefile index 0fa202b36d3a..004d9b8277af 100644 --- a/mail/rainloop/Makefile +++ b/mail/rainloop/Makefile @@ -1,44 +1,41 @@ PORTNAME= rainloop PORTVERSION= 1.15.0 CATEGORIES= mail www MASTER_SITES= https://github.com/RainLoop/rainloop-webmail/releases/download/v${PORTVERSION}/ PKGNAMESUFFIX?= ${PHP_PKGNAMESUFFIX} MAINTAINER= yasu@utahime.org COMMENT?= Modern and interactive webmail .if "${PKGNAMESUFFIX}" == "${PHP_PKGNAMESUFFIX}" LICENSE= RainLoop LICENSE_NAME= RainLoop Software License LICENSE_TEXT= License can be found at: http://www.rainloop.net/licensing/ +# Redistribution in any form is prohibited LICENSE_PERMS= auto-accept .endif USES= php:web,flavors zip NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes USE_PHP= curl dom iconv json openssl pcre simplexml spl xml zlib PLIST_SUB= VER="${PORTVERSION}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}" -.if "${PKGNAMESUFFIX}" == "${PHP_PKGNAMESUFFIX}" -RESTRICTED= Redistribution in any form is prohibited -.endif - OPTIONS_RADIO= DB OPTIONS_RADIO_DB= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= SQLITE MYSQL_USE= PHP=pdo_mysql PGSQL_USE= PHP=pdo_pgsql SQLITE_USE= PHP=pdo_sqlite do-install: @${MKDIR} ${STAGEDIR}${WWWDIR}/data ${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${WWWDIR}/data ${INSTALL_DATA} ${WRKSRC}/index.php ${STAGEDIR}${WWWDIR} (cd ${WRKSRC} && ${COPYTREE_SHARE} rainloop ${STAGEDIR}${WWWDIR}) # Prune empty dirs @${FIND} ${STAGEDIR}${WWWDIR}/${PORTNAME}/v/${PORTVERSION} -type d -empty -delete .include diff --git a/math/emc2/Makefile b/math/emc2/Makefile index 3be29fa705d5..de44df8b410c 100644 --- a/math/emc2/Makefile +++ b/math/emc2/Makefile @@ -1,48 +1,48 @@ # Created by: thierry@pompo.net PORTNAME= emc2 DISTVERSIONPREFIX=v DISTVERSION= 2.17 CATEGORIES= math science MASTER_SITES= https://www.ljll.math.upmc.fr/~hecht/ftp/emc2/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Graphical editor of two-dimensional mesh geometries LICENSE= INRIA LICENSE_NAME= INRIA license, perhaps specific to emc2 LICENSE_FILE= ${WRKSRC}/COPYRIGHT +# No resale, contact author for commercial usage LICENSE_PERMS= auto-accept no-dist-sell no-pkg-sell USES= gmake xorg USE_XORG= x11 xau xcb xdmcp ALL_TARGET= ${PORTNAME} -RESTRICTED= No resale, contact author for commercial usage .if defined(LANG) && ${LANG:Mfr*} != "" CFLAGS+= -DFRENCH .endif PORTDOCS= ${DISTFILES:M*.pdf} PORTEXAMPLES= * PLIST_FILES= bin/emc2 bin/prf_f3d OPTIONS_DEFINE= DOCS EXAMPLES DOCS_DISTFILES= RTemc2_fr.pdf RTemc2_gb.pdf do-install: ${INSTALL_PROGRAM} ${WRKSRC}/emc2 ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/prf_f3d ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${DISTDIR} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/math/giacxcas/Makefile b/math/giacxcas/Makefile index 2286d76cd923..ee7199c4a759 100644 --- a/math/giacxcas/Makefile +++ b/math/giacxcas/Makefile @@ -1,142 +1,144 @@ # Created by: Frederic Han PORTNAME= giacxcas DISTVERSION= 1.6.0-7 PORTREVISION= 1 CATEGORIES= math MASTER_SITES= http://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/:giac \ http://cocoa.dima.unige.it/cocoalib/tgz/:cocoa \ http://www-fourier.ujf-grenoble.fr/~parisse/giac/freebsd/ DISTFILES= giac_${DISTVERSION}${EXTRACT_SUFX}:giac \ CoCoALib-${COCOA_LIB_VERSION}.tgz:cocoa \ fltk-giac.tar.gz DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system -LICENSE= GPLv3 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv3 DOC +LICENSE_COMB= multi +LICENSE_NAME_DOC= French documentation +LICENSE_TEXT_DOC= French documentation is for non-commercial use only +LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING +LICENSE_PERMS_DOC= dist-mirror pkg-mirror auto-accept BUILD_DEPENDS= bash:shells/bash LIB_DEPENDS= libao.so:audio/libao \ libcurl.so:ftp/curl \ libfontconfig.so:x11-fonts/fontconfig \ libgsl.so:math/gsl \ libglpk.so:math/glpk \ libgmp.so:math/gmp \ libecm.so:math/gmp-ecm \ libmpfr.so:math/mpfr \ libmpfi.so:math/mpfi \ libpari.so:math/pari \ libpng.so:graphics/png \ libsamplerate.so:audio/libsamplerate RUN_DEPENDS= xdg-open:devel/xdg-utils -NO_CDROM= French documentation is for non-commercial use only - USES= blaslapack compiler:c++14-lang desktop-file-utils fortran \ gettext gl gmake gnome jpeg libtool localbase ncurses perl5 \ readline shebangfix xorg GNU_CONFIGURE= yes USE_GL= gl USE_XORG= x11 xcursor xext xft xi xinerama USE_TEX= latex:build dvipsk:build USE_PERL5= run USE_LDCONFIG= yes # Warning: don't remove the USE_GCC without a runtime test *after* make install #USE_GCC= yes CONFIGURE_ENV= ac_cv_lib_X11_main=yes \ ac_cv_lib_cocoa_main=yes \ ac_cv_lib_fltk_gl_main=yes \ ac_cv_lib_fltk_main=yes \ ac_cv_lib_fltk_images_main=yes \ ac_cv_lib_jpeg_main=yes SHEBANG_FILES= src/pgiac INSTALL_TARGET= install-strip INSTALLS_ICONS= yes COCOA_LIB_VERSION= 0.99700 CPPFLAGS+= -I${COCOALIB-GIAC}/include \ -I${FLTKDEV-GIAC} \ -Wno-narrowing LDFLAGS+= -L${COCOALIB-GIAC}/lib \ -L${FLTKDEV-GIAC}/lib WRKSRC= ${WRKDIR}/giac-${DISTVERSION:C/-[0-9]*//} FLTKDEV-GIAC= ${WRKDIR}/fltk-1.3.0 COCOALIB-GIAC= ${WRKDIR}/CoCoALib-${COCOA_LIB_VERSION} TEST_TARGET= check DATADIR= ${PREFIX}/share/giac DOCSDIR= ${PREFIX}/share/doc/giac EXAMPLESDIR= ${PREFIX}/share/examples/giac INFO= giac_es giac_us OPTIONS_DEFINE= DOCS EXAMPLES #NB: built of giacxcas with USE_GCC and nlt is successfull if the ntl port is also # installed with USE_GCC CONFIGURE_ARGS+= --disable-ntl PORTDOCS= * PORTEXAMPLES= * post-extract: @${FIND} ${WRKSRC}/examples/Exemples -name "._*" -delete post-patch: @${GREP} -Rl --null /bin/bash ${COCOALIB-GIAC} | ${XARGS} -0 \ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/bin/env bash|' @${REINPLACE_CMD} -e '/^SUBDIR/s|examples||' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|' \ ${WRKSRC}/xcas.applications @${REINPLACE_CMD} -e 's|cp -f \*|$$(INSTALL_DATA) WARNINGS [a-z]*|' \ ${WRKSRC}/doc/el/*/Makefile.in @${REINPLACE_CMD} -e '/browser=/s|"mozilla"|"xdg-open"|' \ ${WRKSRC}/src/global.cc @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} \ ${REINPLACE_CMD} -e 's|$$(prefix)/share/giac/doc|$$(docdir)|' @${FIND} ${COCOALIB-GIAC} -name "Makefile" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's|\($$(MAKE) \)-s |\1|; s|\([[:blank:]]\)@|\1|' @${REINPLACE_CMD} -e '/.SILENT:/s|^|#|' \ ${FLTKDEV-GIAC}/makeinclude.in ${SED} -i ".orig" -Ee 's|char \*last = style \+ strlen\(style\) - 2|char *last = pretty|' \ -Ee 's|\*style = 0|last = style + strnlen(style, ENDOFBUFFER) - 2; *style = 0|' \ ${FLTKDEV-GIAC}/src/fl_set_fonts_xft.cxx pre-configure: ${REINPLACE_CMD} -e 's|/usr/lib /usr/lib64 /usr/lib32 /usr/local /opt/local/lib /sw/lib /usr/sfw/lib|${LOCALBASE}/lib|' \ -e '/libgmp.a/s|find|#find|' \ -e 's|-name libgmp.so|-type f -name "libgmp.so.*"|' \ ${COCOALIB-GIAC}/configuration/gmp-find.sh ${REINPLACE_CMD} -e 's|^protected:|public:|' ${FLTKDEV-GIAC}/FL/Fl_Widget.H .for f in icas.cc path.h ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' \ ${WRKSRC}/src/${f} .endfor ${FIND} ${WRKSRC}/doc -type f | ${XARGS} ${GREP} -l 'share/giac/doc' | \ ${XARGS} ${REINPLACE_CMD} -e 's|/usr/local/share/giac/doc|${DOCSDIR}|' @(cd ${COCOALIB-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --with-cxx="${CXX}") @(cd ${FLTKDEV-GIAC} && ${SETENV} ${CONFIGURE_ENV} ./configure \ --prefix=${FLTKDEV-GIAC} \ CXX="${CXX}" CXXFLAGS="${CXXFLAGS}") post-configure: # malloc.h on 13-CURRENT is missing mallinfo and compilation fails after it is discovered @${FIND} ${WRKSRC} -name config.h | ${XARGS} ${REINPLACE_CMD} -e 's|#define HAVE_MALLOC_H 1|/* #undef HAVE_MALLOC_H */|' pre-build: @cd ${COCOALIB-GIAC} && ${DO_MAKE_BUILD} \ CXXFLAGS_SPECIFIC="${CXXFLAGS}" library @cd ${FLTKDEV-GIAC}/src && ${DO_MAKE_BUILD} post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "Exemples [a-z]*" \ ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/misc/susv2/Makefile b/misc/susv2/Makefile index 0699b62c5510..569a71fa7fe7 100644 --- a/misc/susv2/Makefile +++ b/misc/susv2/Makefile @@ -1,38 +1,37 @@ # Created by: Simon 'corecode' Schubert PORTNAME= susv2 PORTVERSION= 1.0.20010716 CATEGORIES= misc MASTER_SITES= # DISTNAME= susv2 MAINTAINER= mandree@FreeBSD.org COMMENT= Single UNIX Specification Version 2 +# Redistribution of the documents is not permitted LICENSE= NONE USES= tar:bzip2 -RESTRICTED= Redistribution of the documents is not permitted - NO_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= DOCS # Fix fallout of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230864 and force the option on; # meaning is to force this option on. The previous change around Sept 2018 introduced a regression in # that PORTDOCS only works if there is a DOCS option. It does not, however, make sense to install # empty documentation ports. OPTIONS_SLAVE= DOCS .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/version2/online.html or http://pubs.opengroup.org/onlinepubs/7908799/download/ to accept their license and download ${DISTFILES} into ${DISTDIR} .endif do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/susv3/Makefile b/misc/susv3/Makefile index 0efdf29c00fe..c083d7f19d64 100644 --- a/misc/susv3/Makefile +++ b/misc/susv3/Makefile @@ -1,38 +1,37 @@ # Created by: Simon 'corecode' Schubert PORTNAME= susv3 PORTVERSION= 1.2.20050121 CATEGORIES= misc MASTER_SITES= # DISTNAME= susv3 MAINTAINER= mandree@FreeBSD.org COMMENT= Single UNIX Specification Version 3 +# Redistribution of the documents is not permitted LICENSE= NONE USES= tar:bzip2 -RESTRICTED= Redistribution of the documents is not permitted - NO_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= DOCS # Fix fallout of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230864 and force the option on; # meaning is to force this option on. The previous change around Sept 2018 introduced a regression in # that PORTDOCS only works if there is a DOCS option. It does not, however, make sense to install # empty documentation ports. OPTIONS_SLAVE= DOCS .include .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/version3/online.html or https://publications.opengroup.org/t041 to accept their license and download ${DISTFILES} into ${DISTDIR} . You may need to choose "Read HTML Edition Online", navigate to it, and then find the Download link at the bottom right of the page .endif do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} .include diff --git a/misc/susv4/Makefile b/misc/susv4/Makefile index 38930a2545e8..c6903da51e5e 100644 --- a/misc/susv4/Makefile +++ b/misc/susv4/Makefile @@ -1,40 +1,39 @@ PORTNAME= susv4 PORTVERSION= 20180131 CATEGORIES= misc MASTER_SITES= # DISTNAME= susv4-2018 DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= mandree@FreeBSD.org COMMENT= Open Group Base Specifications Issue 7/IEEE Std 1003.1, 2018 Edition +# Redistribution of the documents is not permitted LICENSE= NONE USES= tar:bzip2 -RESTRICTED= Redistribution of the documents is not permitted - NO_ARCH= yes NO_BUILD= yes PORTDOCS= * OPTIONS_DEFINE= DOCS # Fix fallout of https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230864 and force the option on; # meaning is to force this option on. The previous change around Sept 2018 introduced a regression in # that PORTDOCS only works if there is a DOCS option. It does not, however, make sense to install # empty documentation ports. OPTIONS_SLAVE= DOCS .include .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be redistributed because of licensing reasons. Please visit http://www.unix.org/online.html to accept their license and download ${DISTFILES} into ${DISTDIR}/${DIST_SUBDIR} .endif do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && \ ${FIND} . -name '*~' -delete && \ ${COPYTREE_SHARE} '*' ${STAGEDIR}${DOCSDIR} .include diff --git a/multimedia/libdvdcss/Makefile b/multimedia/libdvdcss/Makefile index b5779fea0343..d7b7f3c24c82 100644 --- a/multimedia/libdvdcss/Makefile +++ b/multimedia/libdvdcss/Makefile @@ -1,35 +1,37 @@ # Created by: ijliao PORTNAME= libdvdcss DISTVERSION= 1.4.2 PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= https://download.videolan.org/pub/${PORTNAME}/${DISTVERSION}/ MAINTAINER= ports@FreeBSD.org COMMENT= Portable abstraction library for DVD decryption -LICENSE= GPLv2 -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv2 DMCA +LICENSE_COMB= multi +LICENSE_NAME_DMCA= DMCA +LICENSE_TEXT_DMCA= CSS code may violate the DMCA +LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING +LICENSE_PERMS_DMCA= auto-accept USES= libtool pathfix tar:bzip2 -RESTRICTED= CSS code may violate the DMCA - GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip PORTDOCS= * OPTIONS_DEFINE= DOXYGEN DOCS DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen DOXYGEN_CONFIGURE_ENABLE= doc DOXYGEN_USES= gmake post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${INSTALL_WRKSRC}/doc/html/* ${STAGEDIR}${DOCSDIR} .include diff --git a/multimedia/makemkv/Makefile b/multimedia/makemkv/Makefile index 137a0a0a8b7a..26db9a0ef3f1 100644 --- a/multimedia/makemkv/Makefile +++ b/multimedia/makemkv/Makefile @@ -1,161 +1,158 @@ # Created by: Felix Palmen PORTNAME= makemkv PORTVERSION= 1.16.3 CATEGORIES= multimedia MASTER_SITES= http://www.makemkv.com/download/:makemkv \ http://www.makemkv.com/download/old/:makemkv \ SF/opencore-amr/fdk-aac/:fdkaac \ https://ffmpeg.org/releases/:ffmpeg \ https://www.openssl.org/source/old/${OPENSSLVERSION}/:openssl DISTFILES= makemkv-oss-${PORTVERSION}.tar.gz:makemkv \ makemkv-bin-${PORTVERSION}.tar.gz:makemkv \ fdk-aac-${FDKAACVERSION}.tar.gz:fdkaac \ ffmpeg-${FFMPEGVERSION}.tar.bz2:ffmpeg \ openssl-${OPENSSLFULLVER}.tar.gz:openssl DIST_SUBDIR= ${PORTNAME} MAINTAINER= felix@palmen-it.de COMMENT= Video converter reading from DVD and Bluray +# Do not sell. Do not redistribute modified binaries, but +# explicit permission to distribute a patched makemkvcon given by +# copyright owner LICENSE= MAKEMKV FDK LGPL21+ OpenSSL LICENSE_COMB= multi LICENSE_NAME_MAKEMKV= The MakeMKV EULA LICENSE_NAME_FDK= The FDK AAC License LICENSE_FILE_MAKEMKV= ${WRKDIR}/makemkv-bin-${PORTVERSION}/src/eula_en_linux.txt LICENSE_FILE_FDK= ${WRKDIR}/fdk-aac-${FDKAACVERSION}/NOTICE LICENSE_PERMS_MAKEMKV= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ auto-accept LICENSE_PERMS_FDK= dist-mirror no-dist-sell pkg-mirror no-pkg-sell \ auto-accept LICENSE_DISTFILES_FDK= fdk-aac-${FDKAACVERSION}.tar.gz LICENSE_DISTFILES_LGPL21+ = ffmpeg-${FFMPEGVERSION}.tar.bz2 LICENSE_DISTFILES_OpenSSL= openssl-${OPENSSLFULLVER}.tar.gz LICENSE_DISTFILES_MAKEMKV= makemkv-bin-${PORTVERSION}.tar.gz \ makemkv-oss-${PORTVERSION}.tar.gz ONLY_FOR_ARCHS= amd64 i386 USES= gmake linux pkgconfig perl5 USE_LINUX= base expat expat:build openssl openssl:build devtools:build USE_PERL5= build BUILD_DEPENDS= nasm>0:devel/nasm \ ${LOCALBASE}/include/expat.h:textproc/expat2 \ patchelf>0:sysutils/patchelf -NO_CDROM= Do not sell -RESTRICTED_FILES= makemkv-bin-${PORTVERSION}.tar.gz -LEGAL_TEXT= ${NO_CDROM}. Do not redistribute modified binaries, but\ - explicit permission to distribute a patched makemkvcon given\ - by copyright owner - WRKSRC= ${WRKDIR}/makemkv-oss-${PORTVERSION} SUB_FILES= update-makemkv-drives SUB_LIST= LINUXBASE=${LINUXBASE} PLIST_SUB= LINUXBASE=${LINUXBASE} FDKAACVERSION= 2.0.1 FFMPEGVERSION= 4.3.2 OPENSSLVERSION= 1.0.2 OPENSSLPATCHLEVEL= k OPENSSLFULLVER= ${OPENSSLVERSION}${OPENSSLPATCHLEVEL} LINUXARCH= ${ARCH:S/amd64/x86_64/} LINUXTRIPLET= ${LINUXARCH}-redhat-linux LINUXLIBDIR= ${LINUXBASE}/${"${LINUXARCH:Mx86_64}" != "":?lib64:lib} OPENSSLTARGET= ${"${LINUXARCH:Mx86_64}" != "":?linux-x86_64:linux-elf} PATCHELF_CMD?= ${LOCALBASE}/bin/patchelf CFLAGS+= -std=c++11 -std=c11 -DFORCE_OPENSSL_NO_EC \ -I${WRKDIR}/gnuroot/include \ -I${WRKDIR}/openssl-${OPENSSLFULLVER}/include SSP_CFLAGS= LDFLAGS+= -L${WRKDIR}/gnuroot/lib HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} --disable-gui --host=${LINUXTRIPLET} \ --libdir=${PREFIX}/lib/makemkv CONFIGURE_ENV= CC=${LINUXTRIPLET}-gcc CXX=${LINUXTRIPLET}-g++ \ PATH=${WRKDIR}/gnuroot/bin:${PATH} \ PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig MAKE_ENV= PATH=${WRKDIR}/gnuroot/bin:${PATH} STRIP_CMD= ${WRKDIR}/gnuroot/bin/${LINUXTRIPLET}-strip post-extract: @${MKDIR} ${WRKDIR}/gnuroot/lib @cd ${WRKDIR}/gnuroot/lib; \ ${LN} -s ${LINUXLIBDIR}/libz.so.1; \ ${LN} -s libz.so.1 libz.so; \ ${LN} -s ${LINUXLIBDIR}/libcrypto.so.10; \ ${LN} -s libcrypto.so.10 libcrypto.so; \ ${LN} -s ${LINUXLIBDIR}/libexpat.so.1; \ ${LN} -s libexpat.so.1 libexpat.so @${MKDIR} ${WRKDIR}/gnuroot/include @cd ${WRKDIR}/gnuroot/include; \ ${LN} -s /usr/include/zlib.h; \ ${LN} -s /usr/include/zconf.h; \ ${LN} -s ${LOCALBASE}/include/expat.h; \ ${LN} -s ${LOCALBASE}/include/expat_config.h; \ ${LN} -s ${LOCALBASE}/include/expat_external.h @${MKDIR} ${WRKDIR}/gnuroot/bin @cd ${WRKDIR}/gnuroot/bin; \ for t in gcc link ld objdump ar nm strip ranlib g++; do \ ${LN} -s ${LINUXBASE}/bin/$$t ${LINUXTRIPLET}-$$t; \ done post-patch: @${REINPLACE_CMD} -e 's:INSTALL) -D:INSTALL):' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's:/bin/bash:/bin/sh:' \ -e 's:x86_64:amd64:' \ -e 's:i686:i386:' \ -e 's:-t \([^ ]*\) \([^ ]*\):\2 \1:' \ ${WRKDIR}/makemkv-bin-${PORTVERSION}/Makefile pre-configure: # FDK AAC cd ${WRKDIR}/fdk-aac-${FDKAACVERSION}; \ export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ export CXXFLAGS="${CFLAGS}"; \ LDFLAGS=-L${WRKDIR}/gnuroot/lib \ ./configure --prefix=${WRKDIR}/gnuroot \ --disable-shared --enable-static --with-pic \ --host=${LINUXTRIPLET} --disable-silent-rules; \ ${MAKE_CMD} ${_MAKE_JOBS} install # ffmpeg cd ${WRKDIR}/ffmpeg-${FFMPEGVERSION}; \ export PATH=${WRKDIR}/gnuroot/bin:$$PATH; \ export CFLAGS="${CFLAGS}"; \ PKG_CONFIG_PATH=${WRKDIR}/gnuroot/lib/pkgconfig \ CPPFLAGS="-Dcaddr_t=void\* -D__daddr_t_defined" \ LDFLAGS=-L${WRKDIR}/gnuroot/lib \ ./configure --prefix=${WRKDIR}/gnuroot \ --disable-shared --enable-static --enable-pic \ --enable-libfdk-aac --pkg-config=pkg-config \ --cross-prefix=${LINUXTRIPLET}- --arch=${LINUXARCH} \ --target-os=linux --host-cc=${CC}; \ CFLAGS="${CFLAGS}" \ ${MAKE_CMD} ${_MAKE_JOBS} V=1 ARCH=x86 all install # OpenSSL headers cd ${WRKDIR}/openssl-${OPENSSLFULLVER}; \ ./Configure --openssldir= --prefix=/usr ${OPENSSLTARGET} pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/makemkv post-install: ${INSTALL_MAN} ${FILESDIR}/makemkvcon.1 \ ${STAGEDIR}${PREFIX}/man/man1 cd ${WRKDIR}/makemkv-bin-${PORTVERSION}; \ ${MKDIR} tmp; \ ${ECHO_CMD} accepted > tmp/eula_accepted; \ ${MAKE_CMD} DESTDIR=${STAGEDIR} PREFIX=${PREFIX} install ${PATCHELF_CMD} --set-rpath ${PREFIX}/lib/makemkv \ ${STAGEDIR}${PREFIX}/bin/makemkvcon ${REINPLACE_CMD} -e 's:/sys/bus/scsi:/etc/makemkv/:' \ ${STAGEDIR}${PREFIX}/bin/makemkvcon ${BRANDELF} -t Linux ${STAGEDIR}${PREFIX}/bin/makemkvcon ${INSTALL_SCRIPT} ${WRKDIR}/update-makemkv-drives \ ${STAGEDIR}${PREFIX}/sbin .include diff --git a/multimedia/vdr-plugin-markad/Makefile b/multimedia/vdr-plugin-markad/Makefile index dab40c27c94d..d5fcaf4aaac1 100644 --- a/multimedia/vdr-plugin-markad/Makefile +++ b/multimedia/vdr-plugin-markad/Makefile @@ -1,53 +1,55 @@ # Created by: Juergen Lock PORTNAME= vdr-plugin-markad PORTVERSION= 0.1.4 PORTREVISION= 10 CATEGORIES= multimedia MASTER_SITES= http://projects.vdr-developer.org/attachments/download/1041/ DISTNAME= ${PORTNAME:S/-plugin-/-/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Video Disk Recorder - MarkAd plugin -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv2+ LOGOS +LICENSE_COMB= multi +LICENSE_NAME_LOGOS= Station logos +LICENSE_TEXT_LOGOS= Installs station logos +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING +LICENSE_PERMS_LOGOS= auto-accept LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg -RESTRICTED= Installs station logos - USES= compiler:c++11-lang pkgconfig tar:tgz WRKSRC= ${WRKDIR}/${PLUGIN}-${DISTVERSION} VDR_PLUGIN_MAKEFILES= ${WRKSRC}/command/Makefile ${WRKSRC}/plugin/Makefile DEFINES= -DDATADIR=\\\"${DATADIR}\\\" -DPREFIX=\\\"${PREFIX}\\\" MAKE_ARGS= DATADIR=${DATADIR} FREEBSD=1 MAKE_ENV= DEFINES="${DEFINES}" PORTDOCS= README HISTORY PORTDATA= logos OPTIONS_DEFINE= DOCS NLS .include "${.CURDIR}/../vdr/Makefile.plugins" # for libexecinfo: (so that __builtin_frame_address() finds the top # of the stack) .if ${ARCH} == "amd64" CFLAGS+= -fno-omit-frame-pointer CPPFLAGS+= -fno-omit-frame-pointer .endif post-patch: post-patch-plugin @${LN} -s ../lib ../locale ${WRKSRC} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vdr post-install: post-install-pluginlocales post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include diff --git a/net-mgmt/unifi-devel/Makefile b/net-mgmt/unifi-devel/Makefile index 85bf3a972d46..93655f6ce4fc 100644 --- a/net-mgmt/unifi-devel/Makefile +++ b/net-mgmt/unifi-devel/Makefile @@ -1,77 +1,75 @@ # Created by: Alban MAIRE PORTNAME= unifi PORTVERSION= 5.11.39 PORTREVISION= 0 CATEGORIES= net-mgmt java MASTER_SITES= https://dl.ui.com/unifi/${PORTVERSION}/ PKGNAMESUFFIX= -devel DISTNAME= unifi_sysvinit_all EXTRACT_SUFX= .deb DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} MAINTAINER= bryce@bryce.net COMMENT= UniFi Controller development release LICENSE= EULA LICENSE_NAME= End User License Agreement -LICENSE_TEXT= ${RESTRICTED} +LICENSE_TEXT= License restrictions, see https://www.ubnt.com/eula/ LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell no-auto-accept DEPRECATED= Use net-mgmt/unifi6 instead EXPIRATION_DATE= 2021-05-16 -RESTRICTED= License restrictions, see https://www.ubnt.com/eula/ - RUN_DEPENDS= mongodb36>0:databases/mongodb36 \ snappyjava>0:archivers/snappy-java USES= cpe CPE_VENDOR= ubnt CPE_PRODUCT= unifi_controller USE_JAVA= yes JAVA_VERSION= 1.8 JAVA_OS= native JAVA_VENDOR= openjdk bsdjava JAVA_RUN= yes USE_RC_SUBR= unifi EXTRACT_CMD= ${AR} EXTRACT_BEFORE_ARGS= -p EXTRACT_AFTER_ARGS= data.tar.xz | ${TAR} -xf - NO_BUILD= yes NO_ARCH= yes NO_WRKSUBDIR= yes USERS= unifi GROUPS= unifi SUB_LIST= USERS=${USERS} GROUPS=${GROUPS} JAVASHAREDIR=${JAVASHAREDIR} \ JAVA=${JAVA} CONFLICTS= unifi5-* DIR_LIST= conf data logs run work post-patch: (cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar) ${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native do-install: ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi (cd ${WRKSRC}/usr/lib/unifi && ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/) ${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod # Create directories that will be writable by unifi .for i in data logs run work ${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i} .endfor post-install: @${FIND} -s ${STAGEDIR}${JAVASHAREDIR}/unifi -not -type d | ${SORT} | \ ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} .for dir in ${DIR_LIST} @${ECHO} "@dir(unifi,wheel,) ${JAVASHAREDIR}/unifi/${dir}" >> ${TMPPLIST} .endfor .include diff --git a/net/cloudflared/Makefile b/net/cloudflared/Makefile index 44f09c115df2..cfd71022e56c 100644 --- a/net/cloudflared/Makefile +++ b/net/cloudflared/Makefile @@ -1,28 +1,28 @@ PORTNAME= cloudflared DISTVERSION= 2021.4.0 CATEGORIES= net www MAINTAINER= egypcio@FreeBSD.org COMMENT= Cloudflare's Argo Tunnel client +# Not sure if we are allowed to redistribute it. LICENSE= cloudflare LICENSE_NAME= cloudflare LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= no-dist-sell no-pkg-sell RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss USES= cpe go:modules USE_RC_SUBR= ${PORTNAME} USE_GITHUB= yes GH_ACCOUNT= cloudflare CPE_VENDOR= cloudflare GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} GO_TARGET= ${GO_PKGNAME}/cmd/cloudflared GO_BUILDFLAGS+= -ldflags '-s -w -X main.Version=${PORTVERSION}' PLIST_FILES= bin/${PORTNAME} -RESTRICTED= Not sure if we are allowed to redistribute it. .include diff --git a/net/liveMedia/Makefile b/net/liveMedia/Makefile index 899c3fc759a6..ff74ff14d872 100644 --- a/net/liveMedia/Makefile +++ b/net/liveMedia/Makefile @@ -1,52 +1,54 @@ # Created by: nork@FreeBSD.org PORTNAME= liveMedia DISTVERSION= 2020.11.26 PORTEPOCH= 2 CATEGORIES= net devel MASTER_SITES= http://www.live555.com/liveMedia/public/ \ https://download.videolan.org/contrib/live555/ DISTNAME= live.${PORTVERSION} MAINTAINER= multimedia@FreeBSD.org COMMENT= LIVE.COM Streaming Media -LICENSE= LGPL21 - -NO_CDROM= 'dated material' +LICENSE= LGPL21 MAT +LICENSE_COMB= multi +LICENSE_NAME_MAT= dated material +LICENSE_TEXT_MAT= dated material +LICENSE_PERMS_MAT= pkg-mirror dist-mirror auto-accept BROKEN_sparc64= Fails to compile WRKSRC= ${WRKDIR}/live HAS_CONFIGURE= yes CONFIGURE_SCRIPT= genMakefiles CONFIGURE_ARGS= fixed-freebsd USES= compiler:c++11-lang gmake ssl USE_LDCONFIG= yes .include .if ${ARCH} == "amd64" CFLAGS+= -fPIC .else CFLAGS+= -fpic .endif post-extract: ${CP} ${FILESDIR}/config.fixed-freebsd ${WRKSRC} post-patch: # LIBS_FOR_CONSOLE_APPLICATION = -lssl -lcrypto ${REINPLACE_CMD} '/LIBS_FOR_CONSOLE_APPLICATION/s|$$|-L${OPENSSLLIB} -lssl -lcrypto|' \ ${WRKSRC}/config.fixed-freebsd .if ${PREFIX} != "/usr/local" post-configure: ${REINPLACE_CMD} -e 's,^PREFIX = /usr/local,PREFIX = "${PREFIX}",' \ ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile .endif .include diff --git a/net/radiator/Makefile b/net/radiator/Makefile index fc03526daeaf..ef7c99b624d3 100644 --- a/net/radiator/Makefile +++ b/net/radiator/Makefile @@ -1,61 +1,60 @@ # Created by: shan PORTNAME= Radiator PORTVERSION= 4.24 CATEGORIES= net DISTNAME= ${PORTNAME}-${PORTVERSION}-1 MASTER_SITES= # fetch manually DIST_SUBDIR= ${PORTNAME} MAINTAINER= lyngbol@wheel.dk COMMENT= Radiator Radius Server by Open System Consultants +# Commercial software LICENSE= radiator LICENSE_NAME= Radiator LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell OPTIONS_DEFINE= MYSQL MYSQL_DESC= MySQL support USES= perl5 tar:tgz USE_PERL5= configure USE_RC_SUBR= radiator -RESTRICTED= Commercial software - .include .if !exists(${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}) IGNORE= will not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the UNIX version after\ purchasing the license at: http://www.open.com.au/ \ - once ${DISTFILES} has been downloaded, move it to\ ${DISTDIR}/${DIST_SUBDIR} and then restart this build. \ (optionally download patches-${PORTVERSION}.tar.gz to the \ same directory as well) .endif .if ${PORT_OPTIONS:MMYSQL} RUN_DEPENDS+= p5-DBD-mysql>=0:databases/p5-DBD-mysql .endif pre-configure: .if exists(${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz) ${TAR} -xvzf ${DISTDIR}/${DIST_SUBDIR}/patches-${PORTVERSION}.tar.gz -C ${WRKSRC} .endif post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/radius.cfg post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/etc/radiator ${RM} ${STAGEDIR}${PREFIX}/lib/perl5/site_perl/radhostname.pl ${INSTALL_DATA} ${WRKSRC}/radius.cfg ${STAGEDIR}${PREFIX}/etc/radiator/radius.cfg.sample ${INSTALL_DATA} ${WRKSRC}/dictionary ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.ascend ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.cisco-vpn ${STAGEDIR}${PREFIX}/etc/radiator ${INSTALL_DATA} ${WRKSRC}/dictionary.sip ${STAGEDIR}${PREFIX}/etc/radiator .include diff --git a/net/zerotier/Makefile b/net/zerotier/Makefile index 6ea1abb67845..1a3b44f08c39 100644 --- a/net/zerotier/Makefile +++ b/net/zerotier/Makefile @@ -1,62 +1,61 @@ # Created by: Corey Smith PORTNAME= zerotier DISTVERSION= 1.6.5 CATEGORIES= net PATCH_SITES= https://github.com/zerotier/zerotierone/pull/ # PATCHFILES= 1043.patch:-p1 PATCHFILES= 1304.patch:-p1 MAINTAINER= dch@FreeBSD.org COMMENT= Network virtualization everywhere +# No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt LICENSE= BUSINESS MIT PD LICENSE_COMB= multi LICENSE_NAME_BUSINESS= Business Source License LICENSE_FILE_BUSINESS= ${WRKSRC}/LICENSE.txt LICENSE_FILE_MIT= ${WRKSRC}/ext/json/LICENSE.MIT LICENSE_PERMS_BUSINESS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= as:devel/binutils USES= gmake compiler:c++14-lang USE_RC_SUBR= zerotier USE_GITHUB= yes GH_PROJECT= ZeroTierOne CFLAGS+= -flax-vector-conversions OPTIONS_DEFINE= DBG DBG_DESC= Enable foreground debugging for zerotier-one daemon DBG_ALL_TARGET= debug PLIST_FILES= bin/zerotier-cli bin/zerotier-idtool sbin/zerotier-one -LEGAL_TEXT= No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt - .include .if ${OPSYS} == "FreeBSD" # log output via syslog SUB_LIST+= ZEROTIER_SYSLOG="-s debug -T zerotier" # after r347241 tun(4) and tap(4) have been merged to tuntap(4) .if (${OSVERSION} >= 1300028) SUB_LIST+= ZEROTIER_IF_TAP="if_tuntap" .else SUB_LIST+= ZEROTIER_IF_TAP="if_tap" .endif .else # we are not on FreeBSD SUB_LIST+= ZEROTIER_IF_TAP="if_tap" \ ZEROTIER_SYSLOG="" .endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/zerotier-one ${STAGEDIR}${PREFIX}/sbin/ .for l in zerotier-cli zerotier-idtool ${RLN} ${STAGEDIR}${PREFIX}/sbin/zerotier-one ${STAGEDIR}${PREFIX}/bin/${l} .endfor .include diff --git a/print/epson-inkjet-printer-201401w/Makefile b/print/epson-inkjet-printer-201401w/Makefile index 3cb942edd8f3..fcc521b4c986 100644 --- a/print/epson-inkjet-printer-201401w/Makefile +++ b/print/epson-inkjet-printer-201401w/Makefile @@ -1,51 +1,50 @@ PORTNAME= epson-inkjet-printer-201401w PORTVERSION= 1.0.0 CATEGORIES= print MASTER_SITES= https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/d95c03482376873661d7a8d4c165b385cd082cf3/:amd64 \ https://download3.ebz.epson.net/dsc/f/03/00/03/45/41/0c527f1eef727e350302db951a45d31319ee501b/:i386 DISTFILES_amd64=${DISTNAME}-1lsb3.2.x86_64.rpm:amd64 DISTFILES_i386= ${DISTNAME}-1lsb3.2.i486.rpm:i386 MAINTAINER= hello@blubee.me COMMENT= CUPS filter for Seiko Epson Color Ink Jet Printers +# License does not allow redistribution LICENSE= EPSON LGPL21 LICENSE_COMB= multi LICENSE_NAME_EPSON= SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT LICENSE_FILE_EPSON= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.EPSON LICENSE_FILE_LGPL21= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.LIB LICENSE_PERMS_EPSON= none RUN_DEPENDS= ${LOCALBASE}/libexec/cups/filter/gstoraster:print/cups-filters -RESTRICTED= License does not allow redistribution - NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= LINUXBASE=${LINUXBASE} \ PORTNAME=${PORTNAME} USES= linux USE_LINUX= cups-libs jpeg .include .if ${ARCH} == i386 PLIST_SUB+= LIBDIR=lib .elif ${ARCH} == amd64 PLIST_SUB+= LIBDIR=lib64 .endif post-extract: @${GUNZIP_CMD} ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd.gz post-patch: @${SED} -i '' '/^\*cupsFilter:/s,/opt/,${LINUXBASE}&,' \ ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd do-install: ${MKDIR} ${STAGEDIR}${LINUXBASE} ${CP} -Rp ${WRKSRC}/opt ${STAGEDIR}${LINUXBASE} ${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model/ ${LN} -sf ${LINUXBASE}/opt/${PORTNAME}/ppds/Epson ${STAGEDIR}${PREFIX}/share/cups/model/Epson-201401w .include diff --git a/print/epson-inkjet-printer-201601w/Makefile b/print/epson-inkjet-printer-201601w/Makefile index a4c9cf21901a..fb2185818347 100644 --- a/print/epson-inkjet-printer-201601w/Makefile +++ b/print/epson-inkjet-printer-201601w/Makefile @@ -1,51 +1,50 @@ PORTNAME= epson-inkjet-printer-201601w PORTVERSION= 1.0.0 CATEGORIES= print MASTER_SITES= https://download3.ebz.epson.net/dsc/f/03/00/05/62/39/770f0f7c12a304ceaec1ce13e5b5740a71522b68/:amd64 \ https://download3.ebz.epson.net/dsc/f/03/00/05/62/39/f1fd78aacb85fff1a3c59a80dae5a5ac25e33992/:i386 DISTFILES_amd64=${DISTNAME}-1lsb3.2.x86_64.rpm:amd64 DISTFILES_i386= ${DISTNAME}-1lsb3.2.i486.rpm:i386 MAINTAINER= ports@FreeBSD.org COMMENT= CUPS filter for Seiko Epson Color Ink Jet Printers +# License does not allow redistribution LICENSE= EPSON LGPL21 LICENSE_COMB= multi LICENSE_NAME_EPSON= SEIKO EPSON CORPORATION SOFTWARE LICENSE AGREEMENT LICENSE_FILE_EPSON= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.EPSON LICENSE_FILE_LGPL21= ${WRKSRC}/opt/${PORTNAME}/doc/COPYING.LIB LICENSE_PERMS_EPSON= none RUN_DEPENDS= ${LOCALBASE}/libexec/cups/filter/gstoraster:print/cups-filters -RESTRICTED= License does not allow redistribution - NO_BUILD= yes NO_WRKSUBDIR= yes PLIST_SUB= LINUXBASE=${LINUXBASE} \ PORTNAME=${PORTNAME} USES= linux USE_LINUX= cups-libs jpeg .include .if ${ARCH} == i386 PLIST_SUB+= LIBDIR=lib .elif ${ARCH} == amd64 PLIST_SUB+= LIBDIR=lib64 .endif post-extract: @${GUNZIP_CMD} ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd.gz post-patch: @${SED} -i '' '/^\*cupsFilter:/s,/opt/,${LINUXBASE}&,' \ ${WRKSRC}/opt/${PORTNAME}/ppds/Epson/*.ppd do-install: ${MKDIR} ${STAGEDIR}${LINUXBASE} ${CP} -Rp ${WRKSRC}/opt ${STAGEDIR}${LINUXBASE} ${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model/ ${LN} -sf ${LINUXBASE}/opt/${PORTNAME}/ppds/Epson ${STAGEDIR}${PREFIX}/share/cups/model/Epson-201601w .include diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index a1bd88a36c31..58b8fa69bb50 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -1,77 +1,76 @@ # Created by: amistry@am-productions.biz PORTNAME= hplip-plugin PORTVERSION= 3.20.6 CATEGORIES= print MASTER_SITES= https://developers.hp.com/sites/default/files/ DISTNAME= hplip-${DISTVERSION}-plugin EXTRACT_SUFX= .run MAINTAINER= tijl@FreeBSD.org COMMENT= Binary plugin for some HP Printers and All-in-One devices +# License agreement is required LICENSE= HPLIP_PLUGIN LICENSE_NAME= HPLIP Driver Plug-in License LICENSE_FILE= ${WRKSRC}/license.txt LICENSE_PERMS= none RUN_DEPENDS= hp-plugin:print/hplip -RESTRICTED= License agreement is required - ONLY_FOR_ARCHS= amd64 i386 # arm PLUGINS= fax/plugins/fax_marvell \ prnt/plugins/hbpl1 \ prnt/plugins/lj \ scan/plugins/bb_escl \ scan/plugins/bb_marvell \ scan/plugins/bb_soap \ scan/plugins/bb_soapht PLIST_SUB+= LINARCH="${LINARCH}" .include .if ${ARCH} == "i386" LINARCH= x86_32 .elif ${ARCH} == "amd64" LINARCH= x86_64 .endif do-extract: @${SH} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \ --keep --noexec --nox11 --target ${WRKSRC} do-build: ${MKDIR} ${WRKSRC}/build ${CC} ${CFLAGS} -Wall -fPIC -c ${FILESDIR}/wrap.c \ -o ${WRKSRC}/build/wrap.o .for p in ${PLUGINS} ${BRANDELF} -t FreeBSD ${WRKSRC}/${p:T}-${LINARCH}.so (cd ${WRKSRC}/build \ && ${CC} -shared -fPIC -o ${p:T}-${LINARCH}.so wrap.o \ && ${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -o ${p:T}.so wrap.o \ ${p:T}-${LINARCH}.so -Wl,-rpath,${PREFIX}/share/hplip/${p:H}) .endfor do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/hplip/data/firmware ${INSTALL_DATA} ${WRKSRC}/*.fw.gz \ ${STAGEDIR}${PREFIX}/share/hplip/data/firmware ${MKDIR} ${PLUGINS:H:S,^,${STAGEDIR}${PREFIX}/share/hplip/,} .for p in ${PLUGINS} # -m 555 because HPLIP checks that the plugins are +x. ${INSTALL_LIB} -m 555 ${WRKSRC}/${p:T}-${LINARCH}.so \ ${STAGEDIR}${PREFIX}/share/hplip/${p}-${LINARCH}.so ${INSTALL_LIB} -m 555 ${WRKSRC}/build/${p:T}.so \ ${STAGEDIR}${PREFIX}/share/hplip/${p}.so .endfor ${INSTALL_DATA} ${WRKSRC}/plugin.spec ${STAGEDIR}${PREFIX}/share/hplip ${MKDIR} ${STAGEDIR}/var/lib/hp ${ECHO_CMD} '[plugin]' > ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'installed = 1' >> ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'eula = 1' >> ${STAGEDIR}/var/lib/hp/hplip.state ${ECHO_CMD} 'version = ${PORTVERSION}' >> ${STAGEDIR}/var/lib/hp/hplip.state .include diff --git a/security/vpnc/Makefile b/security/vpnc/Makefile index e9a93ec5192f..21bb62e5c21a 100644 --- a/security/vpnc/Makefile +++ b/security/vpnc/Makefile @@ -1,72 +1,75 @@ # Created by: Christian Lackas PORTNAME= vpnc PORTVERSION= 0.5.3 PORTREVISION= 14 CATEGORIES= security net-vpn MASTER_SITES= http://www.unix-ag.uni-kl.de/~massar/vpnc/ \ LOCAL/ehaupt MAINTAINER= ports@FreeBSD.org COMMENT= Client for Cisco 3000 VPN Concentrator LICENSE= BSD2CLAUSE GPLv2+ LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE_NAME_VPNC= vpnc +LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/COPYING +LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING +LICENSE_TEXT_VPNC= Redistribution is not allowed if linked against OpenSSL +LICENSE_PERMS_VPNC= auto-accept LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error RUN_DEPENDS= vpnc-script:sysutils/vpnc-scripts USES= gmake perl5 shebangfix USE_PERL5= build USE_RC_SUBR= vpnc -LEGAL_TEXT= Redistribution is not allowed if linked against OpenSSL - ALL_TARGET= all SHEBANG_FILES= makeman.pl PORTDOCS= README TODO MAKE_ENV= BINS="${EXTRABUILDS}" OPTIONS_DEFINE= CISCOVERSION DECRYPT DOCS SSL OPTIONS_DEFAULT= DECRYPT OPTIONS_SUB= yes CISCOVERSION_DESC= Mask linux presentation string CISCOVERSION_CFLAGS= -DCISCO_PATCH_VERSION DECRYPT_DESC= cisco-decypt password decrypt utility DECRYPT_VARS= EXTRABUILDS+=cisco-decrypt -SSL_VARS= NO_PACKAGE="binary linked against OpenSSL must not be redistributed" +SSL_VARS= NO_PACKAGE="binary linked against OpenSSL must not be redistributed" \ + LICENSE+=VPNC SSL_CFLAGS= -DOPENSSL_GPL_VIOLATION SSL_LDFLAGS= -lcrypto post-patch: @${REINPLACE_CMD} \ -e 's|.*%%FREEBSD_IPLEN_FIX%%.*|#define NEED_IPLEN_FIX 1|' \ ${WRKSRC}/sysdep.h @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/config.c @${REINPLACE_CMD} -e 's|\(/etc/vpnc\)|${PREFIX}\1|' \ ${WRKSRC}/vpnc.8.template do-install: ${INSTALL_PROGRAM} ${WRKSRC}/vpnc ${STAGEDIR}${PREFIX}/sbin/vpnc ${INSTALL_SCRIPT} ${WRKSRC}/vpnc-disconnect \ ${STAGEDIR}${PREFIX}/sbin/vpnc-disconnect ${INSTALL_DATA} ${WRKSRC}/vpnc.conf \ ${STAGEDIR}${PREFIX}/etc/vpnc.conf.sample ${INSTALL_MAN} ${WRKSRC}/vpnc.8 ${STAGEDIR}${MANPREFIX}/man/man8 do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} do-install-DECRYPT-on: ${INSTALL_PROGRAM} ${WRKSRC}/cisco-decrypt ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/cisco-decrypt.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include diff --git a/sysutils/sas2ircu/Makefile b/sysutils/sas2ircu/Makefile index 184d3c77f269..53a31b5188a2 100644 --- a/sysutils/sas2ircu/Makefile +++ b/sysutils/sas2ircu/Makefile @@ -1,39 +1,37 @@ PORTNAME= sas2ircu PORTVERSION= 20.00.00.00 PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= https://docs.broadcom.com/docs-and-downloads/host-bus-adapters/host-bus-adapters-common-files/sas_sata_6g_p20_point6/ DISTNAME= SAS2IRCU_P20 MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Tool for basic management of mps(4) based LSI/Avago/Broadcom RAID controllers LICENSE= sas2ircu LICENSE_NAME= BROADCOM -LICENSE_TEXT= ${RESTRICTED} -LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept - -RESTRICTED= Source recipient must acknowledge license.\ +LICENSE_TEXT= Source recipient must acknowledge license.\ Reproduction or redistribution prohibited.\ See https://www.broadcom.com/cs/Satellite?pagename=AVG2/Utilities/EulaMsg +LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept USES= zip NO_BUILD= yes ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= Binaries only available for i386 and amd64 from Broadcom OPTIONS_DEFINE= DOCS do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sas2ircu_freebsd_${ARCH}_rel/sas2ircu\ ${STAGEDIR}${PREFIX}/sbin post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Readme_Release_Notes_SAS2IRCU_Phase_${PORTVERSION}.txt\ ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/SAS2IRCU_Phase20.0-${PORTVERSION}.pdf\ ${STAGEDIR}${DOCSDIR} .include diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile index 1db9991333bb..1a857e34ce97 100644 --- a/www/groupoffice/Makefile +++ b/www/groupoffice/Makefile @@ -1,62 +1,64 @@ # Created by: Aron Schlesinger PORTNAME= groupoffice DISTVERSIONPREFIX= com- DISTVERSION= 6.4.231 CATEGORIES= www MASTER_SITES= SF/group-office/${DISTVERSION:R} DISTNAME= ${PORTNAME}-${DISTVERSION}-php-71 MAINTAINER= joneum@FreeBSD.org COMMENT= Modular web application framework for office -LICENSE= AGPLv3 +LICENSE= AGPLv3 PERSONAL +LICENSE_COMB= multi +LICENSE_NAME_PERSONAL= Personal use +LICENSE_TEXT_PERSONAL= Free for personal use only +LICENSE_PERMS_PERSONAL= auto-accept USES= mysql shebangfix php:web python -RESTRICTED= Free for personal use only - NO_ARCH= yes NO_BUILD= yes USE_PHP= ctype curl dom fileinfo filter hash intl json mbstring \ mysqli openssl pcre pdo pdo_mysql phar posix session \ simplexml soap sysvshm sysvsem tokenizer xml xmlreader \ xmlwriter zip zlib SHEBANG_FILES= groupoffice \ groupofficecli.php \ modules/postfixadmin/scripts/vacation.pl \ vendor/sabre/dav/bin/naturalselection \ vendor/sabre/dav/bin/googlecode_upload.py \ vendor/bin/../sabre/dav/bin/naturalselection \ vendor/swiftmailer/swiftmailer/lib/swiftmailer_generate_mimes_config.php WWWDIR?= ${PREFIX}/www/${PORTNAME}${DISTVERSION:R:R} SUB_FILES= pkg-message OPTIONS_DEFINE= IMAP GD CALENDAR WBXML OPTIONS_DEFAULT=IMAP GD CALENDAR CALENDAR_DESC= Calendar holiday support IMAP_DESC= IMAP support GD_DESC= Gallery support (GD) WBXML_DESC= Synchronization Support CALENDAR_USE= PHP=calendar GD_USE= PHP=gd IMAP_USE= PHP=iconv imap WBXML_LIB_DEPENDS= libwbxml2.so:textproc/wbxml2 post-patch: @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/go/base/Config.php @${REINPLACE_CMD} 's|/etc/groupoffice|${PREFIX}&|g' \ ${WRKSRC}/go/modules/community/serverclient/model/HttpClient.php \ ${WRKSRC}/install/configfile.php \ ${WRKSRC}/modules/site/index.php do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} @${TOUCH} ${STAGEDIR}${WWWDIR}/config.php.sample .include diff --git a/www/thundercache/Makefile b/www/thundercache/Makefile index a0c1d3526cf0..905e0894d815 100644 --- a/www/thundercache/Makefile +++ b/www/thundercache/Makefile @@ -1,107 +1,105 @@ PORTNAME= thundercache PORTVERSION= 6.1 PORTREVISION= 15 CATEGORIES= www MASTER_SITES= http://www.thundercache.com.br/dist/ \ http://www.bmsoftware.org/packs/ \ http://www8.freebsdbrasil.com.br/~eksffa/thunder/ \ http://www6.freebsdbrasil.com.br/~eksffa/l/dev/thunder/ \ LOCAL/jmelo DISTNAME= thundercache-6.1.201104260900-${BITS}-fbsd MAINTAINER= eksffa@freebsdbrasil.com.br COMMENT= High-performance and high-efficiency caching proxy system LICENSE= commercial LICENSE_NAME= commercial LICENSE_TEXT= Commercial software with shareware license to 50 threads LICENSE_PERMS= dist-mirror pkg-mirror auto-accept -RESTRICTED= Commercial software with shareware license to 50 threads - OPTIONS_DEFINE= DEPENDACK APACHE PHP PGSQL OPTIONS_DEFAULT=DEPENDACK APACHE PHP PGSQL DEPENDACK_DESC= I have read and understood the depends needs APACHE_DESC= Install apache for reporting viewing PHP_DESC= Install PHP for reporting generating PGSQL_DESC= Install PostgreSQL (report data storing) USES= php shebangfix tar:bzip2 ssl SHEBANG_FILES= sbin/thunderlog.php USE_GCC= any ONLY_FOR_ARCHS= i386 amd64 USE_RC_SUBR= thundercache NO_BUILD= yes .include BITS= ${ARCH:S/amd64/64/:S/x86_64/64/:S/i386/32/}bits WRKSRC= ${WRKDIR}/thunder .if ${PORT_OPTIONS:MAPACHE} USES+= apache:run,2.2+ .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql WANT_PGSQL= server .endif .if ${PORT_OPTIONS:MPHP} USE_PHP+= curl pcre bcmath pdo mcrypt hash session . if ${PORT_OPTIONS:MPGSQL} USE_PHP+= pdo_pgsql pgsql . endif .endif LIB_DEPENDS+= libcurl.so:ftp/curl \ libutil.so:misc/compat8x SUB_FILES= pkg-message log.sh test-deps.sh SUB_LIST= "GREP=${GREP}" show-info: @${ECHO_MSG} "" @${ECHO_MSG} "ATTENTION:" @${ECHO_MSG} "" @${ECHO_MSG} " It is very important that you carefully read and respect" @${ECHO_MSG} " the special build options for the following depends:" @${ECHO_MSG} "" @${ECHO_MSG} " ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" @${ECHO_MSG} " security/openssl ZLIB=yes" @${ECHO_MSG} " devel/php5-pcre BUNDLED_PCRE=yes (for apache20)" @${ECHO_MSG} " postgresql${PGSQL_VER}-server \ NLS=yes PAM=yes OPTIMIZED_CFLAGS=yes TZDATA=yes" @${ECHO_MSG} "" @${ECHO_MSG} " After you understood it correctly, select DEPENDACK on" @${ECHO_MSG} " the OPTIONS screen. Run ''make config'' to acknowledge" @${ECHO_MSG} "" .if ! ${PORT_OPTIONS:MDEPENDACK} @${FALSE} .endif pre-everything::show-info do-install: @${CP} -r ${WRKSRC} ${STAGEDIR}${PREFIX}/ @${INSTALL_SCRIPT} ${WRKDIR}/log.sh ${STAGEDIR}${PREFIX}/thunder/sbin/ @${MKDIR} -m 755 ${STAGEDIR}/var/run/thunder @(${CHMOD} +x ${WRKDIR}/test-deps.sh ; \ if ! ${WRKDIR}/test-deps.sh > /dev/null 2>&1 ; then \ ${ECHO_MSG} "**** FATAL **** " ; \ ${ECHO_MSG} "**** THIS PORT MAY NOT WORK PROPERLY **** " ; \ ${ECHO_MSG} "Some depends are not built with required features." ; \ ${ECHO_MSG} "You must always honor at least the following options" ; \ ${ECHO_MSG} "depends as listed:" ; \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "ftp/curl LIBSSH2=yes OPENSSL=yes PROXY=yes" ; \ ${ECHO_MSG} "" ; \ ${ECHO_MSG} "Type ''make show-info'' to read further information." ; \ ${ECHO_MSG} "" ; \ fi) .include diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile index 1f8c09de6c03..d530594a4e4a 100644 --- a/x11-fonts/webfonts/Makefile +++ b/x11-fonts/webfonts/Makefile @@ -1,81 +1,81 @@ # Created by: Konstantinos Konstantinidis PORTNAME= webfonts PORTVERSION= 0.30 PORTREVISION= 14 CATEGORIES= x11-fonts MASTER_SITES= SF/corefonts/the%20fonts/final:group1 \ ftp://ftp.botik.ru/rented/znamensk/distributions/ftp.vsu.ru/pub/tex/font-packs/mscore/:group1 \ SF/corefonts/OldFiles/:group2 \ SF/mscorefonts2/cabs:group3 DISTFILES= andale32.exe:group1 arialb32.exe:group1 comic32.exe:group1 \ courie32.exe:group1 georgi32.exe:group1 impact32.exe:group1 \ verdan32.exe:group1 webdin32.exe:group1 EUupdate.EXE:group3 DIST_SUBDIR= ${PORTNAME} MAINTAINER= olgeni@FreeBSD.org COMMENT= TrueType core fonts for the Web +# Restrictive license - cannot sell for profit or distribute in modified form LICENSE= EULA LICENSE_NAME= End User License Agreement LICENSE_FILE= ${WRKSRC}/licen.txt LICENSE_PERMS= dist-mirror pkg-mirror auto-accept EXTRACT_DEPENDS=cabextract:archivers/cabextract USES= fonts NO_BUILD= yes -RESTRICTED= Restrictive license - cannot sell for profit or distribute in modified form EXTRACT_CMD= ${LOCALBASE}/bin/cabextract EXTRACT_BEFORE_ARGS= -qLF '[a-uw-z]*.ttf' -d ${WRKSRC} EXTRACT_AFTER_ARGS= OPTIONS_DEFINE= EXTRAFONTS CLEARTYPE NEWVERDANA DOCS COMIC OPTIONS_DEFAULT= COMIC OPTIONS_SUB= yes EXTRAFONTS_DESC= Fonts licensed under MS Windows license EXTRAFONTS_DISTFILES= IELPKTH.CAB:group2 CLEARTYPE_DESC= Install ClearType fonts CLEARTYPE_DISTFILES= PowerPointViewer.exe:group3 NEWVERDANA_DESC= Install y2006 version of Verdana (broken bold N, W) COMIC_DESC= Install Comic Sans SUB_FILES= pkg-message NO_ARCH= yes .include post-extract: ${EXTRACT_CMD} -qLF '*.txt' -d ${WRKSRC} ${_DISTDIR}/webdin32.exe post-extract-CLEARTYPE-on: ${EXTRACT_CMD} -qLF '*.cab' -d ${WRKSRC} \ ${_DISTDIR}/PowerPointViewer.exe ${EXTRACT_CMD} -qLF '*.txt' -d ${WRKSRC} \ ${_DISTDIR}/PowerPointViewer.exe ${EXTRACT_CMD} -qLF '*.ttf' -d ${WRKSRC} ${WRKSRC}/ppviewer.cab post-extract-NEWVERDANA-off: ${EXTRACT_CMD} -qLF '*.ttf' -d ${WRKSRC} ${_DISTDIR}/verdan32.exe post-extract-NEWVERDANA-on: ${EXTRACT_CMD} -qLF 'v*.ttf' -d ${WRKSRC} ${_DISTDIR}/EUupdate.EXE post-extract-COMIC-off: ${RM} ${WRKSRC}/comic.ttf ${WRKSRC}/comicbd.ttf do-install: @${MKDIR} ${STAGEDIR}${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/licen.txt ${STAGEDIR}${DOCSDIR}/LICENSE post-install-CLEARTYPE-on: ${INSTALL_DATA} ${WRKSRC}/eula.txt ${STAGEDIR}${DOCSDIR} .include diff --git a/x11-themes/gnome-icons-lila/Makefile b/x11-themes/gnome-icons-lila/Makefile index ee26e50d2211..439d4726ff6f 100644 --- a/x11-themes/gnome-icons-lila/Makefile +++ b/x11-themes/gnome-icons-lila/Makefile @@ -1,27 +1,30 @@ # Created by: Filippo Natali # Port logic gratuitously stolen from x11-themes/kde-icons-noia by # lioux@. If it's not defined here and you think it should be, check # x11-themes/gnome-icons/bsd.gnome-icons.mk for it. PORTNAME= lila PORTVERSION= 0.6.4 PORTREVISION= 1 CATEGORIES= x11-themes gnome MASTER_SITES= SF/lila-theme/lila-gnome/${PORTVERSION} DISTNAME= ${PORTNAME}-gnome_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Lila Icons for Gnome -LICENSE= GPLv2+ -LICENSE_FILE= ${WRKSRC}/Lila/LICENSE - -RESTRICTED= ${REASON} +# Converted from RESTRICTED +LICENSE= GPLv2+ icons +LICENSE_COMB= multi +LICENSE_NAME_icons= icons +LICENSE_FILE_GPLv2+ = ${WRKSRC}/Lila/LICENSE +LICENSE_TEXT_icons= ${REASON} +LICENSE_PERMS_icons= auto-accept NO_WRKSUBDIR= yes USES= tar:bzip2 .include "${.CURDIR}/../gnome-icons/bsd.gnome-icons.mk" .include