summaryrefslogblamecommitdiff
path: root/graphics/imlib2/Makefile
blob: dcffd679040bd7ccc0cf736a6653fd69075042be (plain) (tree)
1
2
3
4
5
6
7
8
9

                                              
                                                          
 
           

 
                      
                     
                        
                                          
                                     
 
                                 
                                                                             
 


                                                       
                                                
                                                  
                                                      
 
                   




                                                   
                   
 
                          
 



                                            
               
                                                                                     
 
                           
# New ports collection makefile for:	imlib2
# Date created:		16 Oct 2000
# Whom:			Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#

PORTNAME=	imlib2
PORTVERSION=	1.1.0
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	enlightenment

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The next generation graphic library for enlightenment package

LIB_DEPENDS=	ltdl.4:${PORTSDIR}/devel/libltdl \
		jpeg.9:${PORTSDIR}/graphics/jpeg \
		ungif.5:${PORTSDIR}/graphics/libungif \
		png.5:${PORTSDIR}/graphics/png \
		tiff.4:${PORTSDIR}/graphics/tiff \
		freetype.9:${PORTSDIR}/print/freetype2

USE_X_PREFIX=	yes
USE_GNOME=	gnomehack pkgconfig
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
INSTALLS_SHLIB=	yes

.include <bsd.port.pre.mk>

.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS=	--enable-mmx
.endif

post-configure:
	@${REINPLACE_CMD} -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config

.include <bsd.port.post.mk>