blob: 8cf57aeb5f6abd316921a12b9c8e97b34f2a9b88 (
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
|
# $NetBSD: Makefile,v 1.97 2003/06/02 14:05:04 abs Exp $
.include "./Makefile.common"
PKGNAME= ImageMagick-${DISTSUFFIX}
CATEGORIES= graphics
MAINTAINER= tron@netbsd.org
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
COMMENT= Package for display and interactive manipulation of images
DEPENDS+= mpeg2codec-1.2:../../graphics/mpeg2codec
CONFLICTS= geomview-[0-9]* # both have a program named 'animate'
USE_BUILDLINK2= YES
USE_X11= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER}
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER}
.include "../../mk/bsd.prefs.mk"
# c++ broken as of 'gcc version 2.95.3 20010315 (release) (NetBSD nb1)'
NOT_FOR_PLATFORM= NetBSD-*-sparc64
# NetBSD 1.5's gcc is too old to compile this pkg
.include "../../mk/gcc.buildlink2.mk"
GCC_REQD= 2.95.3
# Avoid compiler bug on "mipsel" (cobalt?)
.if (${MACHINE_ARCH} == mipsel)
CFLAGS= -O
.endif
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --without-perl
post-install:
${INSTALL_DATA} ${WRKSRC}/Copyright.txt ${WRKSRC}/QuickStart.txt \
${PREFIX}/share/ImageMagick
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../graphics/jasper/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|