blob: d2697f064d55d3c09c99f1e07350075556deb2fe (
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
|
# $NetBSD: Makefile,v 1.17 2001/12/02 06:56:47 jlam Exp $
#
DISTNAME= surfraw-1.0.5
CATEGORIES= www
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://surfraw.sourceforge.net/
COMMENT= Shell Users' Revolutionary Front Rage Against the Web
CONFLICTS+= surfaw-[0-9]*
USE_BUILDLINK_ONLY= YES
AUTOMAKE_OVERRIDE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# Override sysconfdir so that the installation puts the example config file
# in ${EGDIR}.
#
MAKE_FLAGS+= sysconfdir=${EGDIR}
MAKE_ENV+= AM_MAKEFLAGS="${MAKE_FLAGS}"
DOCDIR= ${PREFIX}/share/doc/surfraw
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/surfraw.conf ${PKG_SYSCONFDIR}/surfraw.conf
SUPPORT_FILES= ${EGDIR}/surfraw_elvi.list ${PKG_SYSCONFDIR}/surfraw_elvi.list
PLIST_SUBST+= PKGBASE=${PKGBASE}
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"
|