Import png2ico-20021208, a PNG to .ico converter.
This commit is contained in:
parent
f22abb3746
commit
6edf095c9c
36
graphics/png2ico/Makefile
Normal file
36
graphics/png2ico/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/05/12 07:38:08 wcobb Exp $
|
||||
|
||||
COMMENT= "Convert PNG images to Windows .ico files"
|
||||
|
||||
VERSION= 2002-12-08
|
||||
PKGNAME= png2ico-${VERSION:S/-//g}
|
||||
DISTNAME= png2ico-src-${VERSION}
|
||||
CATEGORIES= graphics www
|
||||
HOMEPAGE= http://www.winterdrache.de/freeware/png2ico/data/
|
||||
MASTER_SITES= ${HOMEPAGE}
|
||||
|
||||
MAINTAINER= Wilbern Cobb <wcobb@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
LIB_DEPENDS= png.3::graphics/png
|
||||
USE_GMAKE= Yes
|
||||
NO_REGRESS= Yes
|
||||
WRKSRC= ${WRKDIR}/png2ico
|
||||
|
||||
post-patch:
|
||||
cd ${WRKSRC} && \
|
||||
perl -pi -e \
|
||||
's|-W -Wall -O2|${CXXFLAGS} -I${LOCALBASE}/include/libpng|' \
|
||||
${WRKSRC}/Makefile && \
|
||||
perl -pi -e 's|-lpng|-L${LOCALBASE}/lib -lpng|' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/png2ico ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
3
graphics/png2ico/distinfo
Normal file
3
graphics/png2ico/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (png2ico-src-2002-12-08.tar.gz) = 9b663df81c826cd564638cba2e6bc75b
|
||||
RMD160 (png2ico-src-2002-12-08.tar.gz) = d71f49992f152df580e0c264f723a2a4c20fac2c
|
||||
SHA1 (png2ico-src-2002-12-08.tar.gz) = 955004bee9a20f12b225aa01895762cbbafaeb28
|
4
graphics/png2ico/pkg/DESCR
Normal file
4
graphics/png2ico/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
Converts PNG images to Windows icon resource files (.ico), useful for
|
||||
creating favicon.ico icons containing 16x16 or 32x32 web page logos.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
3
graphics/png2ico/pkg/PLIST
Normal file
3
graphics/png2ico/pkg/PLIST
Normal file
@ -0,0 +1,3 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/05/12 07:38:08 wcobb Exp $
|
||||
bin/png2ico
|
||||
man/man1/png2ico.1
|
Loading…
Reference in New Issue
Block a user