Index: head/graphics/xsane/Makefile =================================================================== --- head/graphics/xsane/Makefile (revision 505902) +++ head/graphics/xsane/Makefile (revision 505903) @@ -1,54 +1,60 @@ # Created by: Dominik Brettnacher # $FreeBSD$ PORTNAME= xsane PORTVERSION= 0.999 PORTREVISION= 6 CATEGORIES= graphics -MASTER_SITES= http://www.xsane.org/download/ MAINTAINER= ports@FreeBSD.org COMMENT= Gtk-based X11 frontend for SANE (Scanner Access Now Easy) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/xsane.COPYING LIB_DEPENDS= libpng.so:graphics/png \ libtiff.so:graphics/tiff \ libfreetype.so:print/freetype2 \ liblcms.so:graphics/lcms BUILD_DEPENDS= scanimage:graphics/sane-backends RUN_DEPENDS:= ${BUILD_DEPENDS} -USES= gmake jpeg localbase:ldflags pkgconfig +USES= gmake gnome jpeg localbase:ldflags pkgconfig +USE_GITLAB= yes +# This is a workaround to convert the subproject into a project. It's also +# required to avoid slashes in the DISTNAME. +GL_SITE= https://gitlab.com/sane-project +GL_ACCOUNT= frontend # would be 'sane-project' +# ...and GL_PROJECT would be 'frontend/xsane' then but introduces a '/' to DISTNAME +GL_COMMIT= d01b4089ce6778e76fa86a0410d4e80cf6eb819e USE_GNOME= gtk20 gdkpixbuf2 GNU_CONFIGURE= yes PORTDOCS= *.html *.jpg OPTIONS_DEFINE= DOCS GIMP NLS GIMP_DESC= GIMP plugin support OPTIONS_DEFAULT= GIMP OPTIONS_SUB= yes GIMP_LIB_DEPENDS= libgimp-2.0.so:graphics/gimp-app GIMP_CONFIGURE_ENABLE= gimp2 gimp GIMP_SUB_FILES= pkg-message NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext NLS_LIBS= -L${LOCALBASE}/lib -lintl post-patch: @${REINPLACE_CMD} -e 's| $$(DESTDIR)$$(sbindir)||' \ -e 's|$${datadir}/sane/xsane/doc|${DOCSDIR}|g' \ -e 's|$$(DESTDIR)$$(xsanedocdir)||' \ ${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in @${REINPLACE_CMD} -e 's|@POSUB@ doc|@POSUB@|' ${WRKSRC}/Makefile.in post-install: ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.man ${STAGEDIR}${MAN1PREFIX}/man/man1/${PORTNAME}.1 @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR} .include Index: head/graphics/xsane/distinfo =================================================================== --- head/graphics/xsane/distinfo (revision 505902) +++ head/graphics/xsane/distinfo (revision 505903) @@ -1,2 +1,3 @@ -SHA256 (xsane-0.999.tar.gz) = 5782d23e67dc961c81eef13a87b17eb0144cae3d1ffc5cf7e0322da751482b4b -SIZE (xsane-0.999.tar.gz) = 2950621 +TIMESTAMP = 1562249203 +SHA256 (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 1229948de893238a8f338978fcbce10184fa8723dee430ebc52cac29d5a4ae1b +SIZE (frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz) = 2427728 Index: head/graphics/xsane/pkg-descr =================================================================== --- head/graphics/xsane/pkg-descr (revision 505902) +++ head/graphics/xsane/pkg-descr (revision 505903) @@ -1,4 +1,4 @@ XSANE is a gtk based X11 frontend for SANE (Scanner Access Now Easy). It works either standalone or as a GIMP plugin. -WWW: http://www.xsane.org/ +WWW: https://gitlab.com/sane-project/frontend/xsane