From owner-svn-ports-head@FreeBSD.ORG Fri Jun 13 09:18:54 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id 23C4EF09; Fri, 13 Jun 2014 09:18:54 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 114222428; Fri, 13 Jun 2014 09:18:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5D9IrDp094714; Fri, 13 Jun 2014 09:18:53 GMT (envelope-from pawel@svn.freebsd.org) Received: (from pawel@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5D9IrfU094713; Fri, 13 Jun 2014 09:18:53 GMT (envelope-from pawel@svn.freebsd.org) Message-Id: <201406130918.s5D9IrfU094713@svn.freebsd.org> From: Pawel Pekala Date: Fri, 13 Jun 2014 09:18:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r357661 - head/misc/metalink-tools X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 09:18:54 -0000 Author: pawel Date: Fri Jun 13 09:18:53 2014 New Revision: 357661 URL: http://svnweb.freebsd.org/changeset/ports/357661 QAT: https://qat.redports.org/buildarchive/r357661/ Log: - Add staging support - Convert to new LIB_DEPENDS format, options framework Modified: head/misc/metalink-tools/Makefile Modified: head/misc/metalink-tools/Makefile ============================================================================== --- head/misc/metalink-tools/Makefile Fri Jun 13 09:12:16 2014 (r357660) +++ head/misc/metalink-tools/Makefile Fri Jun 13 09:18:53 2014 (r357661) @@ -11,14 +11,14 @@ PKGNAMESUFFIX?= -tools MAINTAINER= ports@FreeBSD.org COMMENT= Metalink generation tool -LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt \ - glibmm-2.4.1:${PORTSDIR}/devel/glibmm \ - gpg-error.0:${PORTSDIR}/security/libgpg-error \ - sigc-2.0.0:${PORTSDIR}/devel/libsigc++20 - LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \ + libglibmm-2.4.so:${PORTSDIR}/devel/glibmm \ + libgpg-error.so:${PORTSDIR}/security/libgpg-error \ + libsigc-2.0.so:${PORTSDIR}/devel/libsigc++20 + USE_GNOME= glib20 GNU_CONFIGURE= yes USES= pkgconfig @@ -26,25 +26,14 @@ CONFIGURE_ENV+= AWK="${AWK}" CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -# Documents to install -DOC_FILES= \ - README - -.ifndef(NOPORTDOCS) -PORTDOCS= * -.endif - +PORTDOCS= README PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + do-install: -# docs -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -.for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -.endfor -.endif - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include