2007-02-18 19:14:57 +01:00
|
|
|
# $NetBSD: Makefile,v 1.33 2007/02/18 18:14:57 wiz Exp $
|
2000-08-05 10:10:40 +02:00
|
|
|
#
|
|
|
|
|
2007-02-18 19:14:57 +01:00
|
|
|
DISTNAME= surfraw-1.0.8
|
2000-08-05 10:10:40 +02:00
|
|
|
CATEGORIES= www
|
2007-02-18 19:14:57 +01:00
|
|
|
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/wiz/
|
2000-08-05 10:10:40 +02:00
|
|
|
|
2006-06-15 15:44:59 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2007-02-18 19:14:57 +01:00
|
|
|
#HOMEPAGE= http://surfraw.sourceforge.net/
|
2001-02-17 18:21:28 +01:00
|
|
|
COMMENT= Shell Users' Revolutionary Front Rage Against the Web
|
2000-08-05 10:10:40 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS+= surfaw-[0-9]*
|
2000-08-05 20:01:18 +02:00
|
|
|
|
2001-11-06 11:58:03 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2000-10-31 14:10:18 +01:00
|
|
|
|
2001-11-06 11:58:03 +01:00
|
|
|
# Override sysconfdir so that the installation puts the example config file
|
|
|
|
# in ${EGDIR}.
|
|
|
|
#
|
2005-12-05 21:49:47 +01:00
|
|
|
MAKE_FLAGS+= sysconfdir=${EGDIR:Q}
|
|
|
|
MAKE_ENV+= AM_MAKEFLAGS=${MAKE_FLAGS:Q}
|
2001-11-06 11:58:03 +01:00
|
|
|
|
2001-11-19 17:23:08 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/surfraw
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
|
2001-11-25 19:59:45 +01:00
|
|
|
CONF_FILES= ${EGDIR}/surfraw.conf ${PKG_SYSCONFDIR}/surfraw.conf
|
2005-08-19 20:12:36 +02:00
|
|
|
CONF_FILES+= ${EGDIR}/surfraw_elvi.list ${PKG_SYSCONFDIR}/surfraw_elvi.list
|
2001-11-19 17:23:08 +01:00
|
|
|
|
2000-08-05 10:22:36 +02:00
|
|
|
post-install:
|
2000-10-31 14:10:18 +01:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
2000-08-05 20:01:18 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|