aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/enfle/Makefile
blob: 77e1f9e18d2091f691f2f0931d4125ee2e04a2a8 (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
40
41
42
# New ports collection makefile for:    enfle
# Date created:     Tue Sep 28 02:25:17 JST 1999
# Whom:         Yuki Sawada <samy@goldmoon.org>
#
# $FreeBSD$
#

PORTNAME=   enfle
PORTVERSION=    20010130
CATEGORIES= graphics
MASTER_SITES=   http://enfle.fennel.org/files/stable/ \
        ftp://ftp.goldmoon.org/pub/FreeBSD/ports/distfiles/

MAINTAINER= samy@goldmoon.org

LIB_DEPENDS=    png.5:${PORTSDIR}/graphics/png \
        jpeg.9:${PORTSDIR}/graphics/jpeg \
        mng.1:${PORTSDIR}/graphics/libmng \
        ungif.5:${PORTSDIR}/graphics/libungif \
        arc.1:${PORTSDIR}/archivers/libarc
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+=   bz2.1:${PORTSDIR}/archivers/bzip2
.endif

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_LIBTOOL=    yes
CONFIGURE_ARGS= --enable-all-plugins \
        --enable-plugins-dir \
        --enable-loader=ungif \
        --disable-static

MAN1=       enfle.1

post-patch:
    ${PERL} -pi -e 's/^(.*_la_LDFLAGS = -module)$$/\1 -avoid-version/' \
        ${WRKSRC}/plugins/*/*/Makefile.in

post-install:
    ${INSTALL_MAN} ${WRKSRC}/enfle.1 ${PREFIX}/man/man1

.include <bsd.port.mk>