diff --git a/x11/hyprpicker/Makefile b/x11/hyprpicker/Makefile index 0694d141446c..555a670a0391 100644 --- a/x11/hyprpicker/Makefile +++ b/x11/hyprpicker/Makefile @@ -1,59 +1,59 @@ PORTNAME= hyprpicker -PORTVERSION= s20230331 +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 CATEGORIES= x11 wayland MAINTAINER= jbeich@FreeBSD.org COMMENT= Color picker and magnifier for Wayland WWW= https://github.com/hyprwm/hyprpicker LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= gmake:devel/gmake \ wayland-protocols>0:graphics/wayland-protocols LIB_DEPENDS= libwayland-client.so:graphics/wayland USES= compiler:c++11-lib cmake gnome jpeg localbase:ldflags pkgconfig USE_GNOME= cairo USE_GITHUB= yes GH_ACCOUNT= hyprwm -GH_TAGNAME= cc6b323 PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz OPTIONS_DEFINE= CLIPBOARD OPTIONS_DEFAULT=CLIPBOARD CLIPBOARD_DESC= Copy to clipboard support CLIPBOARD_RUN_DEPENDS= wl-copy:x11/wl-clipboard post-patch: # Extract (snapshot) version from the port instead of Git @${REINPLACE_CMD} -i .nogit -e '/Get git info/,/^#$$/d' \ -e 's/$${GIT_BRANCH}/main/' \ -e 's/$${GIT_COMMIT_HASH}/${GH_TAGNAME}/' \ -e 's/$${GIT_COMMIT_MESSAGE}//' \ -e 's/$${GIT_DIRTY}/portbld/' \ ${WRKSRC}/CMakeLists.txt # https://clang.llvm.org/cxx_status.html#cxx23 @${REINPLACE_CMD} -e 's/c++23/c++17/' \ ${WRKSRC}/CMakeLists.txt # Drop unused dependencies @${REINPLACE_CMD} 's/ wlroots//' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's/ pango pangocairo//' \ -e 's/ libjpeg//' \ -e '/OpenGL/d; /GLESv2/d' \ -e '/pthread/d; /CMAKE_THREAD_LIBS_INIT/d' \ -e '/ rt)/d' \ ${WRKSRC}/CMakeLists.txt pre-configure: @${SETENV} ${MAKE_ENV} ${GMAKE} protocols -C${WRKSRC} do-install: ${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \ ${STAGEDIR}${PREFIX}/share/man/man1/ .include diff --git a/x11/hyprpicker/distinfo b/x11/hyprpicker/distinfo index 2ecdd38b050b..7db351d8cc5f 100644 --- a/x11/hyprpicker/distinfo +++ b/x11/hyprpicker/distinfo @@ -1,3 +1,3 @@ TIMESTAMP = 1680280900 -SHA256 (hyprwm-hyprpicker-s20230331-cc6b323_GH0.tar.gz) = d18d6e16d869330adf5e2379ef2292bc5ba95e400dbf1428a64c7e8edbf52f77 -SIZE (hyprwm-hyprpicker-s20230331-cc6b323_GH0.tar.gz) = 22934 +SHA256 (hyprwm-hyprpicker-v0.1.0_GH0.tar.gz) = a347e8884f08853f16765c281f37dae7ad9518e3dd998816b5ecf0a29941a010 +SIZE (hyprwm-hyprpicker-v0.1.0_GH0.tar.gz) = 22937