fa6d7ec008
(upstream) ChangeLog has too many lines, sorry to omit (pkgsrc) - Some VARIABLES introduced to ease further version update - following two patches dropped (patch-w3mhack.el) Compile mew-shimbun.el and mew-w3m.el when emacs-w3m-mew option is set. (patch-aclocal.m4) Don't quote ${EGREP}, it may be set to "grep -E". - (pkglint) LOCALBASE -> PREFIX
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2019/10/21 23:47:07 mef Exp $
|
|
|
|
VERSION= 1.4.632
|
|
DATE_TIME= 20190920.1116
|
|
HASH= c9cdb7e
|
|
DISTNAME= w3m-el-snapshot_${VERSION}+0.${DATE_TIME}.${HASH}
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}emacs-${DISTNAME:S/-el-snapshot_/-/:S/+0//:S/.${HASH}//}
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/w/w3m-el-snapshot/}
|
|
EXTRACT_SUFX= .orig.tar.gz
|
|
|
|
MAINTAINER= makoto@ki.nu
|
|
HOMEPAGE= http://emacs-w3m.namazu.org/
|
|
COMMENT= Emacs frontend for w3m browser
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= makeinfo gzip autoconf
|
|
INFO_FILES= yes
|
|
|
|
DEPENDS+= w3m{,-img}>=0.5.2nb3:../../www/w3m
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --srcdir=${WRKSRC}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ENV+= GAMEOWN=${GAMES_USER}
|
|
BUILD_TARGET=
|
|
WRKSRC= ${WRKDIR}/${PKGBASE}-${PKGBASE}-${HASH}
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= w3m.el
|
|
SUBST_SED.paths= -e 's|@W3M@|${PREFIX}/bin/w3m|g'
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
BUILD_DEFS+= GAMEDATAMODE
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../devel/apel/buildlink3.mk"
|
|
.include "../../devel/flim/buildlink3.mk"
|
|
.include "../../editors/mule-ucs/buildlink3.mk"
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|