1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/graphics/feh/Makefile
Ulrich Spörlein 51cd37db25 Update to 2.3
Pass maintainership to submitter

PR:		ports/164926
Submitted by:	Niclas Zeising <zeising@daemonic.se>
Approved by:	beat (mentor)
2012-02-10 08:22:22 +00:00

48 lines
1.3 KiB
Makefile

# ports collection makefile for: feh
# Date created: 16 Oct 2000
# Whom: Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= feh
PORTVERSION= 2.3
CATEGORIES= graphics
MASTER_SITES= http://feh.finalrewind.org/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= uqs
MAINTAINER= zeising@daemonic.se
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}"
post-patch:
@${REINPLACE_CMD} 's#share/man#man#' ${WRKSRC}/config.mk
@${REINPLACE_CMD} 's#install-man install-doc install-bin#install-doc#' ${WRKSRC}/Makefile
@${REINPLACE_CMD} 's#/bin/bash#/bin/sh#' ${WRKSRC}/cam/gen-cam-menu
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/feh ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cam/feh-cam ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/cam/gen-cam-menu ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/feh.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/feh-cam.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/gen-cam-menu.1 ${PREFIX}/man/man1
.include <bsd.port.mk>