aboutsummaryrefslogtreecommitdiff
path: root/graphics/enfle/Makefile
blob: c21dd21c248af47bfbd83608e0c2080e36788576 (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
43
44
# 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
PORTREVISION=	2
CATEGORIES=	graphics
MASTER_SITES=	http://enfle.fennel.org/files/stable/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Simple plugin-based graphics viewer

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

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

MAN1=		enfle.1

.include <bsd.port.pre.mk>

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

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

.include <bsd.port.post.mk>