Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 19:21:47 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r490590 - head/textproc/pdfoutline
Message-ID:  <201901171921.x0HJLlhb011519@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jan 17 19:21:47 2019
New Revision: 490590
URL: https://svnweb.freebsd.org/changeset/ports/490590

Log:
  Update to 5.3
  
  - Update MASTER_SITES
  - Update WWW
  
  Changes:	https://github.com/eugmes/fntsample/releases

Modified:
  head/textproc/pdfoutline/Makefile
  head/textproc/pdfoutline/distinfo
  head/textproc/pdfoutline/pkg-descr

Modified: head/textproc/pdfoutline/Makefile
==============================================================================
--- head/textproc/pdfoutline/Makefile	Thu Jan 17 19:21:42 2019	(r490589)
+++ head/textproc/pdfoutline/Makefile	Thu Jan 17 19:21:47 2019	(r490590)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	pdfoutline
-PORTVERSION=	4.1
+PORTVERSION=	5.3
+DISTVERSIONPREFIX=	release/
 CATEGORIES=	textproc
-MASTER_SITES=	SF/fntsample/fntsample/${PORTVERSION}
-DISTNAME=	fntsample-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Add outlines to PDF files
@@ -13,25 +12,31 @@ COMMENT=	Add outlines to PDF files
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	p5-Locale-libintl>=0:devel/p5-Locale-libintl \
+BUILD_DEPENDS=	${RUN_DEPENDS}
+RUN_DEPENDS=	p5-Locale-libintl>=0:devel/p5-Locale-libintl \
 		p5-PDF-API2>=0:textproc/p5-PDF-API2
-RUN_DEPENDS:=	${BUILD_DEPENDS}
 
+USES=		perl5 shebangfix
+USE_PERL5=	run
+
 NO_ARCH=	yes
 NO_BUILD=	yes
-USE_PERL5=	run
-USES=		perl5 pkgconfig shebangfix
-SHEBANG_FILES=	pdfoutline.pl
 
-PLIST_FILES=	bin/${PORTNAME} \
-		man/man1/${PORTNAME}.1.gz
+PLIST_FILES=	bin/pdfoutline \
+		man/man1/pdfoutline.1.gz
 
+GH_ACCOUNT=	eugmes
+GH_PROJECT=	fntsample
+USE_GITHUB=	yes
+
+SHEBANG_FILES=	pdfoutline.pl
+
 post-patch:
-	@${SED} -e 's|##PACKAGE##|fntsample|g; s|##LOCALEDIR##|${LOCALBASE}/share/locale|g' ${WRKSRC}/${PORTNAME}.pl > ${WRKSRC}/${PORTNAME}
-	@${SED} -e 's|@DATE@|2010-07-12|g' ${WRKSRC}/${PORTNAME}.1.in > ${WRKSRC}/${PORTNAME}.1
+	@${SED} -e 's|@CMAKE_PROJECT_NAME@|fntsample|; s|@CMAKE_INSTALL_FULL_LOCALEDIR@|${LOCALBASE}/share/locale|' ${WRKSRC}/pdfoutline.pl > ${WRKSRC}/pdfoutline
+	@${SED} -e 's|@DATE@|2018-12-26|' ${WRKSRC}/pdfoutline.1.in > ${WRKSRC}/pdfoutline.1
 
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/
+	${INSTALL_SCRIPT} ${WRKSRC}/pdfoutline ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/pdfoutline.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Modified: head/textproc/pdfoutline/distinfo
==============================================================================
--- head/textproc/pdfoutline/distinfo	Thu Jan 17 19:21:42 2019	(r490589)
+++ head/textproc/pdfoutline/distinfo	Thu Jan 17 19:21:47 2019	(r490590)
@@ -1,2 +1,3 @@
-SHA256 (fntsample-4.1.tar.gz) = 1824f7e452b56671cf451819a46af70db549213e5c189e6b3cda273cd05e2411
-SIZE (fntsample-4.1.tar.gz) = 190420
+TIMESTAMP = 1547659141
+SHA256 (eugmes-fntsample-release-5.3_GH0.tar.gz) = e4e8b50b0a5e984cfdaa32b7d133bd3bf0c62edb14f752f7df1190176023972b
+SIZE (eugmes-fntsample-release-5.3_GH0.tar.gz) = 56508

Modified: head/textproc/pdfoutline/pkg-descr
==============================================================================
--- head/textproc/pdfoutline/pkg-descr	Thu Jan 17 19:21:42 2019	(r490589)
+++ head/textproc/pdfoutline/pkg-descr	Thu Jan 17 19:21:47 2019	(r490590)
@@ -2,4 +2,4 @@ pdfoutline adds outlines (aka bookmarks) to PDF files.
 as first argument, adds outlines from text file given as second argument, and
 saves result to file with name given as third argument.
 
-WWW: http://fntsample.sourceforge.net/
+WWW: https://github.com/eugmes/fntsample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901171921.x0HJLlhb011519>