pkgsrc-WIP-changes archive

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

(www/emacs-w3m) silence pkglint flags



Module Name:	pkgsrc-wip
Committed By:	makoto <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Sun Sep 17 15:20:11 2023 +0900
Changeset:	08d9f09621c55ffdcb0aabe25344b675cd711b7f

Modified Files:
	emacs-w3m/Makefile
	emacs-w3m/PLIST
	emacs-w3m/options.mk

Log Message:
(www/emacs-w3m) silence pkglint flags

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

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

diffstat:
 emacs-w3m/Makefile   | 20 ++++++++++----------
 emacs-w3m/PLIST      |  9 +++++++--
 emacs-w3m/options.mk |  2 +-
 3 files changed, 18 insertions(+), 13 deletions(-)

diffs:
diff --git a/emacs-w3m/Makefile b/emacs-w3m/Makefile
index ab9d94f571..ef42b33e9f 100644
--- a/emacs-w3m/Makefile
+++ b/emacs-w3m/Makefile
@@ -2,14 +2,13 @@
 
 DISTNAME=	emacs-w3m-1.4.5
 CATEGORIES=	www
-MASTER_SITES=	${HOMEPAGE}
 MASTER_SITES=	${MASTER_SITE_GITHUB:=emacs-w3m/}
-
 GITHUB_TAG=	329cfcfc0448a45a0779ded7b51332a343d02a18
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	http://emacs-w3m.namazu.org/
 COMMENT=	Simple w3m interface for Emacs
+LICENSE=	gnu-gpl-v2
 
 #NSTALLATION_DIRS=	${ETCDIR}
 
@@ -21,20 +20,21 @@ 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}
+WRKSRC=	${WRKDIR}/${PKGBASE}-${GITHUB_TAG}
 
-#SUBST_CLASSES+=			fix-icondir
+#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'
+#SUBST_SED.fix-icondir+=	-e 's|images/w3m|w3m|g'
 
-EMACS_BUILDLINK=		# defined
+EMACS_BUILDLINK=		# empty
 EMACS_VERSIONS_ACCEPTED=	emacs21 emacs21nox emacs20 \
 				emacs28 emacs28nox \
 				xemacs215 xemacs215nox xemacs214 xemacs214nox
@@ -66,10 +66,10 @@ ETCDIR.xemacs=		lib/xemacs/site-packages/etc/w3m
 pre-configure:
 	(cd ${WRKSRC}; autoconf)
 
-#j.post-install:
-#j.	for f in ${DOCUMENTS}; do \
-#j.		${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/${}; \
-#j.	done
+post-install:
+	for f in ${DOCUMENTS}; do \
+		${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/share/emacs-w3m/; \
+	done
 
 .include "options.mk"
 
diff --git a/emacs-w3m/PLIST b/emacs-w3m/PLIST
index 9db5e2590b..3727cb9ab0 100644
--- a/emacs-w3m/PLIST
+++ b/emacs-w3m/PLIST
@@ -1,4 +1,11 @@
 @comment $NetBSD$
+info/emacs-w3m-ja.info.gz
+info/emacs-w3m.info.gz
+share/emacs-w3m/COPYING
+share/emacs-w3m/ChangeLog
+share/emacs-w3m/ChangeLog.1
+share/emacs-w3m/README
+share/emacs-w3m/README.ja
 share/emacs-w3m/icons/antenna-up.png
 share/emacs-w3m/icons/antenna-up.xpm
 share/emacs-w3m/icons/back-disabled.png
@@ -376,5 +383,3 @@ ${EMACS_LISPPREFIX}/w3m/w3m-weather.el.gz
 ${EMACS_LISPPREFIX}/w3m/w3m-weather.elc
 ${EMACS_LISPPREFIX}/w3m/w3m.el.gz
 ${EMACS_LISPPREFIX}/w3m/w3m.elc
-share/info/emacs-w3m-ja.info.gz
-share/info/emacs-w3m.info.gz
diff --git a/emacs-w3m/options.mk b/emacs-w3m/options.mk
index 174e4d85ed..c6d559f40b 100644
--- a/emacs-w3m/options.mk
+++ b/emacs-w3m/options.mk
@@ -9,7 +9,7 @@ PLIST_VARS+=	mew
 
 # xemacs-packages contain mew (but not mew-nntp)
 .if (${EMACS_FLAVOR} == "xemacs")
-PLIST.mew =	yes
+PLIST.mew=	yes
 .elif !empty(PKG_OPTIONS:Memacs-w3m-mew)
 .include "../../mail/mew/buildlink3.mk"
 PLIST.mew=	yes


Home | Main Index | Thread Index | Old Index