ports/130431: Update port: x11-fonts/fntsample to 3.0
KATO Tsuguru
tkato432 at yahoo.com
Mon Jan 12 18:20:02 UTC 2009
>Number: 130431
>Category: ports
>Synopsis: Update port: x11-fonts/fntsample to 3.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 12 18:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.1-RELEASE-p1 i386
>Organization:
>Environment:
>Description:
- Update x11-fonts/fntsample to version 3.0
- Change print/pdfoutline to slave port of x11-fonts/fntsample
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# textproc_pdfoutline.diff
# x11-fonts_fntsample.diff
#
echo x - textproc_pdfoutline.diff
sed 's/^X//' >textproc_pdfoutline.diff << 'END-of-textproc_pdfoutline.diff'
Xdiff -urN /usr/ports/textproc/pdfoutline/Makefile textproc/pdfoutline/Makefile
X--- /usr/ports/textproc/pdfoutline/Makefile 2008-09-07 15:03:02.000000000 +0900
X+++ textproc/pdfoutline/Makefile 2008-10-27 22:11:13.000000000 +0900
X@@ -6,28 +6,14 @@
X #
X
X PORTNAME= pdfoutline
X-PORTVERSION= 0.0.${DATE:S/-//g}
X-DISTVERSION= 2.4
X+PORTREVISION= 0
X CATEGORIES= textproc
X-MASTER_SITES= SF/fntsample
X-DISTNAME= fntsample-${DISTVERSION}
X
X-MAINTAINER= ports at FreeBSD.org
X COMMENT= Add outlines to PDF files
X
X-RUN_DEPENDS= p5-PDF-API2>=0:${PORTSDIR}/textproc/p5-PDF-API2
X+MASTERDIR= ${.CURDIR}/../../x11-fonts/fntsample
X+DESCR= ${.CURDIR}/pkg-descr
X
X-USE_PERL5_RUN= yes
X-NO_BUILD= yes
X-PLIST_FILES= bin/${PORTNAME}
X-MAN1= ${PORTNAME}.1
X-DATE= 2007-03-14
X+PDFOUTLINE= yes
X
X-post-patch:
X- @${SED} -e 's|@DATE@|2007-03-14|' ${WRKSRC}/${PORTNAME}.1.in > ${WRKSRC}/${PORTNAME}.1
X-
X-do-install:
X- @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
X- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
X-
X-.include <bsd.port.mk>
X+.include "${MASTERDIR}/Makefile"
Xdiff -urN /usr/ports/textproc/pdfoutline/distinfo textproc/pdfoutline/distinfo
X--- /usr/ports/textproc/pdfoutline/distinfo 2007-04-04 21:58:01.000000000 +0900
X+++ textproc/pdfoutline/distinfo 1970-01-01 09:00:00.000000000 +0900
X@@ -1,3 +0,0 @@
X-MD5 (fntsample-2.4.tar.gz) = 013e5f5d6f4035437e67d0ee665de1bd
X-SHA256 (fntsample-2.4.tar.gz) = db23d5e5320f7d0447a59370d95aff90bc3c600fa05c111688e0d85642c992a5
X-SIZE (fntsample-2.4.tar.gz) = 84348
END-of-textproc_pdfoutline.diff
echo x - x11-fonts_fntsample.diff
sed 's/^X//' >x11-fonts_fntsample.diff << 'END-of-x11-fonts_fntsample.diff'
Xdiff -urN /usr/ports/x11-fonts/fntsample/Makefile x11-fonts/fntsample/Makefile
X--- /usr/ports/x11-fonts/fntsample/Makefile 2008-09-07 15:04:19.000000000 +0900
X+++ x11-fonts/fntsample/Makefile 2008-10-28 18:37:58.000000000 +0900
X@@ -5,36 +5,68 @@
X # $FreeBSD: ports/x11-fonts/fntsample/Makefile,v 1.13 2008/09/07 00:19:02 linimon Exp $
X #
X
X-PORTNAME= fntsample
X-PORTVERSION= 2.8
X-PORTREVISION= 1
X-CATEGORIES= x11-fonts
X-MASTER_SITES= SF http://unicode.org/Public/5.0.0/ucd/:unidata
X+PORTNAME?= fntsample
X+PORTVERSION= 3.0
X+PORTREVISION?= 0
X+CATEGORIES?= x11-fonts
X+MASTER_SITES= SF http://unicode.org/Public/5.1.0/ucd/:unidata
X+DISTNAME= fntsample-${PORTVERSION}
X DISTFILES= ${DISTNAME}${EXTRACT_SUFX} Blocks.txt:unidata
X EXTRACT_ONLY= ${DISTFILES:M*gz}
X
X MAINTAINER= ports at FreeBSD.org
X-COMMENT= Show Unicode coverage of a font
X+COMMENT?= Show Unicode coverage of a font
X
X+USE_PERL5_RUN= yes
X+
X+.if defined(PDFOUTLINE)
X+RUN_DEPENDS= p5-Locale-libintl>=0:${PORTSDIR}/devel/p5-Locale-libintl \
X+ p5-PDF-API2>=0:${PORTSDIR}/textproc/p5-PDF-API2
X+
X+NO_BUILD= yes
X+
X+MAN1= ${PORTNAME}.1
X+PLIST_FILES= bin/${PORTNAME}
X+.else
X BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
X-LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \
X- freetype.9:${PORTSDIR}/print/freetype2
X RUN_DEPENDS= pdfoutline:${PORTSDIR}/textproc/pdfoutline
X
X-USE_GNOME= glib20 pkgconfig pango
X-USE_PERL5_RUN= yes
X+USE_GNOME= pango
X+USE_GETTEXT= yes
X GNU_CONFIGURE= yes
X-PLIST_FILES= bin/${PORTNAME}
X+CONFIGURE_ARGS= --with-unicode-blocks=${WRKSRC}/Blocks.txt
X+
X MAN1= ${PORTNAME}.1
X+PLIST_FILES= bin/${PORTNAME} share/locale/uk/LC_MESSAGES/${PORTNAME}.mo
X+.endif
X
X post-extract:
X- @${CP} ${_DISTDIR}/Blocks.txt ${WRKSRC}/
X+.if !defined(PDFOUTLINE)
X+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/Blocks.txt ${WRKSRC}
X+.endif
X
X post-patch:
X- @${REINPLACE_CMD} -e 's|/usr/share/unicode|${WRKSRC}|' ${WRKSRC}/configure
X+.if defined(PDFOUTLINE)
X+ @${SED} -e 's|##PACKAGE##|fntsample|g ; \
X+ s|##LOCALEDIR##|${PREFIX}/share/locale|g' \
X+ ${WRKSRC}/${PORTNAME}.pl > ${WRKSRC}/${PORTNAME}
X+ @${SED} -e 's|@DATE@|2008-10-22|g' \
X+ ${WRKSRC}/${PORTNAME}.1.in > ${WRKSRC}/${PORTNAME}.1
X+.else
X+ @${REINPLACE_CMD} -e \
X+ 's|^bin_SCRIPTS|#bin_SCRIPTS|g' ${WRKSRC}/Makefile.in
X+.endif
X
X do-install:
X- @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
X- @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/
X+.if defined(PDFOUTLINE)
X+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X+.else
X+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X+ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1
X+ @${MKDIR} ${PREFIX}/share/locale/uk/LC_MESSAGES
X+ ${INSTALL_DATA} ${WRKSRC}/po/uk.gmo \
X+ ${PREFIX}/share/locale/uk/LC_MESSAGES/${PORTNAME}.mo
X+.endif
X
X .include <bsd.port.mk>
Xdiff -urN /usr/ports/x11-fonts/fntsample/distinfo x11-fonts/fntsample/distinfo
X--- /usr/ports/x11-fonts/fntsample/distinfo 2008-04-24 13:48:43.000000000 +0900
X+++ x11-fonts/fntsample/distinfo 2008-10-28 18:27:46.000000000 +0900
X@@ -1,6 +1,6 @@
X-MD5 (fntsample-2.8.tar.gz) = 4511fb91f6191a50ec2e81f53dbbbe6e
X-SHA256 (fntsample-2.8.tar.gz) = ac66b1abae965535d324e8fdad57e1a7bd6b0b9318d61f364af61b4ce6632496
X-SIZE (fntsample-2.8.tar.gz) = 90366
X-MD5 (Blocks.txt) = 2555f416d6b064be4a532d3748268569
X-SHA256 (Blocks.txt) = 4116c568ac01b49f1c27bf9ef3b4e9e9d9b10452997732e165a7bfd78862f16f
X-SIZE (Blocks.txt) = 5455
X+MD5 (fntsample-3.0.tar.gz) = 842d64d184bf03b0307940bf18e81905
X+SHA256 (fntsample-3.0.tar.gz) = 580059b8d7772a09f22bf0aef8b5c795e6a83c60f6658e27b40a858f0fdf822d
X+SIZE (fntsample-3.0.tar.gz) = 164912
X+MD5 (Blocks.txt) = aee9add2c5e17a8140f64f78c7d1147e
X+SHA256 (Blocks.txt) = 9c389049fcd4bba01164301e1efa16ab3058328d5a4913ad35d974401978062a
X+SIZE (Blocks.txt) = 5857
END-of-x11-fonts_fntsample.diff
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list