2008-06-01 13:18:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.45 2008/06/01 11:18:52 tron Exp $
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2007-09-18 21:18:10 +02:00
|
|
|
DISTNAME= imlib2-1.4.0
|
2007-11-17 02:40:50 +01:00
|
|
|
PKGREVISION= 1
|
2005-01-11 14:37:54 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=enlightenment/}
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2005-01-11 14:37:54 +01:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
2008-06-01 13:18:52 +02:00
|
|
|
HOMEPAGE= http://docs.enlightenment.org/api/imlib2/html/
|
2005-01-11 14:37:54 +01:00
|
|
|
COMMENT= Image manipulation library
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2006-11-06 12:28:32 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2005-01-11 14:37:54 +01:00
|
|
|
USE_LIBTOOL= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE= imlib2.pc.in
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
LIBS.SunOS+= -lm
|
2004-02-04 01:00:53 +01:00
|
|
|
|
2007-08-02 23:35:14 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OBJECT_FMT} == "SOM"
|
|
|
|
SHLIB_SUFFIX= sl
|
|
|
|
.else
|
|
|
|
SHLIB_SUFFIX= so
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SUBST_CLASSES+= shlib
|
|
|
|
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}",'
|
|
|
|
|
2005-05-31 23:35:13 +02:00
|
|
|
.include "options.mk"
|
2001-08-16 12:49:52 +02:00
|
|
|
|
2004-10-06 21:35:25 +02:00
|
|
|
.include "../../archivers/bzip2/buildlink3.mk"
|
2004-10-15 14:22:13 +02:00
|
|
|
.include "../../devel/libltdl/buildlink3.mk"
|
2007-08-02 23:35:14 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2004-02-11 06:51:53 +01:00
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
|
|
.include "../../graphics/libungif/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2005-01-11 14:37:54 +01:00
|
|
|
|
2001-08-16 12:49:52 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|