summaryrefslogtreecommitdiff
path: root/x11/hyprcursor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/hyprcursor/Makefile')
-rw-r--r--x11/hyprcursor/Makefile22
1 files changed, 17 insertions, 5 deletions
diff --git a/x11/hyprcursor/Makefile b/x11/hyprcursor/Makefile
index 2e2cfc3ca1bb..026435ed893f 100644
--- a/x11/hyprcursor/Makefile
+++ b/x11/hyprcursor/Makefile
@@ -1,7 +1,6 @@
PORTNAME= hyprcursor
DISTVERSIONPREFIX= v
-DISTVERSION= 0.1.12
-PORTREVISION= 1
+DISTVERSION= 0.1.13
CATEGORIES= x11
MAINTAINER= tagattie@FreeBSD.org
@@ -17,14 +16,27 @@ LIB_DEPENDS= libzip.so:archivers/libzip \
RUN_DEPENDS= xcur2png:x11/xcur2png
USES= compiler:c++11-lib cmake:testing gnome pathfix pkgconfig
+
USE_GITHUB= yes
-USE_GNOME= cairo librsvg2
GH_ACCOUNT= hyprwm
-PLIST_SUB= VERSION=${DISTVERSION:C/-.*//}
+
+USE_GNOME= cairo librsvg2
+USE_LDCONFIG= yes
+
+PLIST_SUB= SOVERSION_MAJOR=0 \
+ SOVERSION_FULL=${DISTVERSION:C/-.*//}
+
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
post-patch:
# Respect PREFIX for icons
- @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \
+ @${REINPLACE_CMD} 's|/usr/share|${DATADIR:H}|' \
${WRKSRC}/lib${PORTNAME}/${PORTNAME}.cpp
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>