mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
a84c115a09
Approved by: portmgr (not really, but touches unstaged ports)
37 lines
865 B
Makefile
37 lines
865 B
Makefile
# Created by: Bill Fumerola <billf@chc-chimes.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= qiv
|
|
PORTVERSION= 2.3.1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://spiegl.de/qiv/download/ \
|
|
http://www.predatorlabs.net/dl/
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Small, fast GDK/Imlib2 image viewer
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libImlib2.so:${PORTSDIR}/graphics/imlib2 \
|
|
liblcms2.so:${PORTSDIR}/graphics/lcms2 \
|
|
libexif.so:${PORTSDIR}/graphics/libexif
|
|
|
|
USES= gmake pkgconfig tar:tgz
|
|
USE_GNOME= gtk20
|
|
|
|
PLIST_FILES= bin/qiv man/man1/qiv.1.gz
|
|
USE_XORG+= x11
|
|
|
|
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 ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/qiv.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|