diff --git a/devel/autoconf2.13/Makefile b/devel/autoconf2.13/Makefile index 8d42bb10400c..74f145be1801 100644 --- a/devel/autoconf2.13/Makefile +++ b/devel/autoconf2.13/Makefile @@ -1,66 +1,66 @@ # Created by: torstenb@FreeBSD.org PORTNAME= autoconf PORTVERSION= 2.13 CATEGORIES= devel MASTER_SITES= LOCAL/ade/gnu PKGNAMESUFFIX= ${VERSION} DISTNAME= autoconf-000227 # 2000-02-27 snapshot post 2.13 MAINTAINER= tijl@FreeBSD.org COMMENT= Generate configure scripts and related files LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gm4:devel/m4 RUN_DEPENDS= autoconf-switch>=0:devel/autoconf-switch \ gm4:devel/m4 VERSION= 2.13 USES= desthack perl5 tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-suffix=${VERSION} CONFIGURE_ENV= AWK=${AWK} \ M4=${LOCALBASE}/bin/gm4 STRIP= DATADIR= ${PREFIX}/share/autoconf${VERSION} NO_ARCH= yes -PORTSCOUT= ignore +PORTSCOUT= ignore:1 WRKSRC= ${WRKDIR}/autoconf PLIST_SUB= VERSION=${VERSION} OPTIONS_DEFINE= INFO OPTIONS_DEFAULT=INFO INFO_USES= makeinfo INFO_INFO= autoconf${VERSION} post-patch: @${REINPLACE_CMD} '/^acdatadir =/s/autoconf/&${VERSION}/' \ ${WRKSRC}/Makefile.in @${RM} ${WRKSRC}/standards.texi post-patch-INFO-on: @${REINPLACE_CMD} -E 's/autoconf\.(info|texi)/autoconf${VERSION}.\1/g' \ ${WRKSRC}/Makefile.in @${CP} ${WRKSRC}/autoconf.texi ${WRKSRC}/autoconf${VERSION}.texi @${REINPLACE_CMD} \ -e 's/autoconf\.info/autoconf${VERSION}.info/' \ -e '/^@direntry/,/^@end/ { \ s/^\*[^-:]*/&${VERSION}/ ; \ s/(autoconf)/(autoconf${VERSION})/ ; \ s/ \{2,9\}/ / ; }' \ ${WRKSRC}/autoconf${VERSION}.texi post-patch-INFO-off: @${REINPLACE_CMD} \ -e '/^all:/s/ info//' \ -e '/^install:/s/ install-info//' \ ${WRKSRC}/Makefile.in .include diff --git a/devel/autoconf2.69/Makefile b/devel/autoconf2.69/Makefile index 308419ef0b64..c8ac8472611f 100644 --- a/devel/autoconf2.69/Makefile +++ b/devel/autoconf2.69/Makefile @@ -1,85 +1,85 @@ # Created by: ade@FreeBSD.org PORTNAME= autoconf PORTVERSION= 2.69 CATEGORIES= devel MASTER_SITES= GNU PKGNAMESUFFIX= ${VERSION} MAINTAINER= tijl@FreeBSD.org COMMENT= Generate configure scripts and related files LICENSE= EXCEPTION GFDL GPLv2+ GPLv3+ LICENSE_COMB= multi LICENSE_NAME_EXCEPTION= AUTOCONF CONFIGURE SCRIPT EXCEPTION LICENSE_FILE_EXCEPTION= ${WRKSRC}/COPYING.EXCEPTION LICENSE_FILE_GFDL= ${WRKSRC}/doc/fdl.texi LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING LICENSE_FILE_GPLv3+ = ${WRKSRC}/COPYINGv3 LICENSE_PERMS_EXCEPTION=dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= gm4:devel/m4 RUN_DEPENDS= autoconf-switch>=0:devel/autoconf-switch \ gm4:devel/m4 VERSION= 2.69 USES= perl5 tar:xz GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-suffix=${VERSION} \ --without-lispdir CONFIGURE_ENV= AWK=${AWK} \ EMACS=no \ M4=${LOCALBASE}/bin/gm4 DATADIR= ${PREFIX}/share/autoconf${VERSION} NO_ARCH= yes -PORTSCOUT= ignore +PORTSCOUT= ignore:1 PLIST_SUB= VERSION=${VERSION} OPTIONS_DEFINE= INFO OPTIONS_DEFAULT=INFO INFO_USES= makeinfo INFO_INFO= autoconf${VERSION} post-patch: @${FIND} ${WRKSRC} -name Makefile.in -exec ${REINPLACE_CMD} \ '/^pkgdatadir =/s/@PACKAGE@/&@VERSION@/' {} + @${REINPLACE_CMD} -E \ -e 's,([^-/]auto)(conf|header|reconf|scan|update),\1\2${VERSION},g' \ -e 's,(config\.guess|config\.sub|ifnames),\1${VERSION},g' \ ${WRKSRC}/man/*.1 # Save timestamps. @${LN} ${WRKSRC}/build-aux/config.guess \ ${WRKSRC}/build-aux/config.guess.orig @${LN} ${WRKSRC}/build-aux/config.sub \ ${WRKSRC}/build-aux/config.sub.orig post-patch-INFO-on: @${REINPLACE_CMD} -E 's/autoconf\.(info|texi)/autoconf${VERSION}.\1/g' \ ${WRKSRC}/doc/Makefile.in @${CP} ${WRKSRC}/doc/autoconf.texi ${WRKSRC}/doc/autoconf${VERSION}.texi @${REINPLACE_CMD} \ -e 's/autoconf\.info/autoconf${VERSION}.info/' \ -e '/^@direntry/,/^@end/ { \ s/^\*[^-:]*/&${VERSION}/ ; \ s/(autoconf)/(autoconf${VERSION})/ ; \ s/ \{2,9\}/ / ; }' \ ${WRKSRC}/doc/autoconf${VERSION}.texi # Restore timestamp in .info file. @${TOUCH} -r ${WRKSRC}/doc/autoconf.texi.orig \ ${WRKSRC}/doc/autoconf${VERSION}.texi post-patch-INFO-off: @${REINPLACE_CMD} '/^INFO_DEPS =/d' ${WRKSRC}/doc/Makefile.in post-configure: # Restore timestamps to prevent regeneration of man pages. @${TOUCH} -r ${WRKSRC}/build-aux/config.guess.orig \ ${WRKSRC}/build-aux/config.guess @${TOUCH} -r ${WRKSRC}/build-aux/config.sub.orig \ ${WRKSRC}/build-aux/config.sub .include diff --git a/print/hplip-plugin/Makefile b/print/hplip-plugin/Makefile index be7153118999..637e70284485 100644 --- a/print/hplip-plugin/Makefile +++ b/print/hplip-plugin/Makefile @@ -1,76 +1,78 @@ # Created by: amistry@am-productions.biz PORTNAME= hplip-plugin PORTVERSION= 3.22.4 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 ONLY_FOR_ARCHS= amd64 i386 # arm RUN_DEPENDS= hp-plugin:print/hplip +PORTSCOUT= ignore:1 + 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/mbedtls/Makefile b/security/mbedtls/Makefile index 706fc9d672c3..f95fa8406b3b 100644 --- a/security/mbedtls/Makefile +++ b/security/mbedtls/Makefile @@ -1,36 +1,38 @@ PORTNAME= mbedtls PORTVERSION= 2.28.0 DISTVERSIONPREFIX=${PORTNAME}- CATEGORIES= security devel MAINTAINER= tijl@FreeBSD.org COMMENT= SSL/TLS and cryptography library LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= gmake python:test shebangfix SHEBANG_FILES= scripts/*.py tests/scripts/*.py USE_GITHUB= yes -GH_ACCOUNT= ARMmbed +GH_ACCOUNT= Mbed-TLS ALL_TARGET= no_test TEST_TARGET= test MAKE_ENV= PYTHON=${PYTHON_CMD} SHARED=1 USE_LDCONFIG= yes +PORTSCOUT= limit:^${PORTVERSION:R:S/./\./g}\. + post-patch: @${RM} ${WRKSRC}/include/mbedtls/*.orig @${REINPLACE_CMD} \ -e 's/PREFIX/NAMEPREFIX/' \ -e 's/$$(DESTDIR)/&$$(PREFIX)/' \ ${WRKSRC}/Makefile @${REINPLACE_CMD} 's/-fpic//' ${WRKSRC}/library/Makefile post-install: ${FIND} ${STAGEDIR}${PREFIX}/bin -type f -not -name \*.sh \ -exec ${STRIP_CMD} {} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so .include