pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/mg



Module Name:    pkgsrc
Committed By:   nikita
Date:           Tue Apr 25 22:06:37 UTC 2023

Modified Files:
        pkgsrc/editors/mg: Makefile PLIST

Log Message:
mg: install tutorial file again.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/editors/mg/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/editors/mg/PLIST

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

Modified files:

Index: pkgsrc/editors/mg/Makefile
diff -u pkgsrc/editors/mg/Makefile:1.14 pkgsrc/editors/mg/Makefile:1.15
--- pkgsrc/editors/mg/Makefile:1.14     Tue Apr 25 21:53:01 2023
+++ pkgsrc/editors/mg/Makefile  Tue Apr 25 22:06:37 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2023/04/25 21:53:01 nikita Exp $
+# $NetBSD: Makefile,v 1.15 2023/04/25 22:06:37 nikita Exp $
 
 DISTNAME=      mg-20230406
 CATEGORIES=    editors
@@ -17,7 +17,7 @@ MAKE_FILE=    GNUmakefile
 
 CFLAGS.NetBSD+=        -D_OPENBSD_SOURCE
 
-INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
 
 CONFLICTS+=    mg2a-[0-9]*
 
@@ -30,6 +30,9 @@ SUBST_FILES.path=     GNUmakefile mg.1
 SUBST_SED.path=                -e "s|/usr/local|${PREFIX}|g"
 SUBST_SED.path+=       -e "s|/usr/share/doc|${PREFIX}/share/doc|g"
 
+pre-install:
+       ${INSTALL_DATA} ${WRKSRC}/tutorial ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/tutorial
+
 .include "../../mk/bsd.prefs.mk"
 .if !empty(MACHINE_PLATFORM:MLinux-*-*)
 .include "../../devel/libbsd/buildlink3.mk"

Index: pkgsrc/editors/mg/PLIST
diff -u pkgsrc/editors/mg/PLIST:1.3 pkgsrc/editors/mg/PLIST:1.4
--- pkgsrc/editors/mg/PLIST:1.3 Tue Apr 25 21:53:01 2023
+++ pkgsrc/editors/mg/PLIST     Tue Apr 25 22:06:37 2023
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2023/04/25 21:53:01 nikita Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/04/25 22:06:37 nikita Exp $
 bin/mg
 man/man1/mg.1
+share/doc/mg/tutorial



Home | Main Index | Thread Index | Old Index