blob: b6ebfab1f8cfbf6ee7c89ff3471513d6099bc085 (
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
|
# $NetBSD: Makefile,v 1.118 2004/05/19 14:11:28 adam Exp $
.include "Makefile.common"
PKGNAME= ImageMagick-${DISTVERSION}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
COMMENT= Package for display and interactive manipulation of images
BUILDLINK_DEPENDS.jasper+= jasper>=1.701.0
DEPENDS+= mpeg2codec-1.2:../../graphics/mpeg2codec
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_BUILDLINK3= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_LANGUAGES= c c++
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
GCC_REQD+= 2.95.3
PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER}
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER}
.include "../../mk/bsd.prefs.mk"
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
GCC_REQD+= 3.0
.endif
# Avoid compiler bug on "mipsel" (cobalt?)
.if ${MACHINE_ARCH} == "mipsel"
CFLAGS= -O
.endif
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --without-perl
# Remove the empty directory
post-install:
-${RMDIR} ${PREFIX}/share/ImageMagick
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/libwmf/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|