Import of pkgsrc-2016Q3

This commit is contained in:
2016-11-18 22:39:22 +01:00
committed by sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949747 additions and 377081 deletions
+26 -7
View File
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.79 2015/06/12 10:51:20 wiz Exp $
# $NetBSD: Makefile,v 1.84 2016/08/03 10:31:28 leot Exp $
DISTNAME= groff-1.22.3
PKGREVISION= 1
PKGREVISION= 4
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNU:=groff/}
@@ -49,11 +49,6 @@ BUILD_DEFS+= PAPERSIZE
CONFIGURE_ENV+= PAGE=${PAPERSIZE:Q}
.endif
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-4.[6-9].*)
CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
.endif
post-extract:
${CP} -p ${FILESDIR}/*.c ${WRKSRC}
@@ -75,6 +70,12 @@ post-patch:
# It also installs wrappers around the system macros for a variety of
# other traditional macro packages, if those macros don't have an FSF
# copyright.
SYMLINK_FILES= chem diffmk eqn grn indxbib lookbib neqn nroff pic refer \
soelim tbl troff
SYMLINK_MANFILES= chem.1 eqn.1 grn.1 indxbib.1 lookbib.1 neqn.1 nroff.1 \
pic.1 refer.1 soelim.1 tbl.1 troff.1
INSTALLATION_DIRS= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
post-install:
${INSTALL_DATA} ${WRKDIR}/mdoc.local \
@@ -91,6 +92,24 @@ post-install:
done; \
${ECHO} "$$line" >> ${WRKDIR}/PLIST-local; \
done
.for f in ${SYMLINK_FILES}
if [ -f ${DESTDIR}${PREFIX}/bin/g${f} ]; then \
${LN} -sf ${PREFIX}/bin/g${f} \
${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}; \
fi
.endfor
# fixup where necessary and symlink man pages
.for f in ${SYMLINK_MANFILES}
if [ -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f} ]; then \
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f} \
${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}; \
elif [ -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${f} ]; then \
${MV} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${f} \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/g${f}; \
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f} \
${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}; \
fi
.endfor
# we only want the charset.alias file, so no buildlinkery for libiconv
DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
+50 -25
View File
@@ -1,15 +1,15 @@
@comment $NetBSD: PLIST,v 1.24 2015/01/08 09:02:27 wiz Exp $
@comment $NetBSD: PLIST,v 1.25 2015/10/02 11:33:14 richard Exp $
bin/addftinfo
bin/afmtodit
bin/chem
bin/eqn
bin/gchem
bin/geqn
bin/eqn2graph
bin/gdiffmk
bin/glilypond
bin/gperl
bin/gpinyin
bin/grap2graph
bin/grn
bin/ggrn
bin/grodvi
bin/groff
bin/groffer
@@ -20,31 +20,56 @@ bin/gropdf
bin/grops
bin/grotty
bin/hpftodit
bin/indxbib
bin/gindxbib
bin/lkbib
bin/lookbib
bin/glookbib
bin/mmroff
bin/neqn
bin/nroff
bin/gneqn
bin/gnroff
bin/pdfmom
bin/pdfroff
bin/pfbtops
bin/pic
bin/gpic
bin/pic2graph
bin/post-grohtml
bin/pre-grohtml
bin/preconv
bin/refer
bin/grefer
bin/roff2dvi
bin/roff2html
bin/roff2pdf
bin/roff2ps
bin/roff2text
bin/roff2x
bin/soelim
bin/tbl
bin/gsoelim
bin/gtbl
bin/tfmtodit
bin/troff
bin/gtroff
gnu/bin/chem
gnu/bin/diffmk
gnu/bin/eqn
gnu/bin/grn
gnu/bin/indxbib
gnu/bin/lookbib
gnu/bin/neqn
gnu/bin/nroff
gnu/bin/pic
gnu/bin/refer
gnu/bin/soelim
gnu/bin/tbl
gnu/bin/troff
gnu/man/man1/chem.1
gnu/man/man1/eqn.1
gnu/man/man1/grn.1
gnu/man/man1/indxbib.1
gnu/man/man1/lookbib.1
gnu/man/man1/neqn.1
gnu/man/man1/nroff.1
gnu/man/man1/pic.1
gnu/man/man1/refer.1
gnu/man/man1/soelim.1
gnu/man/man1/tbl.1
gnu/man/man1/troff.1
info/groff.info
lib/groff/glilypond/args.pl
lib/groff/glilypond/oop_fh.pl
@@ -60,15 +85,15 @@ lib/groff/groffer/version.sh
lib/groff/grog/subs.pl
man/man1/addftinfo.1
man/man1/afmtodit.1
man/man1/chem.1
man/man1/eqn.1
man/man1/gchem.1
man/man1/geqn.1
man/man1/eqn2graph.1
man/man1/gdiffmk.1
man/man1/glilypond.1
man/man1/gperl.1
man/man1/gpinyin.1
man/man1/grap2graph.1
man/man1/grn.1
man/man1/ggrn.1
man/man1/grodvi.1
man/man1/groff.1
man/man1/groffer.1
@@ -80,29 +105,29 @@ man/man1/gropdf.1
man/man1/grops.1
man/man1/grotty.1
man/man1/hpftodit.1
man/man1/indxbib.1
man/man1/gindxbib.1
man/man1/lkbib.1
man/man1/lookbib.1
man/man1/glookbib.1
man/man1/mmroff.1
man/man1/neqn.1
man/man1/nroff.1
man/man1/gneqn.1
man/man1/gnroff.1
man/man1/pdfmom.1
man/man1/pdfroff.1
man/man1/pfbtops.1
man/man1/pic.1
man/man1/gpic.1
man/man1/pic2graph.1
man/man1/preconv.1
man/man1/refer.1
man/man1/grefer.1
man/man1/roff2dvi.1
man/man1/roff2html.1
man/man1/roff2pdf.1
man/man1/roff2ps.1
man/man1/roff2text.1
man/man1/roff2x.1
man/man1/soelim.1
man/man1/tbl.1
man/man1/gsoelim.1
man/man1/gtbl.1
man/man1/tfmtodit.1
man/man1/troff.1
man/man1/gtroff.1
man/man5/groff_font.5
man/man5/groff_out.5
man/man5/groff_tmac.5
+4 -2
View File
@@ -1,8 +1,10 @@
$NetBSD: distinfo,v 1.22 2015/01/16 23:28:23 wiz Exp $
$NetBSD: distinfo,v 1.25 2016/08/03 10:31:28 leot Exp $
SHA1 (groff-1.22.3.tar.gz) = 61a6808ea1ef715df9fa8e9b424e1f6b9fa8c091
RMD160 (groff-1.22.3.tar.gz) = 8f6d364f759e559c12c497091118f6d68f3a3b85
SHA512 (groff-1.22.3.tar.gz) = c526ab203d13a9c9d110bcd3149fe50d1cd0d309437e9e2731a7ce90d890507ebc0a2331899ecf4dba2938daa756b6094cf76fd347a0ded59797c70ccfd0c95c
Size (groff-1.22.3.tar.gz) = 4188772 bytes
SHA1 (patch-aa) = b9ca249a89b1e658d5629863aef38eb5fcb359af
SHA1 (patch-aa) = 3f5d2c29397377f673a863e0ea953eaac4088898
SHA1 (patch-ab) = 64ba9805a0798bfce543a258cd66347caa1bf860
SHA1 (patch-font_devpdf_Makefile.sub) = 2d73140fe036cf48fe93eea3ad71a273c181e298
SHA1 (patch-src_libs_libgroff_tmpfile.cpp) = 3794a028dc7c569e5adea6b7b876c3ac085376ba
+4 -5
View File
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.5 2007/02/22 19:27:13 wiz Exp $
# $NetBSD: options.mk,v 1.8 2016/02/26 10:32:47 jperkin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.groff
PKG_SUPPORTED_OPTIONS= groff-docs x11
@@ -7,6 +7,8 @@ PKG_SUGGESTED_OPTIONS= groff-docs x11
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgroff-docs)
TEXINFO_REQD+= 4.8
USE_TOOLS+= makeinfo
DEPENDS+= netpbm>=10.0:../../graphics/netpbm
DEPENDS+= psutils>=1.17:../../print/psutils
USE_TOOLS+= gs:run
@@ -18,10 +20,7 @@ CONFIGURE_ARGS+= --with-x
CONFIGURE_ARGS+= --with-appresdir=${PREFIX}/lib/X11/app-defaults
PLIST_SRC+= PLIST.x11
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "Interix"
CONFIGURE_ENV+= X_EXTRA_LIBS=-lXext
.endif
CONFIGURE_ENV.Interix+= X_EXTRA_LIBS=-lXext
.else
CONFIGURE_ARGS+= --without-x
.endif
+14 -3
View File
@@ -1,10 +1,21 @@
$NetBSD: patch-aa,v 1.5 2015/01/08 09:14:58 wiz Exp $
$NetBSD: patch-aa,v 1.6 2015/10/15 14:11:20 richard Exp $
Fix path to papers directory on NetBSD.
Avoid arbitrary decisions wrt troff being present or not to use a g'prefix.
Force it instead and use PKGGNUDIR logic to work it out.
--- Makefile.in.orig 2005-08-07 10:03:33.000000000 +0200
--- Makefile.in.orig 2014-11-04 08:38:35.145524997 +0000
+++ Makefile.in
@@ -214,7 +214,7 @@ tmac_an_prefix=\
@@ -123,7 +123,7 @@ DVIPRINT=@DVIPRINT@
# gtroff. This doesn't affect programs like grops or groff that have
# no Unix counterparts. Note that the groff versions of eqn and tbl
# will not work with Unix troff.
-g=@g@
+g=g
# Common prefix for installation directories.
# Used in definitions of exec_prefix, datasubdir, fontpath, manroot.
@@ -237,7 +237,7 @@ tmac_an_prefix=\
indexext=.i
# Directory containing the default index for refer.
@@ -0,0 +1,19 @@
$NetBSD: patch-font_devpdf_Makefile.sub,v 1.1 2016/08/03 10:31:28 leot Exp $
Solaris find(1) doesn't have -maxdepth. Adapt new logic from upstream that
avoid to use find for that (this will not needed for future groff version).
pkg/51332
--- font/devpdf/Makefile.sub.orig 2014-11-04 08:38:35.427521472 +0000
+++ font/devpdf/Makefile.sub
@@ -21,9 +21,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DEV=pdf
-GROFF_FONT_FILES=`cd $(top_builddir)/font/devpdf \
- && find * -maxdepth 0 -type f ! -name 'Makefile.sub*' \
- -exec grep -l internalname {} \;`
+GROFF_FONT_FILES=`cd $(top_builddir)/font/devpdf && grep -l internalname * | grep -v Makefile.sub`
ENC_FILES=`cd $(top_builddir)/font/devpdf; ls enc/*`
MAP_FILES=`cd $(top_builddir)/font/devpdf; ls map/*`