aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/png2ico/Makefile
blob: 2fd4ac7ca565957e3de5e11037eb1c5cd1786c7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    png2ico
# Date created:             23 Sep 2002
# Whom:                 Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#

PORTNAME=   png2ico
PORTVERSION=    2002.12.08
PORTREVISION=   2
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
PLIST_FILES=    bin/png2ico
PORTDOCS=   bmp.txt

WRKSRC=     ${WRKDIR}/${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/doc/png2ico.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/bmp.txt ${DOCSDIR}/
.endif

.include <bsd.port.mk>