Index: head/graphics/png2ico/Makefile =================================================================== --- head/graphics/png2ico/Makefile (revision 78992) +++ head/graphics/png2ico/Makefile (revision 78993) @@ -1,28 +1,32 @@ # New ports collection makefile for: png2ico # Date created: 23 Sep 2002 # Whom: Franz Klammer # # $FreeBSD$ # PORTNAME= png2ico PORTVERSION= 2002.12.08 CATEGORIES= graphics MASTER_SITES= http://www.winterdrache.de/freeware/png2ico/data/ DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/./-/g} MAINTAINER= klammer@webonaut.com COMMENT= Converts PNG files to Windows icon resource files LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png MAN1= png2ico.1 WRKSRC= ${WRKDIR}/${PORTNAME} USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1/ .include Property changes on: head/graphics/png2ico/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/graphics/png2ico/files/patch-Makefile =================================================================== --- head/graphics/png2ico/files/patch-Makefile (revision 78992) +++ head/graphics/png2ico/files/patch-Makefile (revision 78993) @@ -1,8 +1,11 @@ ---- Makefile.orig Sun Dec 8 14:50:10 2002 -+++ Makefile Sun Dec 8 14:50:17 2002 -@@ -1,4 +1,4 @@ +--- Makefile.orig Sat Dec 7 23:49:52 2002 ++++ Makefile Tue Apr 15 02:32:25 2003 +@@ -1,6 +1,6 @@ -CPPFLAGS=-W -Wall -O2 -finline-functions +CPPFLAGS=-W -Wall -O2 -finline-functions -I/usr/local/include -L/usr/local/lib #CPPFLAGS=-O0 -W -Wall - DEBUG=-g +-DEBUG=-g ++#DEBUG=-g + + all: png2ico Property changes on: head/graphics/png2ico/files/patch-Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.2 \ No newline at end of property +1.3 \ No newline at end of property