mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
Add png2ico 2002.09.03, a program that converts PNG files to Windows
icon resource files. PR: 43292 Submitted by: Franz Klammer <klammer@webonaut.com>
This commit is contained in:
parent
e413d8b70b
commit
0e6938609b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68811
@ -294,6 +294,7 @@
|
||||
SUBDIR += plotutils
|
||||
SUBDIR += png
|
||||
SUBDIR += png2html
|
||||
SUBDIR += png2ico
|
||||
SUBDIR += pngcheck
|
||||
SUBDIR += pngcrush
|
||||
SUBDIR += pngquant
|
||||
|
27
graphics/png2ico/Makefile
Normal file
27
graphics/png2ico/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
# New ports collection makefile for: png2ico
|
||||
# Date created: 23 Sep 2002
|
||||
# Whom: Franz Klammer <klammer@webonaut.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= png2ico
|
||||
PORTVERSION= 2002.09.03
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://www.winterdrache.de/freeware/png2ico/data/
|
||||
DISTNAME= ${PORTNAME}-src-${PORTVERSION:S/./-/g}
|
||||
|
||||
MAINTAINER= klammer@webonaut.com
|
||||
|
||||
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
|
||||
|
||||
MAN1= png2ico.1
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_GMAKE= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1/
|
||||
|
||||
.include <bsd.port.mk>
|
1
graphics/png2ico/distinfo
Normal file
1
graphics/png2ico/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (png2ico-src-2002-09-03.tar.gz) = d592067920ba8711341ddc36e9aa3f53
|
15
graphics/png2ico/files/patch-Makefile
Normal file
15
graphics/png2ico/files/patch-Makefile
Normal file
@ -0,0 +1,15 @@
|
||||
--- Makefile.old Mon Sep 23 16:45:44 2002
|
||||
+++ Makefile Mon Sep 23 16:45:51 2002
|
||||
@@ -1,10 +1,10 @@
|
||||
-CPPFLAGS=-W -Wall -O2
|
||||
+CPPFLAGS=-W -Wall -O2 -I/usr/local/include -L/usr/local/lib -lpng
|
||||
DEBUG=-g
|
||||
|
||||
all: png2ico
|
||||
|
||||
png2ico: png2ico.cpp
|
||||
- g++ $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng
|
||||
+ g++ $(CPPFLAGS) $(DEBUG) -o $@ $<
|
||||
|
||||
doc/png2ico.txt: doc/png2ico.1
|
||||
man $< |sed -e $$'s/.\b\\(.\\)/\\1/g' -e 's/\(.*\)/\1'$$'\r/' >$@
|
1
graphics/png2ico/pkg-comment
Normal file
1
graphics/png2ico/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Converts PNG files to Windows icon resource files
|
3
graphics/png2ico/pkg-descr
Normal file
3
graphics/png2ico/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Converts PNG files to Windows icon resource files.
|
||||
|
||||
WWW: http://www.winterdrache.de/freeware/png2ico/index.html
|
1
graphics/png2ico/pkg-plist
Normal file
1
graphics/png2ico/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/png2ico
|
Loading…
Reference in New Issue
Block a user