38 lines
758 B
Makefile
38 lines
758 B
Makefile
COMMENT = desktop screenshot utility (make image)
|
|
CATEGORIES = graphics x11
|
|
|
|
GH_ACCOUNT = naelstrof
|
|
GH_PROJECT = maim
|
|
GH_TAGNAME = v5.7.4
|
|
|
|
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# GPLv3+
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} GL ICE SM X11 Xcomposite Xext Xfixes
|
|
WANTLIB += Xrandr Xrender c icuuc jpeg m png slopy webp z
|
|
|
|
MODULES = devel/cmake
|
|
|
|
# C++11
|
|
COMPILER = base-clang ports-gcc
|
|
|
|
BUILD_DEPENDS = graphics/glm
|
|
|
|
LIB_DEPENDS = graphics/jpeg \
|
|
graphics/libwebp \
|
|
graphics/png \
|
|
graphics/slop \
|
|
textproc/icu4c
|
|
|
|
CONFIGURE_ARGS = -DCMAKE_INSTALL_MANDIR="${LOCALBASE}/man" \
|
|
-DCMAKE_INSTALL_PREFIX=${LOCALBASE}
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/modules/FindWebP.cmake
|
|
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|