diff -Naur ghostscript9-agpl-base.orig/Makefile ghostscript9-agpl-base/Makefile --- ghostscript9-agpl-base.orig/Makefile 2019-06-01 02:39:22.000000000 -0400 +++ ghostscript9-agpl-base/Makefile 2019-09-26 10:40:52.880791000 -0400 @@ -1,10 +1,9 @@ # $FreeBSD: head/print/ghostscript9-agpl-base/Makefile 503222 2019-06-01 06:39:22Z tcberner $ PORTNAME= ghostscript -PORTVERSION= 9.27 -PORTREVISION= 2 +DISTVERSION= 9.28${RCSTRING} CATEGORIES= print -MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/ +MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ PKGNAMESUFFIX= 9-agpl-base MAINTAINER= doceng@FreeBSD.org @@ -22,18 +21,20 @@ libtiff.so:graphics/tiff RUN_DEPENDS= poppler-data>=0.4.9:graphics/poppler-data +USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz +USE_CSTD= gnu99 +USE_LDCONFIG= yes + CONFLICTS_INSTALL= \ ghostscript[789]-[0-9]* \ ghostscript[789]-nox11-[0-9]* \ ghostscript9-agpl-[0-9]* \ ghostscript9-agpl-nox11-[0-9]* -USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz -USE_CSTD= gnu99 -USE_LDCONFIG= yes +RCSTRING= rc3 CPE_VENDOR= artifex -DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION} -DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION} +DATADIR= ${PREFIX}/share/${PORTNAME}/${DISTVERSION:S/${RCSTRING}//} +DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${DISTVERSION:S/${RCSTRING}//} GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-compile-inits \ --disable-dbus \ @@ -52,7 +53,9 @@ --without-x ALL_TARGET= so INSTALL_TARGET= soinstall -PLIST_SUB= GS_VERSION="${PORTVERSION}" +PLIST_SUB= GS_VERSION="${DISTVERSION:S/${RCSTRING}//}" + +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} OPTIONS_DEFINE= DOCS CUPS IJS JPEG2000 OPTIONS_DEFAULT=CUPS diff -Naur ghostscript9-agpl-base.orig/distinfo ghostscript9-agpl-base/distinfo --- ghostscript9-agpl-base.orig/distinfo 2019-04-21 12:41:37.000000000 -0400 +++ ghostscript9-agpl-base/distinfo 2019-09-26 09:49:00.565196000 -0400 @@ -1,3 +1,3 @@ -TIMESTAMP = 1555687281 -SHA256 (ghostscript-9.27.tar.xz) = fc0f1fbacd3610c67a9f080487a0e021f14390c38a4b4df9723e2bdf2b90b619 -SIZE (ghostscript-9.27.tar.xz) = 33182608 +TIMESTAMP = 1569503650 +SHA256 (ghostscript-9.28rc3.tar.xz) = 7e0aa2100d37fd3fe56f849ca4924e0c89e56a240916ce8fe62dd6928e852892 +SIZE (ghostscript-9.28rc3.tar.xz) = 34611464