1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/graphics/feh/Makefile
Niclas Zeising 1223b75c99 Remove unneeded sed in post-patch.
Convert to OptionsNG
While here, fix whitespace in Makefile header.

PR:		ports/173443
Submitted by:	nemysis <nemysis@gmx.ch>
Approved by:	kwm, miwi (mentors, implicit)
Feature safe:	yes
2012-11-08 21:42:39 +00:00

45 lines
921 B
Makefile

# Created by: Jeremy Norris <ishmael127@home.com>
# $FreeBSD$
PORTNAME= feh
PORTVERSION= 2.7
CATEGORIES= graphics
MASTER_SITES= http://feh.finalrewind.org/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= uqs
MAINTAINER= zeising@FreeBSD.org
COMMENT= An image viewer that utilizes Imlib2
LICENSE= MIT
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
giblib.1:${PORTSDIR}/graphics/giblib
USE_XORG= x11 xt xinerama
USE_PERL5_RUN= yes
USE_GMAKE= yes
USE_BZIP2= yes
MAN1= feh.1 feh-cam.1 gen-cam-menu.1
CPPFLAGS+= -I${LOCALBASE}/include -std=c99
LDFLAGS+= -L${LOCALBASE}/lib
MAKE_ENV+= LDFLAGS="${LDFLAGS}"
PORTDOCS= AUTHORS ChangeLog README TODO
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} 's#/install-man install-doc#install-man#' \
${WRKSRC}/Makefile
post-install:
.if ${PORT_OPTIONS:MDOC}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>