From owner-svn-ports-all@FreeBSD.ORG Sat Jan 25 16:18:31 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D004E5C1; Sat, 25 Jan 2014 16:18:31 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BBBDB1DF3; Sat, 25 Jan 2014 16:18:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0PGIVUe086000; Sat, 25 Jan 2014 16:18:31 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0PGIVLS085999; Sat, 25 Jan 2014 16:18:31 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201401251618.s0PGIVLS085999@svn.freebsd.org> From: Martin Wilke Date: Sat, 25 Jan 2014 16:18:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341046 - in head/graphics/gkrellkam2: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 16:18:31 -0000 Author: miwi Date: Sat Jan 25 16:18:31 2014 New Revision: 341046 URL: http://svnweb.freebsd.org/changeset/ports/341046 QAT: https://qat.redports.org/buildarchive/r341046/ Log: - Support CC properly - Add LICENSE - Stage support PR: 185346 Submitted by: ports fury Deleted: head/graphics/gkrellkam2/files/patch-aa Modified: head/graphics/gkrellkam2/Makefile Modified: head/graphics/gkrellkam2/Makefile ============================================================================== --- head/graphics/gkrellkam2/Makefile Sat Jan 25 16:17:42 2014 (r341045) +++ head/graphics/gkrellkam2/Makefile Sat Jan 25 16:18:31 2014 (r341046) @@ -6,23 +6,33 @@ PORTVERSION= 2.0.0 PORTREVISION= 12 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}2/${PORTVERSION} +PKGNAMESUFFIX= 2 DISTNAME= ${PORTNAME}_${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= GKrellM plugin that display thumbnails of periodically updated images -BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2 -RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 +LICENSE= GPLv2 # (or later) + +BUILD_DEPENDS= gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2 +RUN_DEPENDS= gkrellm2>0:${PORTSDIR}/sysutils/gkrellm2 WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + USES= gmake pkgconfig -LATEST_LINK= gkrellkam2 -MAN5= gkrellkam-list.5 -PLIST_FILES= libexec/gkrellm2/plugins/gkrellkam2.so +PLIST_FILES= libexec/gkrellm2/plugins/gkrellkam2.so \ + man/man5/gkrellkam-list.5.gz -MAKE_ENV+= MKDIR="${MKDIR}" \ - INSTALL_DATA="${INSTALL_DATA}" +post-patch: + @${REINPLACE_CMD} -e \ + 's|gcc|$$(CC)|' ${WRKSRC}/Makefile + +do-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins + (cd ${WRKSRC} && ${INSTALL_LIB} gkrellkam2.so \ + ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins) + (cd ${WRKSRC} && ${INSTALL_MAN} gkrellkam-list.5 \ + ${STAGEDIR}${MAN5PREFIX}/man/man5) -NO_STAGE= yes .include