blob: 9f7629238fcb91990e5e69fb8a0fce838b34520e (
plain)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
# 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= 2.09
CATEGORIES= graphics
MASTER_SITES= http://www.kraxel.org/releases/fbida/
DISTNAME= fbida-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Small and fast motif-based image viewer and editor
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
exif.12:${PORTSDIR}/graphics/libexif
OPTIONS= GIF "Enable GIF support" on \
PCD "Enable PhotoCD support" off \
PNG "Enable PNG support" on \
SANE "Enable SANE support" off \
TIFF "Enable TIFF support" on \
WEBP "Enable WebP suport" off
USE_MOTIF= yes
USE_PERL5_BUILD=yes
USE_ICONV= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
MAKE_ARGS= JPEG_VER=80 verbose=yes
MAKE_JOBS_SAFE= yes
LDFLAGS+= -liconv
MAN1= exiftran.1 ida.1
PORTDOCS= README TODO INSTALL
PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
.include <bsd.port.options.mk>
.if defined(WITHOUT_GIF)
MAKE_ARGS+= HAVE_LIBUNGIF=no
.else
LIB_DEPENDS+= gif.5:${PORTSDIR}/graphics/giflib
.endif
.if defined(WITH_PCD)
LIB_DEPENDS+= pcd:${PORTSDIR}/graphics/libpcd
.else
MAKE_ARGS+= HAVE_LIBPCD=no
.endif
.if defined(WITHOUT_PNG)
MAKE_ARGS+= HAVE_LIBPNG=no
.else
LIB_DEPENDS+= png.6:${PORTSDIR}/graphics/png
.endif
.if defined(WITH_SANE)
LIB_DEPENDS+= sane:${PORTSDIR}/graphics/sane-backends
.else
MAKE_ARGS+= HAVE_LIBSANE=no
.endif
.if defined(WITHOUT_TIFF)
MAKE_ARGS+= HAVE_LIBTIFF=no
.else
LIB_DEPENDS+= tiff.4:${PORTSDIR}/graphics/tiff
.endif
.if defined(WITH_WEBP)
LIB_DEPENDS+= webp:${PORTSDIR}/graphics/webp
.else
MAKE_ARGS+= HAVE_LIBWEBP=no
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for a in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|