From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 25 09:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AE364CF9 for ; Sun, 25 Aug 2013 09:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8CFEF243B for ; Sun, 25 Aug 2013 09:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7P9o0o7048011 for ; Sun, 25 Aug 2013 09:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7P9o0uU048010; Sun, 25 Aug 2013 09:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 25 Aug 2013 09:50:00 GMT Resent-Message-Id: <201308250950.r7P9o0uU048010@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0F2A76C; Sun, 25 Aug 2013 09:40:36 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 54A4723C3; Sun, 25 Aug 2013 09:40:36 +0000 (UTC) Received: by sunpoet.net (Postfix, from userid 1000) id D744E4B95; Sun, 25 Aug 2013 17:41:58 +0800 (CST) Message-Id: <20130825094158.D744E4B95@sunpoet.net> Date: Sun, 25 Aug 2013 17:41:58 +0800 (CST) From: Sunpoet Po-Chuan Hsieh To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/181522: [PATCH] misc/libmetalink: update to 0.1.2 Cc: lioux@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Aug 2013 09:50:00 -0000 >Number: 181522 >Category: ports >Synopsis: [PATCH] misc/libmetalink: update to 0.1.2 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Aug 25 09:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 9.1-STABLE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r252797: Sat Jul 6 07:57:04 >Description: - Update to 0.1.2 - Remove LICENSE_FILE for well-known licenses - Convert to new options framework - Pet portlint: remove ABI version number from LIB_DEPENDS - Cleanup Makefile header Port maintainer (lioux@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_8 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- libmetalink-0.1.2.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 325335) +++ Makefile (working copy) @@ -1,58 +1,40 @@ -# New ports collection makefile for: libmetalink -# Date created: Mon 11 Aug 2008 11:28:33 UTC -# Whom: Mario Sergio Fujikawa Ferreira -# +# Created by: Mario Sergio Fujikawa Ferreira # $FreeBSD$ -# PORTNAME= libmetalink -PORTVERSION= 0.0.3 +PORTVERSION= 0.1.2 CATEGORIES= misc -MASTER_SITES= http://launchpad.net/libmetalink/trunk/${PORTVERSION}/+download/ +MASTER_SITES= https://launchpadlibrarian.net/113836499/ MAINTAINER= lioux@FreeBSD.org COMMENT= Metalink library written in C language -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 - LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/COPYING -FETCH_ARGS= +LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 + +OPTIONS_DEFINE= EXAMPLES + +CONFIGURE_ARGS= --with-libexpat --without-libxml2 +CPPFLAGS+= -I${LOCALBASE}/include +GNU_CONFIGURE= yes +LDFLAGS+= -L${LOCALBASE}/lib USE_BZIP2= yes -USE_GCC= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= \ - --with-libexpat-prefix="${LOCALBASE}" \ - --with-libxml2="no" USE_LDCONFIG= yes +USES= pathfix -# Examples to install -EXAMPLES_FILES= \ - doc/sample.c \ - doc/ubuntu-7_10-server-i386_iso.metalink +PORTEXAMPLES= LibO_3.5.4_Win_x86_install_multi.msi.meta4 metalinkcat.c ubuntu-12.04-server-amd64.metalink -.ifndef(NOPORTEXAMPLES) -PORTEXAMPLES= * -.endif +.include post-patch: # do not automagically install either documents or examples - @${REINPLACE_CMD} -E \ - -e 's|^(install:).*|\1|' \ - ${WRKSRC}/doc/Makefile.in -# fix pkgconfig install destination - @${REINPLACE_CMD} -E \ - -e 's|^(pkgconfigdir[[:space:]]*=).*$$|\1${PREFIX}/libdata/pkgconfig|' \ - ${WRKSRC}/lib/Makefile.in + @${REINPLACE_CMD} -E -e 's|^(install:).*|\1|' ${WRKSRC}/doc/Makefile.in post-install: -# examples -.ifndef(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} -.for file in ${EXAMPLES_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} -.endfor +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR}/ + cd ${WRKSRC}/doc/examples/ && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}/ .endif .include Index: distinfo =================================================================== --- distinfo (revision 325335) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (libmetalink-0.0.3.tar.bz2) = 0bdc2cc0366b2b7bcf16eff31a5edc4d39b41430856afce04ad9dd9bbcc8c42c -SIZE (libmetalink-0.0.3.tar.bz2) = 267023 +SHA256 (libmetalink-0.1.2.tar.bz2) = cbed9121bf550ef14a434d6ed3d8806ded7a339db16b698cfa2f39fdc3d48bf6 +SIZE (libmetalink-0.1.2.tar.bz2) = 324431 Index: pkg-plist =================================================================== --- pkg-plist (revision 325335) +++ pkg-plist (working copy) @@ -1,9 +1,11 @@ +include/metalink/metalink.h include/metalink/metalink_error.h include/metalink/metalink_parser.h include/metalink/metalink_types.h +include/metalink/metalinkver.h lib/libmetalink.a lib/libmetalink.la lib/libmetalink.so -lib/libmetalink.so.1 +lib/libmetalink.so.3 libdata/pkgconfig/libmetalink.pc @dirrm include/metalink --- libmetalink-0.1.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: