diff --git a/chinese/libchewing/Makefile b/chinese/libchewing/Makefile index 04cb097f1b12..9d3cafeb774f 100644 --- a/chinese/libchewing/Makefile +++ b/chinese/libchewing/Makefile @@ -15,13 +15,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${LOCALBASE}/bin/makeinfo:print/texinfo -USES= cmake libtool pathfix pkgconfig sqlite tar:bzip2 -USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= chewing -CMAKE_ARGS+= -DMAKEINFO=${LOCALBASE}/bin/makeinfo -CFLAGS+= -I${LOCALBASE}/include +USES= cmake libtool localbase pathfix pkgconfig sqlite +CMAKE_ARGS= -DMAKEINFO=${LOCALBASE}/bin/makeinfo +USE_LDCONFIG= yes + INFO= libchewing .include diff --git a/devel/libtpl/Makefile b/devel/libtpl/Makefile index b42e80c46a98..0ceae9299dfa 100644 --- a/devel/libtpl/Makefile +++ b/devel/libtpl/Makefile @@ -14,7 +14,7 @@ LICENSE_COMB= multi OPTIONS_DEFINE= DOCS -USES= libtool tar:bzip2 +USES= libtool USE_GITHUB= yes GH_ACCOUNT= waitman GH_TAGNAME= 8fa17e5 @@ -29,7 +29,7 @@ PLIST_FILES= lib/libtpl.a lib/libtpl.so \ PORTDOCS= ChangeLog.txt examples.txt userguide.txt compiling.txt -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR} diff --git a/devel/php-Psr_Log/Makefile b/devel/php-Psr_Log/Makefile index 4c356020248a..cdcfeb98b1f2 100644 --- a/devel/php-Psr_Log/Makefile +++ b/devel/php-Psr_Log/Makefile @@ -12,14 +12,14 @@ COMMENT= PSR-3 logger interface LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE - -USES= tar:tgz -NO_BUILD= yes USE_GITHUB= yes GH_ACCOUNT= php-fig GH_PROJECT= log +NO_BUILD= yes +NO_ARCH= yes + PLIST_FILES= share/pear/Psr/Log/AbstractLogger.php \ share/pear/Psr/Log/InvalidArgumentException.php \ share/pear/Psr/Log/LogLevel.php \ @@ -31,7 +31,7 @@ PLIST_FILES= share/pear/Psr/Log/AbstractLogger.php \ share/pear/Psr/Log/Test/LoggerInterfaceTest.php do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/pear/Psr/Log/Test + @${MKDIR} ${STAGEDIR}${PREFIX}/share/pear/Psr/Log/Test .for file in ${PLIST_FILES} ${INSTALL_DATA} ${WRKSRC}/${file:S/share\/pear\///} ${STAGEDIR}${PREFIX}/${file} .endfor diff --git a/devel/php-uprofiler/Makefile b/devel/php-uprofiler/Makefile index 9493e4df8cc6..25356c8c9c5d 100644 --- a/devel/php-uprofiler/Makefile +++ b/devel/php-uprofiler/Makefile @@ -11,6 +11,7 @@ MAINTAINER= gasol.wu@gmail.com COMMENT= Lightweight profiler for PHP LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE BROKEN_aarch64= Does not build: invokes x86 asm BROKEN_mips64= Does not build: invokes x86 asm @@ -22,7 +23,7 @@ GH_ACCOUNT= FriendsOfPHP GH_TAGNAME= 483c1e5 WRKSRC_SUBDIR= extension -USES= php:ext tar:tgz +USES= php:ext IGNORE_WITH_PHP= 70 .include diff --git a/devel/qjson/Makefile b/devel/qjson/Makefile index 9ae7e1b6ed36..1d4bc3485829 100644 --- a/devel/qjson/Makefile +++ b/devel/qjson/Makefile @@ -9,11 +9,12 @@ MAINTAINER= avilla@FreeBSD.org COMMENT= Library to manage JSON objects with Qt LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING.lib USE_GITHUB= yes GH_ACCOUNT= flavio GH_TAGNAME= ${PORTVERSION} -USES= cmake pathfix tar:bzip2 +USES= cmake pathfix USE_LDCONFIG= yes .if empty(PKGNAMESUFFIX) @@ -39,17 +40,11 @@ OPTIONS_SUB= yes DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen -.include - -post-build: -.if ${PORT_OPTIONS:MDOXYGEN} +post-build-DOXYGEN-on: cd ${WRKSRC}/doc && doxygen -.endif -post-install: -.if ${PORT_OPTIONS:MDOXYGEN} +post-install-DOXYGEN-on: ${MKDIR} ${STAGEDIR}${_DOCSDIR} - cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} \* ${STAGEDIR}${_DOCSDIR} -.endif + cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${_DOCSDIR} .include diff --git a/devel/qjson/pkg-descr b/devel/qjson/pkg-descr index 3fd6cf776b4e..07b06a4dd5a8 100644 --- a/devel/qjson/pkg-descr +++ b/devel/qjson/pkg-descr @@ -6,4 +6,4 @@ QJson is a Qt-based library that maps JSON data to QVariant objects and vice versa. JSON arrays will be mapped to QVariantList instances, while JSON objects will be mapped to QVariantMap. -WWW: http://qjson.sourceforge.net +WWW: http://qjson.sourceforge.net/ diff --git a/devel/qross/Makefile b/devel/qross/Makefile index fd8ab3473922..675bd411b506 100644 --- a/devel/qross/Makefile +++ b/devel/qross/Makefile @@ -9,7 +9,9 @@ CATEGORIES= devel MAINTAINER= vg@FreeBSD.org COMMENT= Qt-only fork of Kross, the KDE scripting framework -USES= cmake tar:bzip2 +LICENSE= LGPL20+ + +USES= cmake USE_LDCONFIG= yes USE_QT4= designer gui network xml qmake_build uic_build moc_build \ rcc_build script testlib diff --git a/mail/roundcube-thunderbird_labels/Makefile b/mail/roundcube-thunderbird_labels/Makefile index 8aec906a4e8e..332c85d78e11 100644 --- a/mail/roundcube-thunderbird_labels/Makefile +++ b/mail/roundcube-thunderbird_labels/Makefile @@ -14,7 +14,6 @@ LICENSE= BSD2CLAUSE RUN_DEPENDS= roundcube>=0.5:mail/roundcube -USES= tar:bzip2 NO_BUILD= yes NO_ARCH= yes @@ -34,8 +33,8 @@ x-generate-plist: build >${.CURDIR}/pkg-plist.tmp do-install: - ${MKDIR} ${STAGEDIR}${PLUGINDIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${PLUGINDIR} + @${MKDIR} ${STAGEDIR}${PLUGINDIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PLUGINDIR} cd ${STAGEDIR}${PLUGINDIR} && \ ${MV} config.inc.php config.inc.php.sample diff --git a/security/honggfuzz/Makefile b/security/honggfuzz/Makefile index 1867bd04e927..5cac1b68f0b2 100644 --- a/security/honggfuzz/Makefile +++ b/security/honggfuzz/Makefile @@ -11,7 +11,7 @@ COMMENT= General-purpose fuzzer with simple, command-line interface LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING -USES= gmake tar:tgz +USES= gmake USE_GITHUB= yes GH_ACCOUNT= google GC_TAGNAME= 6d01e82 @@ -22,12 +22,14 @@ BROKEN_FreeBSD_9=Does not build on 9.x: compiler options unrecognized # inplace replacement to remove relative binary path in examples scripts post-patch: - ${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh - ${REINPLACE_CMD} -i "" -e 's,gcc,${CC},' \ + @${REINPLACE_CMD} -i "" -E "s,\.\./,," ${WRKSRC}/examples/*.sh + @${REINPLACE_CMD} -i "" -e 's,gcc,${CC},' \ -e 's| -Werror||' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) diff --git a/security/proxytunnel/Makefile b/security/proxytunnel/Makefile index 1e69d10a4fbe..5729d32379d8 100644 --- a/security/proxytunnel/Makefile +++ b/security/proxytunnel/Makefile @@ -8,12 +8,14 @@ CATEGORIES= security MAINTAINER= ehaupt@FreeBSD.org COMMENT= Connects stdin and stdout to an origin server through an HTTPS proxy -LICENSE= GPLv2 +LICENSE= GPLv2+ BSD3CLAUSE MIT +LICENSE_COMB= multi +LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= asciidoc:textproc/asciidoc \ xmlto:textproc/xmlto -USES= pkgconfig gmake tar:tgz ssl +USES= pkgconfig gmake ssl USE_GITHUB= yes PLIST_FILES= bin/proxytunnel man/man1/proxytunnel.1.gz diff --git a/security/tripwire/Makefile b/security/tripwire/Makefile index 1c2624d6aa8a..c1451b34068e 100644 --- a/security/tripwire/Makefile +++ b/security/tripwire/Makefile @@ -16,7 +16,7 @@ GH_PROJECT= tripwire-open-source NO_LICENSES_INSTALL= yes MAKE_JOBS_UNSAFE= yes -USES= gmake tar:bzip2 +USES= gmake GNU_CONFIGURE= yes MAKE_ARGS= SYSPRE=${ARCH}-unknown-freebsd \ DESTDIR=${STAGEDIR} diff --git a/sysutils/life-preserver/Makefile b/sysutils/life-preserver/Makefile index 2eaeac38c12c..89574d13b527 100644 --- a/sysutils/life-preserver/Makefile +++ b/sysutils/life-preserver/Makefile @@ -14,8 +14,9 @@ RUN_DEPENDS= ${LOCALBASE}/share/pcbsd/scripts/functions.sh:sysutils/pcbsd-libsh stunnel:security/stunnel WRKSRC_SUBDIR= src-sh/lpreserver -USES= pkgconfig tar:xz +USES= pkgconfig NO_BUILD= yes +NO_ARCH= yes MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} USE_GITHUB= yes diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile index 65e85271b3d1..dae471052df6 100644 --- a/textproc/codespell/Makefile +++ b/textproc/codespell/Makefile @@ -8,8 +8,9 @@ MAINTAINER= gjb@FreeBSD.org COMMENT= Source code spelling checker LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -USES= python:3 tar:xz +USES= python:3 USE_GITHUB= yes GH_ACCOUNT= lucasdemarchi @@ -18,25 +19,29 @@ GH_TAGNAME= 4cb7fe3 OPTIONS_DEFINE= DOCS EXAMPLES PLIST_FILES= bin/codespell -PORTDOCS= COPYING NEWS TODO +PORTDOCS= NEWS TODO PORTEXAMPLES= * +NO_ARCH= yes + SUB_FILES+= pkg-message do-build: - ${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${PYTHON_CMD}|' \ + @${REINPLACE_CMD} 's|#!/usr/bin/env python3|#!${PYTHON_CMD}|' \ ${WRKSRC}/codespell.py - ${REINPLACE_CMD} "s|^default_dictionary = .*|default_dictionary = '${EXAMPLESDIR}/data/dictionary.txt'|" \ + @${REINPLACE_CMD} "s|^default_dictionary = .*|default_dictionary = '${EXAMPLESDIR}/data/dictionary.txt'|" \ ${WRKSRC}/codespell.py do-install: ${INSTALL_SCRIPT} ${WRKSRC}/codespell.py ${STAGEDIR}${PREFIX}/bin/codespell +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} . for i in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} . endfor +do-install-EXAMPLES-on: .for i in data example @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${i} ${INSTALL_DATA} ${WRKSRC}/${i}/* ${STAGEDIR}${EXAMPLESDIR}/${i} diff --git a/textproc/pecl-ctemplate/Makefile b/textproc/pecl-ctemplate/Makefile index 41da5b03b677..aa55cb911930 100644 --- a/textproc/pecl-ctemplate/Makefile +++ b/textproc/pecl-ctemplate/Makefile @@ -13,15 +13,12 @@ COMMENT= PECL extension for ctemplate library LIB_DEPENDS= libctemplate.so:textproc/google-ctemplate -USES= php:ext tar:xz +USES= php:ext localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= vanillahsu GH_PROJECT= pecl-ctemplate IGNORE_WITH_PHP= 70 -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${EXTRA_LIBS} - CONFIGURE_ARGS= --with-cTemplate=${LOCALBASE} .include diff --git a/textproc/php-mecab/Makefile b/textproc/php-mecab/Makefile index 5a3e4ae1164a..66af20db3e3c 100644 --- a/textproc/php-mecab/Makefile +++ b/textproc/php-mecab/Makefile @@ -18,8 +18,8 @@ USE_GITHUB= yes GH_ACCOUNT= rsky WRKSRC_SUBDIR= mecab -CONFIGURE_ARGS+= --with-mecab=${LOCALBASE}/bin/mecab-config -USES= php:ext tar:tgz +CONFIGURE_ARGS= --with-mecab=${LOCALBASE}/bin/mecab-config +USES= php:ext PHP_MODNAME= mecab .include diff --git a/textproc/templates_parser/Makefile b/textproc/templates_parser/Makefile index 7eee4a491faf..0fe334e55c45 100644 --- a/textproc/templates_parser/Makefile +++ b/textproc/templates_parser/Makefile @@ -8,13 +8,14 @@ CATEGORIES= textproc MAINTAINER= marino@FreeBSD.org COMMENT= Web page template engine module for the Ada Web Server -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING3 BUILD_DEPENDS= gprbuild:devel/gprbuild \ xmlada>=4.4:textproc/xmlada RUN_DEPENDS= xmlada>=4.4:textproc/xmlada -USES= ada:run gmake tar:bzip2 +USES= ada:run gmake USE_GITHUB= yes GH_ACCOUNT= AdaCore GH_PROJECT= templates-parser @@ -22,7 +23,7 @@ GH_TAGNAME= 1d62939 DESTINC= ${STAGEDIR}${PREFIX}/include/templates_parser PLIST_SUB= LIBVER=${PORTVERSION:R} -MAKE_ARGS+= PROCESSORS=${MAKE_JOBS_NUMBER} \ +MAKE_ARGS= PROCESSORS=${MAKE_JOBS_NUMBER} \ ENABLE_SHARED=true \ HOST=${CONFIGURE_TARGET} \ TARGET=${CONFIGURE_TARGET} \ diff --git a/x11-toolkits/qtermwidget/Makefile b/x11-toolkits/qtermwidget/Makefile index 565145abe9e0..de1c2bf4f646 100644 --- a/x11-toolkits/qtermwidget/Makefile +++ b/x11-toolkits/qtermwidget/Makefile @@ -8,9 +8,10 @@ CATEGORIES= x11-toolkits MAINTAINER= bacon4000@gmail.com COMMENT= Terminal widget for QTerminal -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/LICENSE -USES= cmake:outsource compiler:c++11-lang pkgconfig tar:xz +USES= cmake:outsource compiler:c++11-lang pkgconfig USE_LDCONFIG= yes USE_QT5= buildtools_build core gui qmake_build widgets