sthen f69d1135ed be smarter about GH_TAGNAME; when generating the default DISTNAME, only
strip a leading "v" when it's followed by what looks like a version number,
also have it handle a few other common names seen in ports. likewise when
stripping 'v' from the default WRKDIST, also allow 'V', but only if
followed by digits (which seems a better match to what github are doing).

update the few ports which _require_ updates to match this change.

been through a bulk on i386 (plus I've diffed "make dump-vars" run in
in all ports having GH_TAGNAME before+after applying the patch), ok jca
2020-02-13 22:19:35 +00:00

29 lines
533 B
Makefile

# $OpenBSD: Makefile,v 1.7 2020/02/13 22:19:35 sthen Exp $
COMMENT= modern freedesktop flat icon theme
GH_ACCOUNT= snwh
GH_PROJECT= paper-icon-theme
GH_TAGNAME= v.1.5.0
REVISION= 1
CATEGORIES= x11
HOMEPAGE= https://snwh.org/paper
# CC-SA-4.0
PERMIT_PACKAGE= Yes
NO_BUILD= Yes
NO_TEST= Yes
PKG_ARCH= *
RUN_DEPENDS= x11/gtk+3,-guic
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/
cp -Rp ${WRKSRC}/Paper ${PREFIX}/share/icons/
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/icons/
.include <bsd.port.mk>