summaryrefslogtreecommitdiff
path: root/graphics/ida/Makefile
blob: 5aad30475cb89aa8787339b37873af48b27c7903 (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:	ida
# Date created:				Thu Aug 19 21:13:58 UTC 2004
# Whom:					Andrey Slusar <anray@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	ida
PORTVERSION=	0.21
PORTREVISION=	5
CATEGORIES=	graphics
MASTER_SITES=	http://dl.bytesex.org/releases/fbida/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	anray@FreeBSD.org
COMMENT=	Small and fast motif-based image viewer and editor

LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg \
		png.5:${PORTSDIR}/graphics/png \
		tiff.4:${PORTSDIR}/graphics/tiff \
		ungif.5:${PORTSDIR}/graphics/libungif \
		exif.12:${PORTSDIR}/graphics/libexif

USE_GMAKE=	yes
USE_MOTIF=	yes
USE_PERL5_BUILD=yes
WRKSRC=		${WRKDIR}/${DISTNAME:S/_/-/}
MAKEFILE=	${WRKSRC}/GNUmakefile

MAN1=		ida.1
PORTDOCS=	README TODO INSTALL

PLIST_FILES=	bin/exiftran bin/ida lib/X11/app-defaults/Ida

post-install:
	${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for a in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>