pkgsrc-WIP-changes archive

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

Complete the package for tex-pgfgantt



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Sun Apr 22 04:19:01 2018 +0200
Changeset:	0ce13acf5ec259a876dc939b544c383574f79e54

Modified Files:
	tex-pgfgantt/Makefile
	tex-pgfgantt/PLIST

Log Message:
Complete the package for tex-pgfgantt

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

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

diffstat:
 tex-pgfgantt/Makefile | 8 ++++++++
 tex-pgfgantt/PLIST    | 1 +
 2 files changed, 9 insertions(+)

diffs:
diff --git a/tex-pgfgantt/Makefile b/tex-pgfgantt/Makefile
index f10157c9e3..eacc2a9d6d 100644
--- a/tex-pgfgantt/Makefile
+++ b/tex-pgfgantt/Makefile
@@ -11,7 +11,15 @@ HOMEPAGE=	https://www.ctan.org/pkg/pgfgantt
 COMMENT=	Draw Gantt charts with TikZ
 LICENSE=	lppl-1.3c
 
+DEPENDS+=	tex-latex-bin-[0-9]*:../../print/tex-latex-bin
 DEPENDS+=	tex-pgf-[0-9]*:../../print/tex-pgf
 
+INSTALLATION_DIRS+=	${PREFIX}/share/texmf-dist/tex/latex/pgfgantt
+
+do-install:
+	cd ${WRKSRC}/${DISTNAME} && ${LOCALBASE}/bin/latex pgfgantt.ins
+	${INSTALL_DATA} ${WRKSRC}/${DISTNAME}/pgfgantt.sty \
+		${DESTDIR}${PREFIX}/share/texmf-dist/tex/latex/pgfgantt/pgfgantt.sty
+
 .include "../../print/texlive/package.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/tex-pgfgantt/PLIST b/tex-pgfgantt/PLIST
index 48d96a5493..2cb8e6f6b5 100644
--- a/tex-pgfgantt/PLIST
+++ b/tex-pgfgantt/PLIST
@@ -1 +1,2 @@
 @comment $NetBSD$
+share/texmf-dist/tex/latex/pgfgantt/pgfgantt.sty


Home | Main Index | Thread Index | Old Index