blob: e7cd8f15f1e7d0665a0b62f05df6675d1616114a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.9 2013/02/17 19:18:10 dholland Exp $
DISTNAME= w3m-el-snapshot_1.4.442+0.20110729.orig
PKGREVISION= 2
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
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"
|