freebsd-ports/graphics/feh/Makefile
Kirill Ponomarev e4b28146d6 Update to version 1.3.0
PR:		ports/75949
Submitted by:	Ports Fury
2005-01-08 16:16:57 +00:00

40 lines
967 B
Makefile

# ports collection makefile for: feh
# Date created: 16 Oct 2000
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= feh
PORTVERSION= 1.3.0
CATEGORIES= graphics
MASTER_SITES= http://www.linuxbrit.co.uk/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= An image viewer that utilizes Imlib2
LIB_DEPENDS= giblib.1:${PORTSDIR}/graphics/giblib
USE_X_PREFIX= yes
USE_PERL5= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= feh.1
post-patch:
@${PERL} -pi.bak -e 's|^LDFLAGS =.*$$|LDFLAGS = \@LDFLAGS\@|g ; \
s|^INCLUDES =.*$$|INCLUDES = -I. -I$$(includedir)|g ; \
s|-man install-docsDATA|-man|g' ${WRKSRC}/Makefile.in
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS ChangeLog README TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>