Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 16:18:31 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341046 - in head/graphics/gkrellkam2: . files
Message-ID:  <201401251618.s0PGIVLS085999@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401251618.s0PGIVLS085999>