ports/175581: graphics/intergif: Update MASTER_SITES
KATO Tsuguru
tkato432 at yahoo.com
Fri Jan 25 21:10:05 UTC 2013
>Number: 175581
>Category: ports
>Synopsis: graphics/intergif: Update MASTER_SITES
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Jan 25 21:10:04 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p11 i386
>Organization:
>Environment:
>Description:
- Update MASTER_SITES
- Support CC properly
- Add MAKE_JOBS_SAFE
Remove file:
files/patch-src-makefile.ix
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/graphics/intergif/Makefile graphics/intergif/Makefile
--- /usr/ports/graphics/intergif/Makefile 2012-12-07 03:29:36.000000000 +0900
+++ graphics/intergif/Makefile 2013-01-10 21:58:39.000000000 +0900
@@ -1,17 +1,11 @@
-# New ports collection makefile for: interGif
-# Date created: 31 August 2005
-# Whom: jamie
-#
+# Created by: jamie
# $FreeBSD: head/graphics/intergif/Makefile 308390 2012-12-06 16:39:07Z zi $
-#
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 @@
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>
diff -urN /usr/ports/graphics/intergif/files/patch-src-makefile.ix graphics/intergif/files/patch-src-makefile.ix
--- /usr/ports/graphics/intergif/files/patch-src-makefile.ix 2012-12-01 02:22:33.000000000 +0900
+++ graphics/intergif/files/patch-src-makefile.ix 1970-01-01 09:00:00.000000000 +0900
@@ -1,11 +0,0 @@
---- src/makefile.ix.orig 2012-11-30 16:05:40.000000000 +0100
-+++ src/makefile.ix 2012-11-30 16:06:20.000000000 +0100
-@@ -10,7 +10,7 @@
- Link=cc
- LinkFlags = -o $@
- cc = cc
--CCflags = -O6 --unsigned-char -c -Wall -Wno-unused
-+CCflags = -O6 --unsigned-char -c -Wall -Wno-unused ${CFLAGS}
-
- .SUFFIXES: .c .o
-
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list