1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/graphics/sxiv/Makefile
Mateusz Piotrowski 7f188bffe4 graphics/sxiv: Update to v26
- Set LICENSE_FILE.
- Update LIB_DEPENDS.
- Install icons and a desktop file.
- Remove the local patches and use MAKE_ARGS instead.
- Reset MAINTAINER (3 timeouts)
- Adopt port

PR:		244040
Reviewed by:	mat
Approved by:	solene@bsd.zplay.eu (maintainer timeout)
Differential Revision:	https://reviews.freebsd.org/D23616
2020-02-27 00:53:47 +00:00

35 lines
827 B
Makefile

# Created by: Solène RAPENNE <solene@bsd.zplay.eu>
# $FreeBSD$
PORTNAME= sxiv
DISTVERSIONPREFIX= v
DISTVERSION= 26
CATEGORIES= graphics
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Lightweight image viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libexif.so:graphics/libexif \
libfontconfig.so:x11-fonts/fontconfig \
libgif.so:graphics/giflib \
libImlib2.so:graphics/imlib2 \
libinotify.so:devel/libinotify
USES= desktop-file-utils gmake localbase:ldflags pkgconfig xorg
USE_GITHUB= yes
GH_ACCOUNT= muennich
USE_XORG= x11 xft
MAKE_ARGS= PREFIX=${PREFIX}
MAKE_ENV= LDLIBS=-linotify
post-install:
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} -C ${WRKSRC}/icon install
${INSTALL_DATA} ${WRKSRC}/sxiv.desktop ${STAGEDIR}${DESKTOPDIR}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sxiv
.include <bsd.port.mk>