Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2012 17:57:59 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306876 - in head/x11/gnome-clipboard-daemon: . files
Message-ID:  <201211021757.qA2Hvx4v073524@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Fri Nov  2 17:57:59 2012
New Revision: 306876
URL: http://svn.freebsd.org/changeset/ports/306876

Log:
  - Update MASTER_SITES
  - Add LICENSE
  - Add MAKE_JOBS_SAFE
  
  PR:		ports/172255
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
  Feature safe:	yes

Deleted:
  head/x11/gnome-clipboard-daemon/files/
Modified:
  head/x11/gnome-clipboard-daemon/Makefile
  head/x11/gnome-clipboard-daemon/distinfo

Modified: head/x11/gnome-clipboard-daemon/Makefile
==============================================================================
--- head/x11/gnome-clipboard-daemon/Makefile	Fri Nov  2 17:36:45 2012	(r306875)
+++ head/x11/gnome-clipboard-daemon/Makefile	Fri Nov  2 17:57:59 2012	(r306876)
@@ -1,24 +1,32 @@
-# New ports collection makefile for:	gnome-clipboard-daemon
-# Date created:				24 January 2004
-# Whom:					Mezz <mezz7@cox.net>
-#
+# Created by: Mezz <mezz7@cox.net>
 # $FreeBSD$
-#
 
 PORTNAME=	gnome-clipboard-daemon
 PORTVERSION=	1.0
 PORTREVISION=	11
 CATEGORIES=	x11 gnome
 MASTER_SITES=	http://members.chello.nl/~h.lai/gnome-clipboard-daemon/
+DISTNAME=	${PORTNAME:S,^gnome-,,}-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A program that keeps the content of your X clipboard in memory
+COMMENT=	Program that keeps the content of your X clipboard in memory
+
+LICENSE=	GPLv2
 
-PLIST_FILES=	bin/gnome-clipboard-daemon
 USE_BZIP2=	yes
+USE_PKGCONFIG=	build
 USE_GNOME=	gtk20
+MAKE_JOBS_SAFE=	yes
+
+PLIST_FILES=	bin/${PORTNAME}
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|^CC=|CC?=| ; \
+		 s|^CFLAGS=|CFLAGS?=| ; \
+		 s|-o clipboard-daemon |-o ${PORTNAME} |' ${WRKSRC}/Makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin)
 
 .include <bsd.port.mk>

Modified: head/x11/gnome-clipboard-daemon/distinfo
==============================================================================
--- head/x11/gnome-clipboard-daemon/distinfo	Fri Nov  2 17:36:45 2012	(r306875)
+++ head/x11/gnome-clipboard-daemon/distinfo	Fri Nov  2 17:57:59 2012	(r306876)
@@ -1,2 +1,2 @@
-SHA256 (gnome-clipboard-daemon-1.0.tar.bz2) = c3bbbd0d687948cb34a09fef798f147cd3c90db346dee587580f1eb1b6cf4704
-SIZE (gnome-clipboard-daemon-1.0.tar.bz2) = 3815
+SHA256 (clipboard-daemon-1.0.tar.bz2) = 1cd86ab391f589f9e9e6102c5d5a2dfca4e337c3fc2ce2120a1e8e71f3aacd0f
+SIZE (clipboard-daemon-1.0.tar.bz2) = 2971



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