aboutsummaryrefslogtreecommitdiff
path: root/graphics/maim/Makefile
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-05-25 20:25:55 +0000
committerSteve Wills <swills@FreeBSD.org>2018-05-25 20:25:55 +0000
commit8462f0f19db896ffd514b68904e26e9a0e18081a (patch)
tree9c87a0b06a3db5f93a4a823a759722d3d62eec30 /graphics/maim/Makefile
parentfaaba0d7c9ca578d561049873f685a946b47a65d (diff)
downloadports-8462f0f19db896ffd514b68904e26e9a0e18081a.tar.gz
ports-8462f0f19db896ffd514b68904e26e9a0e18081a.zip
graphics/maim: Update to 5.5.1
PR: 228490 Submitted by: Neel Chauhan <neel@neelc.org> (maintainer)
Notes
Notes: svn path=/head/; revision=470862
Diffstat (limited to 'graphics/maim/Makefile')
-rw-r--r--graphics/maim/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/graphics/maim/Makefile b/graphics/maim/Makefile
index db6e56edbf10..6a5607e3d22f 100644
--- a/graphics/maim/Makefile
+++ b/graphics/maim/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= maim
-PORTVERSION= 3.4.47
+PORTVERSION= 5.5.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics
@@ -10,17 +10,23 @@ COMMENT= Screenshot utility with performance improvements over scrot
LICENSE= GPLv3
-LIB_DEPENDS= libImlib2.so:graphics/imlib2
+BUILD_DEPENDS= ${LOCALBASE}/include/glm/glm.hpp:math/glm
+LIB_DEPENDS= libImlib2.so:graphics/imlib2 \
+ libicuuc.so:devel/icu \
+ libpng16.so:graphics/png \
+ libslopy.so:x11/slop
+USES= cmake jpeg
USE_GITHUB= yes
GH_ACCOUNT= naelstrof
-
-USES= cmake
-USE_XORG= x11 xrandr xfixes
+USE_GL= gl glut
+USE_XORG= ice sm x11 xcomposite xext xfixes xrandr xrender
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
+CMAKE_ARGS= -DSLOP_LIBRARIES=${LOCALBASE}/lib/libslopy.so
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/man-src/${PORTNAME}.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
.include <bsd.port.mk>