pkgsrc/www/surfraw/Makefile
jlam 75b0811923 Update www/surfraw to 1.0.7. Changes from version 1.0.5 include:
New elvi: freebsd, openbsd, filesearching, ftpfind
    Updated elvi: translate (babelfish), ftpsearch, fast, netbsd
    Rename linuxdoc elvi to slinuxdoc, to prevent name clash with sgmltools
    Use test -r instead of test -e which inexplicably chocked Solaris8
    Documentation changes
2001-12-26 08:02:44 +00:00

37 lines
1,003 B
Makefile

# $NetBSD: Makefile,v 1.19 2001/12/26 08:02:44 jlam Exp $
#
DISTNAME= surfraw-1.0.7
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
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"