Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Feb 2013 14:19:57 +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: r311615 - in head/graphics/intergif: . files
Message-ID:  <201302041419.r14EJv3S060873@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Mon Feb  4 14:19:57 2013
New Revision: 311615
URL: http://svnweb.freebsd.org/changeset/ports/311615

Log:
  - Update MASTER_SITES
  - Support CC properly
  - Add MAKE_JOBS_SAFE
  
  PR:		ports fury

Deleted:
  head/graphics/intergif/files/patch-src-makefile.ix
Modified:
  head/graphics/intergif/Makefile   (contents, props changed)

Modified: head/graphics/intergif/Makefile
==============================================================================
--- head/graphics/intergif/Makefile	Mon Feb  4 14:18:58 2013	(r311614)
+++ head/graphics/intergif/Makefile	Mon Feb  4 14:19:57 2013	(r311615)
@@ -1,17 +1,11 @@
-# New ports collection makefile for:	interGif
-# Date created:				31 August 2005
-# Whom:					jamie
-#
+# Created by: jamie
 # $FreeBSD$
-#
 
 PORTNAME=	interGif
 PORTVERSION=	6.15
 CATEGORIES=	graphics
-MASTER_SITES=	http://utter.chaos.org.uk/~pdh/software/arc/ \
-		http://ftp.bishopston.net/freebsd/distfiles/ \
-		ftp://ftp.bishopston.net/freebsd/distfiles/
-DISTNAME=	ig615src
+MASTER_SITES=	http://utter.chaos.org.uk/~pdh/software/arc/
+DISTNAME=	ig${PORTVERSION:S,.,,}src
 EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
@@ -19,13 +13,20 @@ COMMENT=	Efficient animated GIF optimise
 
 WRKSRC=		${WRKDIR}/igsrc
 
-PLIST_FILES=	bin/intergif
+MAKEFILE=	makefile.ix
 ALL_TARGET=	intergif
+MAKE_JOBS_SAFE=	yes
+
+PLIST_FILES=	bin/intergif
 
-pre-patch:
-	${CP} -f ${WRKSRC}/makefile.ix ${WRKSRC}/Makefile
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|=.*cc|= $$(CC)| ; \
+		 s|-O6|$$(CFLAGS)| ; \
+		 s|@echo|@true| ; \
+		 s|@$$(cc)|$$(cc)|' ${WRKSRC}/src/makefile.ix
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/intergif ${PREFIX}/bin/intergif
+	(cd ${WRKSRC} && ${INSTALL_PROGRAM} intergif ${PREFIX}/bin)
 
 .include <bsd.port.mk>



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