head	1.38;
access;
symbols
	pkgsrc-2026Q1:1.38.0.14
	pkgsrc-2026Q1-base:1.38
	pkgsrc-2025Q4:1.38.0.12
	pkgsrc-2025Q4-base:1.38
	pkgsrc-2025Q3:1.38.0.10
	pkgsrc-2025Q3-base:1.38
	pkgsrc-2025Q2:1.38.0.8
	pkgsrc-2025Q2-base:1.38
	pkgsrc-2025Q1:1.38.0.6
	pkgsrc-2025Q1-base:1.38
	pkgsrc-2024Q4:1.38.0.4
	pkgsrc-2024Q4-base:1.38
	pkgsrc-2024Q3:1.38.0.2
	pkgsrc-2024Q3-base:1.38
	pkgsrc-2024Q2:1.36.0.8
	pkgsrc-2024Q2-base:1.36
	pkgsrc-2024Q1:1.36.0.6
	pkgsrc-2024Q1-base:1.36
	pkgsrc-2023Q4:1.36.0.4
	pkgsrc-2023Q4-base:1.36
	pkgsrc-2023Q3:1.36.0.2
	pkgsrc-2023Q3-base:1.36
	pkgsrc-2023Q2:1.35.0.10
	pkgsrc-2023Q2-base:1.35
	pkgsrc-2023Q1:1.35.0.8
	pkgsrc-2023Q1-base:1.35
	pkgsrc-2022Q4:1.35.0.6
	pkgsrc-2022Q4-base:1.35
	pkgsrc-2022Q3:1.35.0.4
	pkgsrc-2022Q3-base:1.35
	pkgsrc-2022Q2:1.35.0.2
	pkgsrc-2022Q2-base:1.35
	pkgsrc-2022Q1:1.34.0.20
	pkgsrc-2022Q1-base:1.34
	pkgsrc-2021Q4:1.34.0.18
	pkgsrc-2021Q4-base:1.34
	pkgsrc-2021Q3:1.34.0.16
	pkgsrc-2021Q3-base:1.34
	pkgsrc-2021Q2:1.34.0.14
	pkgsrc-2021Q2-base:1.34
	pkgsrc-2021Q1:1.34.0.12
	pkgsrc-2021Q1-base:1.34
	pkgsrc-2020Q4:1.34.0.10
	pkgsrc-2020Q4-base:1.34
	pkgsrc-2020Q3:1.34.0.8
	pkgsrc-2020Q3-base:1.34
	pkgsrc-2020Q2:1.34.0.6
	pkgsrc-2020Q2-base:1.34
	pkgsrc-2020Q1:1.34.0.2
	pkgsrc-2020Q1-base:1.34
	pkgsrc-2019Q4:1.34.0.4
	pkgsrc-2019Q4-base:1.34
	pkgsrc-2019Q3:1.33.0.16
	pkgsrc-2019Q3-base:1.33
	pkgsrc-2019Q2:1.33.0.14
	pkgsrc-2019Q2-base:1.33
	pkgsrc-2019Q1:1.33.0.12
	pkgsrc-2019Q1-base:1.33
	pkgsrc-2018Q4:1.33.0.10
	pkgsrc-2018Q4-base:1.33
	pkgsrc-2018Q3:1.33.0.8
	pkgsrc-2018Q3-base:1.33
	pkgsrc-2018Q2:1.33.0.6
	pkgsrc-2018Q2-base:1.33
	pkgsrc-2018Q1:1.33.0.4
	pkgsrc-2018Q1-base:1.33
	pkgsrc-2017Q4:1.33.0.2
	pkgsrc-2017Q4-base:1.33
	pkgsrc-2017Q3:1.32.0.10
	pkgsrc-2017Q3-base:1.32
	pkgsrc-2017Q2:1.32.0.6
	pkgsrc-2017Q2-base:1.32
	pkgsrc-2017Q1:1.32.0.4
	pkgsrc-2017Q1-base:1.32
	pkgsrc-2016Q4:1.32.0.2
	pkgsrc-2016Q4-base:1.32
	pkgsrc-2016Q3:1.31.0.28
	pkgsrc-2016Q3-base:1.31
	pkgsrc-2016Q2:1.31.0.26
	pkgsrc-2016Q2-base:1.31
	pkgsrc-2016Q1:1.31.0.24
	pkgsrc-2016Q1-base:1.31
	pkgsrc-2015Q4:1.31.0.22
	pkgsrc-2015Q4-base:1.31
	pkgsrc-2015Q3:1.31.0.20
	pkgsrc-2015Q3-base:1.31
	pkgsrc-2015Q2:1.31.0.18
	pkgsrc-2015Q2-base:1.31
	pkgsrc-2015Q1:1.31.0.16
	pkgsrc-2015Q1-base:1.31
	pkgsrc-2014Q4:1.31.0.14
	pkgsrc-2014Q4-base:1.31
	pkgsrc-2014Q3:1.31.0.12
	pkgsrc-2014Q3-base:1.31
	pkgsrc-2014Q2:1.31.0.10
	pkgsrc-2014Q2-base:1.31
	pkgsrc-2014Q1:1.31.0.8
	pkgsrc-2014Q1-base:1.31
	pkgsrc-2013Q4:1.31.0.6
	pkgsrc-2013Q4-base:1.31
	pkgsrc-2013Q3:1.31.0.4
	pkgsrc-2013Q3-base:1.31
	pkgsrc-2013Q2:1.31.0.2
	pkgsrc-2013Q2-base:1.31
	pkgsrc-2013Q1:1.30.0.2
	pkgsrc-2013Q1-base:1.30
	pkgsrc-2012Q4:1.29.0.2
	pkgsrc-2012Q4-base:1.29
	pkgsrc-2012Q3:1.28.0.8
	pkgsrc-2012Q3-base:1.28
	pkgsrc-2012Q2:1.28.0.6
	pkgsrc-2012Q2-base:1.28
	pkgsrc-2012Q1:1.28.0.4
	pkgsrc-2012Q1-base:1.28
	pkgsrc-2011Q4:1.28.0.2
	pkgsrc-2011Q4-base:1.28
	pkgsrc-2011Q3:1.27.0.18
	pkgsrc-2011Q3-base:1.27
	pkgsrc-2011Q2:1.27.0.16
	pkgsrc-2011Q2-base:1.27
	pkgsrc-2011Q1:1.27.0.14
	pkgsrc-2011Q1-base:1.27
	pkgsrc-2010Q4:1.27.0.12
	pkgsrc-2010Q4-base:1.27
	pkgsrc-2010Q3:1.27.0.10
	pkgsrc-2010Q3-base:1.27
	pkgsrc-2010Q2:1.27.0.8
	pkgsrc-2010Q2-base:1.27
	pkgsrc-2010Q1:1.27.0.6
	pkgsrc-2010Q1-base:1.27
	pkgsrc-2009Q4:1.27.0.4
	pkgsrc-2009Q4-base:1.27
	pkgsrc-2009Q3:1.27.0.2
	pkgsrc-2009Q3-base:1.27
	pkgsrc-2009Q2:1.25.0.4
	pkgsrc-2009Q2-base:1.25
	pkgsrc-2009Q1:1.25.0.2
	pkgsrc-2009Q1-base:1.25
	pkgsrc-2008Q4:1.24.0.2
	pkgsrc-2008Q4-base:1.24
	pkgsrc-2008Q3:1.22.0.8
	pkgsrc-2008Q3-base:1.22
	cube-native-xorg:1.22.0.6
	cube-native-xorg-base:1.22
	pkgsrc-2008Q2:1.22.0.4
	pkgsrc-2008Q2-base:1.22
	cwrapper:1.22.0.2
	pkgsrc-2008Q1:1.21.0.4
	pkgsrc-2008Q1-base:1.21
	pkgsrc-2007Q4:1.21.0.2
	pkgsrc-2007Q4-base:1.21
	pkgsrc-2007Q3:1.20.0.4
	pkgsrc-2007Q3-base:1.20
	pkgsrc-2007Q2:1.20.0.2
	pkgsrc-2007Q2-base:1.20
	pkgsrc-2007Q1:1.19.0.2
	pkgsrc-2007Q1-base:1.19
	pkgsrc-2006Q4:1.17.0.8
	pkgsrc-2006Q4-base:1.17
	pkgsrc-2006Q3:1.17.0.6
	pkgsrc-2006Q3-base:1.17
	pkgsrc-2006Q2:1.17.0.4
	pkgsrc-2006Q2-base:1.17
	pkgsrc-2006Q1:1.17.0.2
	pkgsrc-2006Q1-base:1.17
	pkgsrc-2005Q4:1.14.0.2
	pkgsrc-2005Q4-base:1.14
	pkgsrc-2005Q3:1.10.0.2
	pkgsrc-2005Q3-base:1.10
	pkgsrc-2005Q2:1.9.0.4
	pkgsrc-2005Q2-base:1.9
	pkgsrc-2005Q1:1.9.0.2
	pkgsrc-2005Q1-base:1.9
	pkgsrc-2004Q4:1.8.0.2
	pkgsrc-2004Q4-base:1.8
	pkgsrc-2004Q3:1.7.0.4
	pkgsrc-2004Q3-base:1.7
	pkgsrc-2004Q2:1.7.0.2
	pkgsrc-2004Q2-base:1.7
	pkgsrc-2004Q1:1.6.0.4
	pkgsrc-2004Q1-base:1.6
	pkgsrc-2003Q4:1.6.0.2
	pkgsrc-2003Q4-base:1.6
	netbsd-1-6-1:1.3.0.2
	netbsd-1-6-1-base:1.3
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.38
date	2024.07.02.13.57.10;	author mef;	state Exp;
branches;
next	1.37;
commitid	8H6P0OtpAbvxMggF;

1.37
date	2024.07.02.13.13.25;	author mef;	state Exp;
branches;
next	1.36;
commitid	PDPYa5OIGnywxggF;

1.36
date	2023.09.17.06.47.12;	author mef;	state Exp;
branches;
next	1.35;
commitid	XZ0NhQrkvAtiG5FE;

1.35
date	2022.05.14.22.25.42;	author dholland;	state Exp;
branches;
next	1.34;
commitid	Gw0DdR6IBmlgF4ED;

1.34
date	2019.11.04.22.09.54;	author rillig;	state Exp;
branches;
next	1.33;
commitid	3HKsGoZT17shdAJB;

1.33
date	2017.09.29.12.40.28;	author wiz;	state Exp;
branches;
next	1.32;
commitid	ZRYX7Ib64A6cG59A;

1.32
date	2016.12.12.13.53.10;	author hauke;	state Exp;
branches;
next	1.31;
commitid	FVtbZsFndFhwpHxz;

1.31
date	2013.04.06.21.07.36;	author rodent;	state Exp;
branches;
next	1.30;

1.30
date	2013.02.17.19.18.10;	author dholland;	state Exp;
branches;
next	1.29;

1.29
date	2012.10.28.06.30.14;	author asau;	state Exp;
branches;
next	1.28;

1.28
date	2011.12.17.13.11.09;	author hiramatsu;	state Exp;
branches;
next	1.27;

1.27
date	2009.08.09.19.35.12;	author tonnerre;	state Exp;
branches;
next	1.26;

1.26
date	2009.08.04.20.45.19;	author minskim;	state Exp;
branches;
next	1.25;

1.25
date	2009.03.09.15.05.30;	author uebayasi;	state Exp;
branches;
next	1.24;

1.24
date	2008.10.13.08.07.02;	author uebayasi;	state Exp;
branches;
next	1.23;

1.23
date	2008.10.11.09.31.58;	author uebayasi;	state Exp;
branches;
next	1.22;

1.22
date	2008.04.12.22.43.13;	author jlam;	state Exp;
branches;
next	1.21;

1.21
date	2007.10.29.13.11.11;	author uebayasi;	state Exp;
branches;
next	1.20;

1.20
date	2007.06.30.13.21.13;	author joerg;	state Exp;
branches;
next	1.19;

1.19
date	2007.02.19.09.22.30;	author jnemeth;	state Exp;
branches;
next	1.18;

1.18
date	2007.01.27.12.56.02;	author uebayasi;	state Exp;
branches;
next	1.17;

1.17
date	2006.02.22.20.35.59;	author wiz;	state Exp;
branches;
next	1.16;

1.16
date	2006.02.05.23.11.20;	author joerg;	state Exp;
branches;
next	1.15;

1.15
date	2006.01.04.04.29.08;	author schmonz;	state Exp;
branches;
next	1.14;

1.14
date	2005.12.26.23.39.34;	author schmonz;	state Exp;
branches;
next	1.13;

1.13
date	2005.12.05.23.55.22;	author rillig;	state Exp;
branches;
next	1.12;

1.12
date	2005.12.05.20.51.12;	author rillig;	state Exp;
branches;
next	1.11;

1.11
date	2005.09.28.20.52.27;	author rillig;	state Exp;
branches;
next	1.10;

1.10
date	2005.08.28.04.25.31;	author uebayasi;	state Exp;
branches;
next	1.9;

1.9
date	2005.03.02.20.43.19;	author minskim;	state Exp;
branches;
next	1.8;

1.8
date	2004.12.03.15.15.12;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2004.05.08.13.35.20;	author uebayasi;	state Exp;
branches;
next	1.6;

1.6
date	2003.08.18.13.19.37;	author minoura;	state Exp;
branches;
next	1.5;

1.5
date	2003.07.22.04.14.22;	author martti;	state Exp;
branches;
next	1.4;

1.4
date	2003.07.17.22.55.32;	author grant;	state Exp;
branches;
next	1.3;

1.3
date	2003.01.11.15.32.57;	author uebayasi;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.19.09.38.18;	author minoura;	state Exp;
branches;
next	1.1;

1.1
date	2002.09.16.07.05.01;	author uebayasi;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.09.16.07.05.01;	author uebayasi;	state Exp;
branches;
next	;


desc
@@


1.38
log
@(www/emacs-w3m) PKGREVISION++, in case older binary exists
@
text
@# $NetBSD: Makefile,v 1.37 2024/07/02 13:13:25 mef Exp $

DISTNAME=	emacs-w3m-1.4.5
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_GITHUB:=emacs-w3m/}
GITHUB_TAG=	329cfcfc0448a45a0779ded7b51332a343d02a18
PKGREVISION=	1

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://emacs-w3m.namazu.org/
COMMENT=	Simple w3m interface for Emacs
LICENSE=	gnu-gpl-v2

#NSTALLATION_DIRS=	${ETCDIR}

USE_TOOLS+=	makeinfo autoconf
INFO_FILES=	YES

DEPENDS+=	w3m{,-img}>=0.5.1nb2:../../www/w3m

HAS_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-emacs=${EMACS_BIN:Q}
CONFIGURE_ARGS+=	--with-icondir=${ICONDIR}
CONFIGURE_ARGS+=	--infodir=${PREFIX}/info
BUILD_TARGET=		default
INSTALL_TARGET=		${INSTALL_TARGET.${EMACS_FLAVOR}}
#AKE_FLAGS=		prefix=${DESTDIR}${PREFIX} ICONDIR=${DESTDIR}${ICONDIR}
PLIST_SUBST+=		ETCDIR=${ETCDIR:Q}

WRKSRC=	${WRKDIR}/${PKGBASE}-${GITHUB_TAG}

#SUBST_CLASSES+=		fix-icondir
#SUBST_STAGE.fix-icondir=	pre-configure
#SUBST_FILES.fix-icondir=	Makefile.in w3m.el w3mhack.el
#SUBST_SED.fix-icondir=		-e 's|etc/images/w3m|etc/w3m|g'
#SUBST_SED.fix-icondir+=	-e 's|images/w3m|w3m|g'

EMACS_BUILDLINK=		# empty
EMACS_VERSIONS_ACCEPTED=	emacs21 emacs21nox emacs20 \
				emacs28 emacs28nox \
				emacs29 emacs29nox \
				xemacs215 xemacs215nox xemacs214 xemacs214nox

.include "../../editors/emacs/modules.mk"

# GNU Emacs 21 or later and XEmacs have GUI support
PLIST_VARS+=	gui
.if (${EMACS_FLAVOR} == "emacs" && ${EMACS_VERSION_MAJOR} > 20) || \
    ${EMACS_FLAVOR} == "xemacs"
PLIST.gui=	yes
.endif

# Work around an xemacs rendering bug for optimized GIFs, see
# <https://github.com/doitian/emacs-w3m>, 2b
.if (${EMACS_FLAVOR} == "xemacs")
DEPENDS+=	gifsicle-[0-9]*:../../graphics/gifsicle
.endif

DOCUMENTS=	COPYING ChangeLog ChangeLog.1 README README.ja
ETCDIR=		${ETCDIR.${EMACS_FLAVOR}}
ICONDIR=	${PREFIX}/share/emacs-w3m/icons

INSTALL_TARGET.emacs=	install install-icons
INSTALL_TARGET.xemacs=	install-package
ETCDIR.emacs=		share/emacs/${_EMACS_VERSION_MAJOR}/etc/w3m
ETCDIR.xemacs=		lib/xemacs/site-packages/etc/w3m

pre-configure:
	(cd ${WRKSRC}; autoconf)

post-install:
	for f in ${DOCUMENTS}; do \
		${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/emacs-w3m/; \
	done

.include "options.mk"

.if (${EMACS_FLAVOR} != "xemacs")
.include "../../devel/apel/buildlink3.mk"
.include "../../devel/semi/buildlink3.mk"
.include "../../editors/mule-ucs/buildlink3.mk"
.endif

.include "../../devel/flim/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
@


1.37
log
@(www/emacs-w3m) EMACS_VERSIONS_ACCEPTED+= emacs29. Adjust PLIST for w3m-load
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2022/05/14 22:25:42 dholland Exp $
d7 1
@


1.36
log
@(www/emacs-w3m) updated 1.4.4 to 1.4.5

- Converted to github.com version
- Packaging and main funciton is OK with emacs 28.2
- For other emacsen, I'll check time to time
- add LICENSE= gnu-gpl-v2
- ChangeLog may be too long, omitted for this commit, sorry:
@
text
@d40 1
d55 1
a55 1
DEPENDS+=	gifsicle:../../graphics/gifsicle
@


1.35
log
@Bump all elisp packages for the CONFLICTS change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2019/11/04 22:09:54 rillig Exp $
d3 1
a3 2
DISTNAME=	emacs-w3m-1.4.4
PKGREVISION=	5
d5 2
a6 1
MASTER_SITES=	${HOMEPAGE}
d8 1
a8 1
MAINTAINER=	uebayasi@@NetBSD.org
d11 1
d13 1
a13 1
INSTALLATION_DIRS=	${ETCDIR}
d15 1
a15 1
USE_TOOLS+=	makeinfo
d23 1
d26 1
a26 1
MAKE_FLAGS=		prefix=${DESTDIR}${PREFIX} ICONDIR=${DESTDIR}${ICONDIR}
d29 1
a29 5
SUBST_CLASSES+=			fix-icondir
SUBST_STAGE.fix-icondir=	pre-configure
SUBST_FILES.fix-icondir=	Makefile.in w3m.el w3mhack.el
SUBST_SED.fix-icondir=		-e 's|etc/images/w3m|etc/w3m|g'
SUBST_SED.fix-icondir+=		-e 's|images/w3m|w3m|g'
d31 7
a37 1
EMACS_BUILDLINK=		# defined
d39 1
d59 1
a59 1
ICONDIR=	${PREFIX}/${ETCDIR}
d66 3
d71 1
a71 1
		${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/${ETCDIR}; \
@


1.34
log
@www: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

Manually excluded phraseanet since pkglint got the indentation wrong.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2017/09/29 12:40:28 wiz Exp $
d4 1
a4 1
PKGREVISION=	4
@


1.33
log
@emacs22*, emacs23*, emacs24*: remove unmaintained emacs versions

As announced in
https://mail-index.netbsd.org/pkgsrc-users/2017/09/11/msg025563.html

This still leaves emacs20, emacs21, and the current version, emacs25.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.32 2016/12/12 13:53:10 hauke Exp $
d19 7
a25 7
HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-emacs=${EMACS_BIN:Q}
CONFIGURE_ARGS+=--with-icondir=${ICONDIR}
BUILD_TARGET=	default
INSTALL_TARGET=	${INSTALL_TARGET.${EMACS_FLAVOR}}
MAKE_FLAGS=	prefix=${DESTDIR}${PREFIX} ICONDIR=${DESTDIR}${ICONDIR}
PLIST_SUBST+=	ETCDIR=${ETCDIR:Q}
d27 1
a27 1
SUBST_CLASSES+=	fix-icondir
d33 1
a33 1
EMACS_BUILDLINK=# defined
@


1.32
log
@Make www/emacs-w3m build and run with xemacs, fixing PR pkg/40685

Changes:

o accomodate for differing dependencies:
  + graphics/gifsicle as a bug workaround
  + devel/flim (this was an implicite dependency through devel/semi)
  - devel/{apel,semi}, editors/mule-ucs contained in xemacs-packages

o conditional PLIST changes for differing installation paths

Tested with xemacs 21.4 and emacs 22
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2013/04/06 21:07:36 rodent Exp $
d34 1
a34 1
EMACS_VERSIONS_ACCEPTED=	emacs22 emacs22nox emacs21 emacs21nox emacs20 \
@


1.31
log
@"Each sed command should appear in an assignment of its own."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2013/02/17 19:18:10 dholland Exp $
d4 1
a4 1
PKGREVISION=	3
d46 6
d62 3
a64 1
	for f in ${DOCUMENTS}; do ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/${ETCDIR}; done
d68 1
d72 4
@


1.30
log
@Revbump all elisp packages after emacs changes.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2012/10/28 06:30:14 asau Exp $
d30 2
a31 2
SUBST_SED.fix-icondir=		-e 's|etc/images/w3m|etc/w3m|g' \
				-e 's|images/w3m|w3m|g'
@


1.29
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2011/12/17 13:11:09 hiramatsu Exp $
d4 1
a4 1
PKGREVISION=	2
@


1.28
log
@Modify DEPENDS so that not to install w3m when w3m-img is installed.
This fix is provided in PR pkg/38459 by Hiroyuki Bessho.

Increment PKGREVISION for each emacs-w3m and emacs-w3m-snapshot.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2009/08/09 19:35:12 tonnerre Exp $
a11 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.27
log
@Convert second line of EMACS_VERSIONS_ACCEPTED to acceptable syntax.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2009/08/04 20:45:19 minskim Exp $
d4 1
a4 1
PKGREVISION=	1
d18 1
a18 1
DEPENDS+=	w3m>=0.5.1nb2:../../www/w3m
@


1.26
log
@emacs-w3m does not work with emacs>=23.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2009/03/09 15:05:30 uebayasi Exp $
d36 1
a36 1
				xemacs215, xemacs215nox, xemacs214, xemacs214nox
@


1.25
log
@_EMACS_VERSION_NOREV is no more.  Use _EMACS_VERSION_MAJOR.

Pointed out & patch submitted by Aleksey Cheusov.  Thanks!
@
text
@d1 1
a1 1
# $NetBSD$
d35 2
@


1.24
log
@Introduce EMACS_BUILDLINK to decide if Emacs lisp file wrappers are really
created or not.  Packages that include other ELP's buildlink3.mk must define
EMACS_BUILDLINK.  Other packages don't create wrappers, which reduces build
time a lot.
@
text
@d51 1
a51 1
ETCDIR.emacs=		share/emacs/${_EMACS_VERSION_NOREV}/etc/w3m
@


1.23
log
@Move mk/emacs.mk to editors/emacs/modules.mk.

Don't call pkg_info to get the installed Emacs version; always use the
version matching EMACS_TYPE set by users.  Be DEPENDS to it.  This should
address pkg/37146 by Aleksey Cheusov.

While here convert some emacs lisp packages to user-destdir.
@
text
@d34 2
@


1.22
log
@Convert to use PLIST_VARS instead of manually passing "@@comment "
through PLIST_SUBST to the plist module.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2007/10/29 13:11:11 uebayasi Exp $
d12 3
d22 1
a22 1
CONFIGURE_ARGS+=--with-icondir=${PREFIX}/${ETCDIR}
d25 1
d34 1
a34 1
.include "../../mk/emacs.mk"
d45 1
d53 1
a53 2
	@@${INSTALL_DATA_DIR} ${PREFIX}/${ETCDIR}
	for f in ${DOCUMENTS}; do ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/${ETCDIR}; done
@


1.21
log
@Buildlink3'ify & make mew support optionalize.  Refactor code and PLIST a
lot.  Big changes but no functional change should be made.

Good bye long standing build order problem!
@
text
@d1 1
a1 1
# $NetBSD$
d33 1
d36 1
a36 3
PLIST_SUBST+=	FOR_gui=""
.else
PLIST_SUBST+=	FOR_gui="@@comment "
@


1.20
log
@Fix an issue that bothered me ever since I started working on the
bulk build code. emacs-w3m uses EMACS_FLAVOR and EMACS_VERSION_MAJOR
to conditionally add a build time dependency on Mule-UCS. The latter
variable is not set when no emacs package is installed though and
therefore a dependency got added between scan phase and build phase,
possibly resulting in multiple builds of Mule-UCS in older
(non-pbulk) bulk builds. Fix this by switching to EMACS_TYPE for
the logic.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2007/02/19 09:22:30 jnemeth Exp $
d17 6
a22 1
.include "../../mk/emacs.mk"
d24 5
a28 4
DEPENDS+=	${EMACS_PKGNAME_PREFIX}semi-[0-9]*:../../devel/semi
.if ${EMACS_FLAVOR} == "xemacs"
DEPENDS+=	${EMACS_PKGNAME_PREFIX}apel>=10.3:../../devel/apel
.endif
d30 1
a30 3
.if ${EMACS_TYPE} == "emacs21" || ${EMACS_TYPE} == "emacs22"
BUILD_DEPENDS+=	${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84:../../editors/mule-ucs
.endif
d32 4
a35 5
HAS_CONFIGURE=	yes
CONFIGURE_ARGS+=--with-emacs=${EMACS_BIN:Q}
BUILD_TARGET=	default
.if ${EMACS_FLAVOR} == "xemacs"
INSTALL_TARGET=	install-package
d37 1
a37 1
INSTALL_TARGET=	install install-icons
d41 6
a46 10
.if ${EMACS_FLAVOR} == "xemacs"
ETCDIR=	lib/xemacs/site-packages/etc
ICONDIR=	${ETCDIR}/w3m
.else
ETCDIR=	share/emacs/${_EMACS_VERSION_NOREV}/etc
ICONDIR=	${ETCDIR}/images/w3m
.endif
DOCDIR=	${ETCDIR}/w3m/doc
PLIST_SUBST+=	DOCDIR=${DOCDIR:Q}
PLIST_SUBST+=	ICONDIR=${ICONDIR:Q}
d49 4
a52 2
	@@${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}
	for f in ${DOCUMENTS}; do ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/${DOCDIR}; done
d54 3
@


1.19
log
@Fix PLIST issues with patch from uebayasi@@ and some of my own stuff.
Fix info file handling.
Fix some pkglint issues.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2007/01/27 12:56:02 uebayasi Exp $
d24 1
a24 2
.if ${EMACS_FLAVOR} == "emacs" && \
    (${EMACS_VERSION_MAJOR} == 21 || ${EMACS_VERSION_MAJOR} == 22)
@


1.18
log
@Update emacs-w3m to 1.4.4.

A lot of changes since 1.3.3, including Unicode support and add-on modules
("shimbun").

NOTE:
I had to comment out w3m's "ucs_conv=1" option which is hard-coded in w3m.el,
so that w3m without unicode option also works with emacs-w3m.  Do we want
w3m to always have its homegrown yet another Unicode mapping table?

% ls w3m.*
-rwxr-xr-x  1 uebayasi  users   513186 Jan 27 20:46 w3m.no-unicode
-rwxr-xr-x  1 uebayasi  users  1182323 Jan 27 20:48 w3m.unicode
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2006/02/22 20:35:59 wiz Exp $
d4 1
d12 3
d44 1
a44 1
ICONDIR=	${ETCDIR}/w3m/icons
d51 1
a51 1
	@@${MKDIR} ${PREFIX}/${DOCDIR}
@


1.17
log
@Fix PLIST. Remove BROKEN_IN. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2006/02/05 23:11:20 joerg Exp $
d3 1
a3 3
DISTNAME=	emacs-w3m-1.3.3
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION=	2
d11 1
a11 5
DEPENDS+=	{w3m,w3m-img}>=0.3.1:../../www/w3m
BUILD_DEPENDS+=	${EMACS_PKGNAME_PREFIX}semi-[0-9]*:../../devel/semi

# Not tested with xemacs...
EMACS_VERSIONS_ACCEPTED=	emacs21 emacs21nox emacs20 xemacs214 xemacs215
d15 1
d20 2
a21 2
EMACS_MAJOR_VERSION=	${_EMACS_VERSION:C/\..*//}
.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_MAJOR_VERSION} == 21
d34 1
a34 1
DOCUMENTS=	COPYING ChangeLog ChangeLog.1 FAQ FAQ.ja README README.ja README.namazu.ja README.shimbun.ja TIPS TIPS.ja
d39 1
a39 1
ETCDIR=	share/emacs/${_EMACS_VERSION:C/(^[0-9.]*).*$/\1/}/etc
a43 1
PLIST_SUBST+=	ETCDIR=${ETCDIR:Q}
@


1.16
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2006/01/04 04:29:08 schmonz Exp $
d5 1
a5 1
PKGREVISION=	1
a12 2
BROKEN_IN=	pkgsrc-2005Q4

d25 1
a25 1
EMACS_MAJOR_VERSION=	${EMACS_VERSION:C/\..*//}
d44 1
a44 1
ETCDIR=	share/emacs/${EMACS_VERSION:C/[^0-9]*$//}/etc
d49 1
@


1.15
log
@Express these packages' brokenness with BROKEN_IN=pkgsrc-2005Q4
rather than PKG_FAIL_REASON, so that they provide useful error
messages in build logs, and so that they continue to work on platforms
where they aren't broken.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2005/12/26 23:39:34 schmonz Exp $
d5 1
@


1.14
log
@Mark packages for pkgsrc-2005Q4 that don't build on NetBSD/i386
3.0. If one of these is important to you, please fix it in time
for pkgsrc-2006Q1, or it may be removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/12/05 23:55:22 rillig Exp $
d12 1
a12 2
PKG_FAIL_REASON+=	"Broken on NetBSD/i386 3.0 in pkgsrc-2005Q4"
PKG_FAIL_REASON+=	"Will be removed in pkgsrc-2006Q1 unless fixed"
@


1.13
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2005/12/05 20:51:12 rillig Exp $
d12 3
@


1.12
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2005/09/28 20:52:27 rillig Exp $
d30 1
a30 1
CONFIGURE_ARGS+=--with-emacs=${EMACS_BIN}
@


1.11
log
@Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2005/08/28 04:25:31 uebayasi Exp $
d47 2
a48 2
PLIST_SUBST+=	DOCDIR=${DOCDIR}
PLIST_SUBST+=	ICONDIR=${ICONDIR}
@


1.10
log
@Rework emacs.mk:

1) Simplify the way how an emacs version is picked when no emacs
   is installed, but a user try to install an Emacs Lisp package.
   Just pick up the version set as EMACS_TYPE than searching for
   versions already installed etc.  If the EMACS_TYPE version is
   not supported by the Emacs Lisp Package, just fail.  EMACS_TYPE
   be default to GNU Emacs 21.

   (In other words, users should set EMACS_TYPE as they want.
   Otherwise GNU Emacs 21 is used.)

2) All Emacs Lisp Packages *must* prepend EMACS_PKGNAME_PREFIX to
   a) the PKGNAME itself, and b) PKGNAME in its dependency lines.
   EMACS_PKGNAME_PREFIX is expanded to "xemacs-" when XEmacs is
   used.  This keeps dependency graph of Emacs-Lisp-packages-
   installed-for-XEmacs consistent.

3) Document EMACS_* variables as much as possible.

4) Provide more cookies for PLIST.  Maybe utilized later.

Note that the 2) change doesn't affect the default, GNU Emacs 21
behaviour.  So no version / revision bumps in this commit.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2005/03/02 20:43:19 minskim Exp $
d29 1
a29 1
HAS_CONFIGURE=	# defined
@


1.9
log
@Correct the emacs path in PLIST, which had been wrong since
editors/emacs was updated to 21.4a.  Noted by Kibum Han on tech-pkg@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/12/03 15:15:12 wiz Exp $
d4 1
d12 2
a13 2
EMACS_DEPENDS+=	{w3m,w3m-img}>=0.3.1:../../www/w3m
BUILD_DEPENDS+=	${PKGNAME_PREFIX}semi-*:../../devel/semi
d21 1
a21 4
EMACS_DEPENDS+=	apel>=10.3:../../devel/apel
BUILD_DEPENDS+=	mew-xemacs-*:../../mail/mew-xemacs
.else
BUILD_DEPENDS+=	mew-*:../../mail/mew
d26 1
a26 1
BUILD_DEPENDS+=	Mule-UCS>=0.84:../../editors/mule-ucs
@


1.8
log
@Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/05/08 13:35:20 uebayasi Exp $
d45 1
a45 1
ETCDIR=	share/emacs/${EMACS_VERSION}/etc
@


1.7
log
@Add emacs21nox in EMACS_VERSIONS_ACCEPTED where appropriate.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2003/08/18 13:19:37 minoura Exp $
d33 1
a33 1
ALL_TARGET=	default
@


1.6
log
@Correct XEmacs support (typos and PLIST fix).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2003/07/22 04:14:22 martti Exp $
d15 1
a15 1
EMACS_VERSIONS_ACCEPTED=	emacs21 emacs20 xemacs214 xemacs215
@


1.5
log
@COMMENT should start with a capital letter.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2003/07/17 22:55:32 grant Exp $
d12 4
a15 1
BUILD_DEPENDS+=	semi-*:../../devel/semi
a18 3
# Not tested with xemacs...
EMACS_VERSIONS_ACCEPTED=	emacs21 emacs20 xemacs211 xemacs215

d28 1
a28 1
EMACS_DEPENDS+=	Mule-UCS>=0.84:../../editors/mule-ucs
@


1.4
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2003/01/11 15:32:57 uebayasi Exp $
d9 1
a9 1
COMMENT=	simple w3m interface for Emacs
@


1.3
log
@Update to 1.3.3.

User visible change summary:

	* w3m.el (w3m-goto-url): Display a help message to stop
	  asynchronous process.
	* w3m.el (w3m-emacs-w3m-icon): Use helvetica-bold to widen image.
	* w3m.el (w3m-lynx-like-map): Don't define key bindings for
	  `w3m-zoom-out-image' and `w3m-zoom-in-image' when emacs-w3m in
	  running in non-graphical display.
	* w3m.el (w3m-w3m-dump-head-source): Display the message which
	  describes how to stop asynchronous process.
	  (w3m-lynx-like-map): Changed the key binded to `w3m-process-stop'
	  from `C-c C-g' to `C-c C-k'.
	* w3m-image (w3m-resize-image-by-rate): Limit the minimum scale.
	* w3m.el (w3m-resize-inline-image-internal): Remove an existing
	  image only for XEmacs.
	* w3m.el (w3m-resize-inline-image-internal): Remove an existing
	  image before resizing.
	* w3m.el (w3m-lynx-like-map): Unbind the key "N" to the command
	  `w3m-namazu' in order to avoid binding collision to
	  `w3m-view-next-page'.  Thanks to Satoshi TAOKA for his report.
	* w3m.el (w3m-lynx-like-map): Bind key M-] to `w3m-zoom-in-image';
	  bind key M-[ to `w3m-zoom-out-image'.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2002/10/19 09:38:18 minoura Exp $
d7 1
a7 1
MAINTAINER=	uebayasi@@netbsd.org
@


1.2
log
@Install shimbun and other support files for semi and mew.
Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2002/09/16 07:05:01 uebayasi Exp $
d3 1
a3 2
DISTNAME=	emacs-w3m-1.3.2
PKGREVISION=	1
d11 2
a12 2
DEPENDS+=	{w3m,w3m-img}>=0.3.1:../../www/w3m
BUILD_DEPENDS+=	${PKGNAME_PREFIX}semi-*:../../devel/semi
d20 1
a20 1
DEPENDS+=	${PKGNAME_PREFIX}apel>=10.3:../../devel/apel
d28 1
a28 1
DEPENDS+=	Mule-UCS>=0.84:../../editors/mule-ucs
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d4 1
d13 18
a33 2
# XXX
#CONFIGURE_ARGS+=--with-icondir=${EMACS_LISPPREFIX}/w3m/icons
d35 21
a56 5
# XXX
#post-install:
#	@@cd ${WRKSRC} && ${MAKE_PROGRAM} install-icons

.include "../../mk/emacs.mk"
@


1.1.1.1
log
@Initial import of Emacs-w3m 1.3.2.

Emacs-w3m, a simple interface program of w3m, which works on Emacs.

w3m itself is a good program for WWW. Emacs-w3m provides an interface of w3m
on Emacs so that users can use Emacs's editing environment for WWW access.
This benefits multibyte language users.
@
text
@@
