pkgsrc/www/surfraw/Makefile
wiz 996b57778a Update to 1.0.8:
2 new elvi, leodict and wikipedia.
2007-02-18 18:14:57 +00:00

33 lines
903 B
Makefile

# $NetBSD: Makefile,v 1.33 2007/02/18 18:14:57 wiz Exp $
#
DISTNAME= surfraw-1.0.8
CATEGORIES= www
MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/wiz/
MAINTAINER= wiz@NetBSD.org
#HOMEPAGE= http://surfraw.sourceforge.net/
COMMENT= Shell Users' Revolutionary Front Rage Against the Web
CONFLICTS+= surfaw-[0-9]*
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
# Override sysconfdir so that the installation puts the example config file
# in ${EGDIR}.
#
MAKE_FLAGS+= sysconfdir=${EGDIR:Q}
MAKE_ENV+= AM_MAKEFLAGS=${MAKE_FLAGS:Q}
DOCDIR= ${PREFIX}/share/doc/surfraw
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
CONF_FILES= ${EGDIR}/surfraw.conf ${PKG_SYSCONFDIR}/surfraw.conf
CONF_FILES+= ${EGDIR}/surfraw_elvi.list ${PKG_SYSCONFDIR}/surfraw_elvi.list
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
.include "../../mk/bsd.pkg.mk"