aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-17 11:44:02 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-10-17 11:44:02 +0000
commitabe6c92c24bfd62b4c71ee71d90ec477b5777f25 (patch)
tree542c69edf00ec69b8b464aa64aad79c57d4a5231 /graphics
parent26bb7b1afaa54d6cbfa0d55aded9b321978920e6 (diff)
downloadports-abe6c92c24bfd62b4c71ee71d90ec477b5777f25.tar.gz
ports-abe6c92c24bfd62b4c71ee71d90ec477b5777f25.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/png2ico/Makefile7
-rw-r--r--graphics/png2ico/files/patch-Makefile14
2 files changed, 5 insertions, 16 deletions
diff --git a/graphics/png2ico/Makefile b/graphics/png2ico/Makefile
index 576d8a4234a2..8dcedd9e085f 100644
--- a/graphics/png2ico/Makefile
+++ b/graphics/png2ico/Makefile
@@ -7,7 +7,7 @@
PORTNAME= png2ico
PORTVERSION= 2002.12.08
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= http://www.winterdrache.de/freeware/png2ico/data/
DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/./-/g}
@@ -21,11 +21,6 @@ MAN1= png2ico.1
PLIST_FILES= bin/png2ico
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
diff --git a/graphics/png2ico/files/patch-Makefile b/graphics/png2ico/files/patch-Makefile
index 48fe12c3998e..aa187111bd1f 100644
--- a/graphics/png2ico/files/patch-Makefile
+++ b/graphics/png2ico/files/patch-Makefile
@@ -1,17 +1,11 @@
---- Makefile.orig Sat Dec 7 23:49:52 2002
-+++ Makefile Mon Mar 1 13:24:57 2004
-@@ -1,11 +1,11 @@
--CPPFLAGS=-W -Wall -O2 -finline-functions
-+CPPFLAGS=-W -Wall -g -O -pipe -finline-functions -I/usr/local/include -L/usr/local/lib
- #CPPFLAGS=-O0 -W -Wall
--DEBUG=-g
-+#DEBUG=-g
-
+--- Makefile.orig Mon Oct 17 13:19:41 2005
++++ Makefile Mon Oct 17 13:21:09 2005
+@@ -5,7 +5,7 @@
all: png2ico
png2ico: png2ico.cpp
- g++ $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
-+ ${CXX} $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
++ $(CXX) $(CXXFLAGS) -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -o $@ $< -lpng -lz -lm
doc/png2ico.txt: doc/png2ico.1
man $< |sed -e $$'s/.\b\\(.\\)/\\1/g' -e 's/\(.*\)/\1'$$'\r/' >$@