aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/imlib/Makefile
blob: d8d733124371f215fcd434fb50d119deac1b4838 (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
# New ports collection makefile for:   imlib
# Version required:    0.11
# Date created:        10 June 1997
# Whom:                Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
#
# $Id: Makefile,v 1.9 1997/11/16 09:59:11 fenner Exp $
#

DISTNAME=   imlib_DR-0.11
PKGNAME=    imlib-0.11
CATEGORIES= graphics
MASTER_SITES=   ftp://cthulhu.mandrake.net/pub/imlib/ \
        http://www.rasterman.com/ftp/

MAINTAINER= vanilla@MinJe.com.TW

LIB_DEPENDS=    png\\.0\\.:${PORTSDIR}/graphics/png
RUN_DEPENDS=    djpeg:${PORTSDIR}/graphics/jpeg \
        tgatoppm:${PORTSDIR}/graphics/netpbm \
        convert:${PORTSDIR}/graphics/ImageMagick

USE_GMAKE=  yes
USE_IMAKE=  yes
WRKSRC=     ${WRKDIR}/imlib

post-patch:
    $(CP) $(WRKSRC)/Imakefile $(WRKSRC)/Imakefile.pat
    ${SED} -e "s%X11BASE%$(X11BASE)%" <$(WRKSRC)/Imakefile.pat >$(WRKSRC)/Imakefile

post-install:
    ${LDCONFIG} -m ${PREFIX}/lib

.include <bsd.port.mk>