Hi!
This patch makes graphics/sxiv port use GH_* vars and fixes distfile name /
drops unneeded subdir.
OK?
Index: Makefile
===================================================================
RCS file: /cvs/ports/graphics/sxiv/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile 18 Nov 2013 17:01:11 -0000 1.4
+++ Makefile 23 Aug 2014 16:23:26 -0000
@@ -2,18 +2,16 @@
COMMENT = simple (or small or suckless) X Image Viewer
-V= 1.1.1
-DISTNAME= v${V}
-DIST_SUBDIR= sxiv
-PKGNAME= sxiv-${V}
+GH_PROJECT= sxiv
+GH_ACCOUNT= muennich
+GH_TAGNAME= v1.1.1
+DISTNAME= ${GH_PROJECT}-${GH_TAGNAME:S/v//}
CATEGORIES = graphics
HOMEPAGE = https://github.com/muennich/sxiv
MAINTAINER = Matthew Via <[email protected]>
-
-MASTER_SITES= ${HOMEPAGE}/archive/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/graphics/sxiv/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 18 Nov 2013 17:01:11 -0000 1.2
+++ distinfo 23 Aug 2014 16:23:26 -0000
@@ -1,2 +1,2 @@
-SHA256 (sxiv/v1.1.1.tar.gz) = MFabfLFWin9g0QL26yHyXJPeQiQ6HIrDwaUh1YsIKB8=
-SIZE (sxiv/v1.1.1.tar.gz) = 37251
+SHA256 (sxiv-1.1.1.tar.gz) = MFabfLFWin9g0QL26yHyXJPeQiQ6HIrDwaUh1YsIKB8=
+SIZE (sxiv-1.1.1.tar.gz) = 37251