pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dvisvgm: shell portability nit



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Feb 25 10:46:27 2017 +0100
Changeset:	0c45f366dcf6b4f01ef8f7fabc473e78310019b9

Modified Files:
	dvisvgm/Makefile
	dvisvgm/PLIST
	dvisvgm/distinfo
Added Files:
	dvisvgm/patches/patch-doc_Makefile.am

Log Message:
dvisvgm: shell portability nit

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0c45f366dcf6b4f01ef8f7fabc473e78310019b9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dvisvgm/Makefile                      |  2 ++
 dvisvgm/PLIST                         |  2 ++
 dvisvgm/distinfo                      |  1 +
 dvisvgm/patches/patch-doc_Makefile.am | 13 +++++++++++++
 4 files changed, 18 insertions(+)

diffs:
diff --git a/dvisvgm/Makefile b/dvisvgm/Makefile
index d7fee41771..1724af3bfe 100644
--- a/dvisvgm/Makefile
+++ b/dvisvgm/Makefile
@@ -14,11 +14,13 @@ GNU_CONFIGURE=	yes
 USE_LIBTOOL=	yes
 USE_LANGUAGES=	c c++
 USE_TOOLS+=	pkg-config
+USE_TOOLS+=	automake # Makefile.am patch
 
 CPPFLAGS+=	-I${BUILDLINK_PREFIX.kpathsea}/lib
 
 DEPENDS+=	xmlto-[0-9]*:../../textproc/xmlto
 
+#.include "../../wip/polyclipping/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
 .include "../../graphics/potrace/buildlink3.mk"
 .include "../../print/kpathsea/buildlink3.mk"
diff --git a/dvisvgm/PLIST b/dvisvgm/PLIST
index 48d96a5493..9e7023cb34 100644
--- a/dvisvgm/PLIST
+++ b/dvisvgm/PLIST
@@ -1 +1,3 @@
 @comment $NetBSD$
+bin/dvisvgm
+man/man1/dvisvgm.1
diff --git a/dvisvgm/distinfo b/dvisvgm/distinfo
index c2785825b3..5e83cb691d 100644
--- a/dvisvgm/distinfo
+++ b/dvisvgm/distinfo
@@ -4,3 +4,4 @@ SHA1 (dvisvgm-2.1.3.tar.gz) = 1327bf4ed478282a4fdf1c51289329848ae32ba3
 RMD160 (dvisvgm-2.1.3.tar.gz) = 11558bcc58e20c309e35812b27f69257da031626
 SHA512 (dvisvgm-2.1.3.tar.gz) = dfd6e94b28dcdf2d1be236f3f29eaf4e3e5b7bb34544cdd55ae09de612b02561dd782b693a9a94eea07420c795d31ef210eba34cb663d7de98f438c089369ff2
 Size (dvisvgm-2.1.3.tar.gz) = 2802278 bytes
+SHA1 (patch-doc_Makefile.am) = 115fbc103b93164a1e5a3d6b5a2164bf70180d80
diff --git a/dvisvgm/patches/patch-doc_Makefile.am b/dvisvgm/patches/patch-doc_Makefile.am
new file mode 100644
index 0000000000..68f3a47cb4
--- /dev/null
+++ b/dvisvgm/patches/patch-doc_Makefile.am
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- doc/Makefile.am.orig	2017-02-03 08:29:10.000000000 +0000
++++ doc/Makefile.am
+@@ -14,7 +14,7 @@ TWEAK_DB_ARTICLE  = $(top_srcdir)/doc/tw
+ DB_VARS = man.endnotes.list.enabled=0 man.endnotes.are.numbered=0 man.authors.section.enabled=0
+ 
+ dvisvgm.1: dvisvgm-man.xml $(CONF_DBLATEX_MAN)
+-	if [ `type -p xmlto` ]; then \
++	if [ `which xmlto` ]; then \
+ 		xmlto -m $(CONF_DBLATEX_MAN) $(addprefix --stringparam , $(DB_VARS)) man $<; \
+ 	fi
+ 


Home | Main Index | Thread Index | Old Index