1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/graphics/imlib2/Makefile
Yukihiro Nakai 938fc84fb0 imlib2 image library.
PR:		ports/22106
Submitted by:	Jeremy Norris <ishmael27@home.com>
2000-11-03 08:18:09 +00:00

40 lines
947 B
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
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
http://www.us.rasterman.com/files/
MAINTAINER= ports@FreeBSD.ORG
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-install:
strip ${PREFIX}/lib/libImlib2.so.1
strip ${PREFIX}/lib/loaders/filter/*
strip ${PREFIX}/lib/loaders/image/*
.include <bsd.port.post.mk>