mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
c61d65a849
- Clean up the imlib2-config script installed. - Take over maintainer-ship. PR: 22629 Submitted by: Jeremy Norris <ishmael27@home.com>
49 lines
1.1 KiB
Makefile
49 lines
1.1 KiB
Makefile
# New ports collection makefile for: imlib2
|
|
# Date created: 16 Oct 2000
|
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= imlib2
|
|
PORTVERSION= 1.0.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= enlightenment
|
|
|
|
MAINTAINER= ishmael27@home.com
|
|
|
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
|
ungif.5:${PORTSDIR}/graphics/libungif \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
edb.1:${PORTSDIR}/databases/edb
|
|
|
|
USE_X_PREFIX= yes
|
|
USE_FREETYPE= yes
|
|
USE_LIBTOOL= yes
|
|
INSTALLS_SHLIB= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_MMX) && (${ARCH} == "i386")
|
|
CONFIGURE_ARGS= --enable-mmx
|
|
.endif
|
|
|
|
post-configure:
|
|
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
|
|
|
post-install:
|
|
@strip ${PREFIX}/lib/libImlib2.so.1
|
|
.for i in bump_map colormod testfilter
|
|
@strip ${PREFIX}/lib/loaders/filter/${i}.so
|
|
.endfor
|
|
.for i in argb bmp db gif jpeg png pnm tga tiff xpm
|
|
@strip ${PREFIX}/lib/loaders/image/${i}.so
|
|
.endfor
|
|
|
|
.include <bsd.port.post.mk>
|