pkgsrc/www/emacs-w3m-snapshot/Makefile
hiramatsu 9ac226c419 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.
2011-12-17 13:11:09 +00:00

52 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2011/12/17 13:11:09 hiramatsu Exp $
DISTNAME= w3m-el-snapshot_1.4.442+0.20110729.orig
PKGREVISION= 1
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME:S/w3m-el-snapshot_/emacs-w3m-/:S/+0//:S/.orig//}
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/w/w3m-el-snapshot/}
MAINTAINER= makoto@ki.nu
HOMEPAGE= http://emacs-w3m.namazu.org/
COMMENT= Emacs frontend for w3m browser
PKG_DESTDIR_SUPPORT= user-destdir
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=${GAMEOWN}
BUILD_TARGET=
WRKSRC= ${WRKDIR}/emacs-w3m
EVAL_PREFIX+= W3M_PREFIX=w3m
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing paths.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= w3m.el
SUBST_SED.paths= -e 's|@W3M@|${W3M_PREFIX}/bin/w3m|g'
INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \
infodir=${DESTDIR}${PREFIX}/${PKGINFODIR}
BUILD_DEFS+= VARBASE
BUILD_DEFS+= GAMEDATAMODE
PLIST_SRC+= PLIST
.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"