head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.2 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.17.0.2 pkgsrc-2023Q3-base:1.17 pkgsrc-2023Q2:1.16.0.2 pkgsrc-2023Q2-base:1.16 pkgsrc-2023Q1:1.13.0.24 pkgsrc-2023Q1-base:1.13 pkgsrc-2022Q4:1.13.0.22 pkgsrc-2022Q4-base:1.13 pkgsrc-2022Q3:1.13.0.20 pkgsrc-2022Q3-base:1.13 pkgsrc-2022Q2:1.13.0.18 pkgsrc-2022Q2-base:1.13 pkgsrc-2022Q1:1.13.0.16 pkgsrc-2022Q1-base:1.13 pkgsrc-2021Q4:1.13.0.14 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.12 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.13.0.10 pkgsrc-2021Q2-base:1.13 pkgsrc-2021Q1:1.13.0.8 pkgsrc-2021Q1-base:1.13 pkgsrc-2020Q4:1.13.0.6 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.4 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.2 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.12.0.8 pkgsrc-2020Q1-base:1.12 pkgsrc-2019Q4:1.12.0.10 pkgsrc-2019Q4-base:1.12 pkgsrc-2019Q3:1.12.0.6 pkgsrc-2019Q3-base:1.12 pkgsrc-2019Q2:1.12.0.4 pkgsrc-2019Q2-base:1.12 pkgsrc-2019Q1:1.12.0.2 pkgsrc-2019Q1-base:1.12 pkgsrc-2018Q4:1.11.0.14 pkgsrc-2018Q4-base:1.11 pkgsrc-2018Q3:1.11.0.12 pkgsrc-2018Q3-base:1.11 pkgsrc-2018Q2:1.11.0.10 pkgsrc-2018Q2-base:1.11 pkgsrc-2018Q1:1.11.0.8 pkgsrc-2018Q1-base:1.11 pkgsrc-2017Q4:1.11.0.6 pkgsrc-2017Q4-base:1.11 pkgsrc-2017Q3:1.11.0.4 pkgsrc-2017Q3-base:1.11 pkgsrc-2017Q2:1.10.0.4 pkgsrc-2017Q2-base:1.10 pkgsrc-2017Q1:1.10.0.2 pkgsrc-2017Q1-base:1.10 pkgsrc-2016Q4:1.9.0.12 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.10 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.8 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.6 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.4 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.2 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.7.0.22 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.20 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.7.0.18 pkgsrc-2014Q4-base:1.7 pkgsrc-2014Q3:1.7.0.16 pkgsrc-2014Q3-base:1.7 pkgsrc-2014Q2:1.7.0.14 pkgsrc-2014Q2-base:1.7 pkgsrc-2014Q1:1.7.0.12 pkgsrc-2014Q1-base:1.7 pkgsrc-2013Q4:1.7.0.10 pkgsrc-2013Q4-base:1.7 pkgsrc-2013Q3:1.7.0.8 pkgsrc-2013Q3-base:1.7 pkgsrc-2013Q2:1.7.0.6 pkgsrc-2013Q2-base:1.7 pkgsrc-2013Q1:1.7.0.4 pkgsrc-2013Q1-base:1.7 pkgsrc-2012Q4:1.7.0.2 pkgsrc-2012Q4-base:1.7 pkgsrc-2012Q3:1.4.0.8 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.6 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.4 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.2 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.3.0.18 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.16 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.14 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.12 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.10 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.8 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.6 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.4 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.2 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.2.0.4 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.2 pkgsrc-2009Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.18 date 2023.12.07.23.57.25; author tnn; state Exp; branches; next 1.17; commitid eQW3bqXt2lCQMAPE; 1.17 date 2023.07.03.11.29.03; author vins; state Exp; branches; next 1.16; commitid knOxZuMkr1ClGlvE; 1.16 date 2023.05.02.07.26.15; author nikita; state Exp; branches; next 1.15; commitid isIJ6B2sMjoelmnE; 1.15 date 2023.04.25.22.06.37; author nikita; state Exp; branches; next 1.14; commitid RXk4PFDB1L8jrxmE; 1.14 date 2023.04.25.21.53.01; author nikita; state Exp; branches; next 1.13; commitid cajNc2NB9ZokmxmE; 1.13 date 2020.04.27.04.22.22; author rillig; state Exp; branches; next 1.12; commitid 5wMjQ87HFvlmGY5C; 1.12 date 2019.01.01.20.05.02; author wiz; state Exp; branches; next 1.11; commitid Opp8T91Xe3ppo76B; 1.11 date 2017.09.03.08.53.08; author wiz; state Exp; branches; next 1.10; commitid EfT0kpQ2wSMtgJ5A; 1.10 date 2017.01.04.11.18.44; author roy; state Exp; branches; next 1.9; commitid KjA1uz5ygCjLQDAz; 1.9 date 2015.08.18.07.31.06; author wiz; state Exp; branches; next 1.8; commitid UPpMIsB3AWu1PIxy; 1.8 date 2015.08.17.17.11.21; author wiz; state Exp; branches; next 1.7; commitid QQGz11WX4WB14Exy; 1.7 date 2012.12.12.12.47.50; author wiz; state Exp; branches; next 1.6; 1.6 date 2012.10.11.13.03.38; author marino; state Exp; branches; next 1.5; 1.5 date 2012.10.03.11.43.37; author asau; state Exp; branches; next 1.4; 1.4 date 2011.12.19.00.52.09; author dholland; state Exp; branches; next 1.3; 1.3 date 2009.08.15.23.14.58; author minskim; state Exp; branches; next 1.2; 1.2 date 2009.02.13.11.13.40; author abs; state Exp; branches; next 1.1; 1.1 date 2009.02.13.11.04.14; author abs; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2009.02.13.11.04.14; author abs; state Exp; branches; next ; desc @@ 1.18 log @mg: fix build on macOS @ text @# $NetBSD: Makefile,v 1.17 2023/07/03 11:29:03 vins Exp $ DISTNAME= mg-20230501 PKGREVISION= 1 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_GITHUB:=hboetes/} GITHUB_PROJECT= mg GITHUB_TAG= ${PKGVERSION_NOREV} MAINTAINER= abs@@NetBSD.org HOMEPAGE= https://github.com/hboetes/mg COMMENT= Small, fast, public domain EMACS style editor #FAKE_NCURSES= yes USE_TOOLS+= install gmake pkg-config MAKE_ENV+= prefix=${PREFIX} MAKE_FILE= GNUmakefile CFLAGS.NetBSD+= -D_OPENBSD_SOURCE INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE} CONFLICTS+= mg2a-[0-9]* BUILDLINK_TRANSFORM+= rm:-Werror SUBST_CLASSES+= path SUBST_STAGE.path= pre-configure SUBST_MESSAGE.path= Adjusting path. 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" .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "Darwin" post-extract: cp ${FILESDIR}/tree.h ${WRKSRC} .endif pre-install: ${INSTALL_DATA} ${WRKSRC}/tutorial ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}/tutorial .if ${OPSYS} == "Linux" .include "../../devel/libbsd/buildlink3.mk" .endif .include "../../devel/ncursesw/buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.17 log @*: Recursive revbump from devel/libmd This affects all packages requiring libbsd/libmd on Linux. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2023/05/02 07:26:15 nikita Exp $ d34 7 d44 1 a44 2 .include "../../mk/bsd.prefs.mk" .if !empty(MACHINE_PLATFORM:MLinux-*-*) @ 1.16 log @mg: update to version 20230501 No Changelog. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2023/04/25 22:06:37 nikita Exp $ d4 1 @ 1.15 log @mg: install tutorial file again. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2023/04/25 21:53:01 nikita Exp $ d3 1 a3 1 DISTNAME= mg-20230406 @ 1.14 log @mg: update to version 20230406 upstream URL changed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2020/04/27 04:22:22 rillig Exp $ d20 1 a20 1 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 d33 3 @ 1.13 log @editors/mg: fix prefix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2019/01/01 20:05:02 wiz Exp $ d3 1 a3 2 DISTNAME= mg-20110905 PKGREVISION= 5 d5 3 a7 1 MASTER_SITES= https://homepage.boetes.org/software/mg/ d10 1 a10 1 HOMEPAGE= https://homepage.boetes.org/software/mg/ d13 2 a14 3 HAS_CONFIGURE= yes FAKE_NCURSES= yes USE_TOOLS+= install d16 1 d29 1 a29 1 SUBST_FILES.path= Makefile.in mg.1 a31 1 SUBST_SED.path+= -e "s|/usr/bin/install|${INSTALL}|g" d33 5 a37 1 .include "../../mk/curses.buildlink3.mk" @ 1.12 log @mg: update to 20110905nb4. Fix +number. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2017/09/03 08:53:08 wiz Exp $ d4 1 a4 1 PKGREVISION= 4 d29 1 a29 1 SUBST_SED.path= -e "s|/usr/local|${PREFIX}/|g" @ 1.11 log @Follow some redirects. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.10 2017/01/04 11:18:44 roy Exp $ # d4 1 a4 1 PKGREVISION= 3 d17 2 @ 1.10 log @Use the curses framework. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2015/08/18 07:31:06 wiz Exp $ d7 1 a7 1 MASTER_SITES= http://homepage.boetes.org/software/mg/ d10 1 a10 1 HOMEPAGE= http://homepage.boetes.org/software/mg/ @ 1.9 log @Bump all packages that depend on curses.bui* or terminfo.bui* since they might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2015/08/17 17:11:21 wiz Exp $ d5 1 a5 1 PKGREVISION= 2 d14 1 a14 1 USE_NCURSES= yes # Uses NCURSES internals d32 1 a32 1 .include "../../devel/ncurses/buildlink3.mk" @ 1.8 log @Bump PKGREVISION for ncurses shlib bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2012/12/12 12:47:50 wiz Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.7 log @Update to 20110905 provided by ISIHARA Takanori in PR 47079. Over 2 years of changes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2012/10/11 13:03:38 marino Exp $ d5 1 @ 1.6 log @editors/mg: Mask -Werror mg adds the -Werror flag after CFLAGS, so any suppressed warning gets reenabled. Starting with gcc4.6, unused-but-set-variable warnings are issued which breaks the build. Passing Wno-unused-but-set-variable by the package makefile (as a function of compiler version) doesn't work. The easiest solution is just to disable -Werror. In this case through the makefile rather than updating a patch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2012/10/03 11:43:37 asau Exp $ d4 1 a4 1 DISTNAME= mg-20090107 d6 1 a6 1 MASTER_SITES= http://www.dds.nl/~han/software/mg/ d9 1 a9 1 HOMEPAGE= http://www.han.dds.nl/software/mg/ d14 1 d23 8 @ 1.5 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2011/12/19 00:52:09 dholland Exp $ d20 2 @ 1.4 log @Suppress a gcc warning that popped up in Joerg's build. While here, fix some pkglint. XXX: someone with the patience to wade through files with assorted copyright headers should figure out the proper setting of LICENSE for this package. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2009/08/15 23:14:58 minskim Exp $ a13 1 PKG_DESTDIR_SUPPORT= user-destdir @ 1.3 log @Update MASTER_SITES and HOMEPAGE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2009/02/13 11:13:40 abs Exp $ d14 2 a15 2 PKG_DESTDIR_SUPPORT= user-destdir MAKE_ENV+= prefix=${PREFIX:Q} d17 1 a17 1 INSTALLATION_DIRS = bin ${PKGMANDIR}/man1 d19 1 a19 1 CONFLICTS+= mg2a-[0-9]* @ 1.2 log @Add CONFLICTS mg* @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2009/02/13 11:04:14 abs Exp $ d6 1 a6 1 MASTER_SITES= http://www.xs4all.nl/~hanb/software/mg/ d9 1 a9 1 HOMEPAGE= http://www.xs4all.nl/~hanb/software/mg/ @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d19 2 @ 1.1.1.1 log @Added editors/mg version 20090107 This is the portable version of the OpenBSD mg editor Mg (mg) is a Public Domain EMACS style editor. It is "broadly" compatible with GNU Emacs, the latest creation of Richard M. Stallman, Chief GNUisance and inventor of Emacs. GNU Emacs (and other portions of GNU as they are released) are essentially free, (there are handling charges for obtaining it) and so is Mg. You may never have to learn another editor. (But probably will, at least long enough to port Mg...) Mg was formerly named MicroGnuEmacs, the name change was done at the request of Richard Stallman. Mg is not associated with the GNU project, and most of it does not have the copyright restrictions present in GNU Emacs. (However, some of the system dependent modules and the regular expression module do have copyright notices. Look at the source code for exact copyright restrictions.) The Mg authors individually may or may not agree with the opinions expressed by Richard Stallman in "The GNU Manifesto". This program is intended to be a small, fast, and portable editor for people who can't (or don't want to) run real Emacs for one reason or another. It is compatible with GNU because there shouldn't be any reason to learn more than one Emacs flavor. @ text @@