mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-03 06:04:53 +00:00
7ab97e8734
- Add LICENSE [1] - Pet portlint(1) by removing trailing space PR: ports/157008 [1] Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com> Approved by: Rob Farmer <rfarmer@predatorlabs.net> (maintainer)
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# New ports collection makefile for: qiv
|
|
# Date created: 25 December 1998
|
|
# Whom: Bill Fumerola <billf@chc-chimes.com>
|
|
#
|
|
# $Carpetsmoker: ports/graphics/qiv/Makefile,v 1.2 2008/01/26 15:24:30 carpetsmoker Exp $
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= qiv
|
|
PORTVERSION= 2.2.4
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://spiegl.de/qiv/download/ \
|
|
http://www.predatorlabs.net/dl/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= rfarmer@predatorlabs.net
|
|
COMMENT= Small, fast GDK/Imlib2 image viewer
|
|
|
|
LIB_DEPENDS= Imlib2.5:${PORTSDIR}/graphics/imlib2
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_GMAKE= yes
|
|
USE_GNOME= gtk20
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
OPTIONS= XINERAMA "use multiple monitors" off
|
|
|
|
MAN1= qiv.1
|
|
PLIST_FILES= bin/qiv
|
|
USE_XORG+= x11
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-configure:
|
|
.if ! defined(WITH_XINERAMA)
|
|
@${REINPLACE_CMD} 's|GTD.*=|#|' ${WRKSRC}/Makefile
|
|
.else
|
|
USE_XORG+= xinerama
|
|
.endif
|
|
|
|
do-configure:
|
|
@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|; \
|
|
s|gcc|${CC}|; \
|
|
s|-O2|${CFLAGS}|; \
|
|
s|libs-gdk`|libs-gdk` ${LDFLAGS}|;' \
|
|
${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qiv ${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${MAN1PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.post.mk>
|