mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
ae4f0e3132
PR: ports/71879 Submitted by: Ports Fury
41 lines
967 B
Makefile
41 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.2.7
|
|
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>
|