blob: 057b81247fbea3fd5ca3394bfbc9894899b0f4dd (
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
|
# $NetBSD: Makefile,v 1.69 2014/05/17 09:25:01 adam Exp $
DISTNAME= imlib2-1.4.6
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://docs.enlightenment.org/api/imlib2/html/
COMMENT= Image manipulation library
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= imlib2.pc.in
LIBS.SunOS+= -lm
.include "../../mk/bsd.prefs.mk"
.if ${OBJECT_FMT} == "SOM"
SHLIB_SUFFIX= sl
.else
SHLIB_SUFFIX= so
.endif
SUBST_CLASSES+= shlib rpath
SUBST_STAGE.shlib= post-patch
SUBST_MESSAGE.shlib= Replacing shared library suffix
SUBST_FILES.shlib+= src/lib/image.c
SUBST_SED.shlib+= -e 's,"\.so",".${SHLIB_SUFFIX}",'
SUBST_STAGE.rpath= pre-configure
SUBST_MESSAGE.rpath= Replacing COMPILER_RPATH_FLAG
SUBST_FILES.rpath= imlib2-config.in
SUBST_VARS.rpath= COMPILER_RPATH_FLAG
.include "options.mk"
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/giflib.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|