aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/icoutils/Makefile
blob: ceb358e6542c2f675c340766e67a58de07b2dd68 (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
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:    icoutils
# Date created:             Sun Jun 12 10:19:46 UTC 2005
# Whom:         Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   icoutils
PORTVERSION=    0.29.1
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   SAVANNAH

MAINTAINER= ports@FreeBSD.org
COMMENT=    Convert/extract images in Microsoft Windows(R) icon/cursor files

LICENSE=    GPLv3
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    png15:${PORTSDIR}/graphics/png
RUN_DEPENDS=    ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww

USE_BZIP2=  yes
USE_PERL5_RUN=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-nls
MAKE_JOBS_SAFE= yes

MAN1=       extresso.1 genresscript.1 icotool.1 wrestool.1
PLIST_FILES=    bin/extresso \
        bin/genresscript \
        bin/icotool \
        bin/wrestool

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

.include <bsd.port.pre.mk>

.if ${ARCH} == "sparc64"
BROKEN=     Does not link on sparc64
.endif

.include <bsd.port.post.mk>