aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib2-tmp/Makefile
blob: 9d55bd13d30ce1acb9c08cc1a72b5a58649bdce7 (plain) (blame)
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
# 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>