3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# 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= 4
|
|
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_XORG= x11 xext
|
|
USE_BZIP2= 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>
|