5abcacf74e
SWISH-Enhanced is a fast, powerful, flexible, and easy to use system for indexing collections of Web pages or other text files. Key features include the ability to limit searches to certain HTML tags (META, TITLE, comments, etc.). The SWISH-E software is free, and includes a package of Perl programs that enable anyone who is authorized to create and maintain their own indexes (AutoSwish). SWISH-E is an enhanced version of SWISH, which was originally written by Kevin Hughes and modified and released with his permission. http://sunsite.berkeley.edu/SWISH-E/ PR: ports/5821 Submitted By: Daniel O'Connor
32 lines
772 B
Makefile
32 lines
772 B
Makefile
# New ports collection makefile for: swish-e
|
|
# Version required: 1.2.4
|
|
# Date created: 23 Feb 98
|
|
# Whom: Daniel O'Connor <doconnor@gsoft.com.au>
|
|
#
|
|
# $Id$
|
|
#
|
|
|
|
DISTNAME= swish-efiles.1.2.4
|
|
PKGNAME= swish-e-1.2.4
|
|
CATEGORIES= www textproc
|
|
MASTER_SITES= ftp://sunsite.berkeley.edu/pub/swish-e/
|
|
|
|
MAINTAINER= doconnor@gsoft.com.au
|
|
|
|
WRKSRC= ${WRKDIR}/src
|
|
USE_GMAKE= yes
|
|
|
|
post-patch:
|
|
|
|
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre_sed
|
|
${SED} -e 's#/vol/moby/moby_a/gnu/sun4_sunos5.1/bin/gcc#${CC}#' \
|
|
-e 's#\"-g\"#\"${CFLAGS}\"#g' \
|
|
-e 's#CFLAGS= -O2#CFLAGS = \"${CFLAGS}\"#' \
|
|
${WRKSRC}/Makefile.pre_sed >> ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
|
|
$(INSTALL_PROGRAM) ${WRKSRC}/swish-e ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|