svn commit: r311615 - in head/graphics/intergif: . files

Martin Wilke miwi at FreeBSD.org
Mon Feb 4 14:19:57 UTC 2013


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 at 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>


More information about the svn-ports-all mailing list