blob: 5c8813c19847e2f81af4acb388bcde311e9d826a (
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
45
46
|
# 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= 1
CATEGORIES= graphics
MASTER_SITES= http://enfle.fennel.org/files/stable/
MAINTAINER= samy@goldmoon.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
.if !exists(/usr/bin/bzip2)
LIB_DEPENDS+= bz2.1:${PORTSDIR}/archivers/bzip2
.endif
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_AUTOTOOLS= libtool:13:inc
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
post-install:
${INSTALL_MAN} ${WRKSRC}/enfle.1 ${PREFIX}/man/man1
.include <bsd.port.post.mk>
|