1996-03-06 09:29:37 +00:00
|
|
|
# New ports collection makefile for: harvest
|
|
|
|
# Date created: Fri Mar 1 19:43:52 MET 1996
|
1996-09-19 03:01:17 +00:00
|
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
1996-03-06 09:29:37 +00:00
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1996-03-06 09:29:37 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= harvest
|
2003-08-02 16:20:20 +00:00
|
|
|
PORTVERSION= 1.9.10
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= www
|
2002-11-20 13:31:44 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1996-03-06 09:29:37 +00:00
|
|
|
|
2003-08-02 16:20:20 +00:00
|
|
|
MAINTAINER= sheepkiller@cultdeadsheep.org
|
2003-02-20 19:21:36 +00:00
|
|
|
COMMENT= Collect information from all over the Internet
|
1996-03-06 09:29:37 +00:00
|
|
|
|
2003-09-16 15:47:34 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
NO_MTREE= yes
|
|
|
|
CONFIGURE_ARGS?= --without-wish
|
2002-11-20 13:31:44 +00:00
|
|
|
|
|
|
|
STRIP= # none
|
2002-09-01 16:07:59 +00:00
|
|
|
|
2003-08-02 16:20:20 +00:00
|
|
|
MAN1= curl-config.1 curl.1 yaz-client-ssl.1 yaz-client.1 \
|
|
|
|
yaz-config.1 zebraidx.1 zoomsh.1
|
|
|
|
MAN3= curl_easy_cleanup.3 curl_easy_duphandle.3 curl_easy_getinfo.3 \
|
|
|
|
curl_easy_init.3 curl_easy_perform.3 curl_easy_setopt.3 \
|
|
|
|
curl_escape.3 curl_formadd.3 curl_formfree.3 curl_formparse.3 \
|
|
|
|
curl_free.3 curl_getdate.3 curl_getenv.3 curl_global_cleanup.3 \
|
|
|
|
curl_global_init.3 curl_mprintf.3 curl_multi_add_handle.3 \
|
|
|
|
curl_multi_cleanup.3 curl_multi_fdset.3 curl_multi_info_read.3 \
|
|
|
|
curl_multi_init.3 curl_multi_perform.3 \
|
|
|
|
curl_multi_remove_handle.3 curl_slist_append.3 \
|
|
|
|
curl_slist_free_all.3 curl_strequal.3 curl_strnequal.3 \
|
|
|
|
curl_unescape.3 curl_version.3 curl_version_info.3 \
|
|
|
|
libcurl-errors.3 libcurl-multi.3 libcurl.3
|
|
|
|
MAN7= yaz.7
|
|
|
|
MAN8= yaz-ztest-ssl.8 yaz-ztest.8 zebrasrv.8
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-09-16 15:47:34 +00:00
|
|
|
PREFIX:= ${PREFIX}/${PORTNAME}
|
|
|
|
|
2002-11-20 13:31:44 +00:00
|
|
|
post-patch:
|
2003-01-01 20:20:48 +00:00
|
|
|
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|<malloc\.h>|<stdlib.h>|g'
|
2002-03-31 03:10:17 +00:00
|
|
|
|
2003-08-02 16:20:20 +00:00
|
|
|
post-configure:
|
|
|
|
.if ${OSVERSION} > 501101
|
|
|
|
@${ECHO_MSG} "#define __STRICT_ANSI__ 1" >> ${WRKSRC}/src/common/include/autoconf.h
|
|
|
|
@${REINPLACE_CMD} "s!DEFS\(.*\)!DEFS\1 -D__STRICT_ANSI__!" \
|
|
|
|
${WRKSRC}/components/gatherer/standard/pstext/libs/src/sio/Makefile
|
|
|
|
@${REINPLACE_CMD} "s!DEFS\(.*\)=\(.*\)!DEFS\1 = -D__STRICT_ANSI__ \2 !" \
|
|
|
|
${WRKSRC}/components/gatherer/standard/pstext/libs/src/str/Makefile
|
|
|
|
@${REINPLACE_CMD} "s!DEFS\(.*\)!DEFS\1 -D__STRICT_ANSI__!" \
|
|
|
|
${WRKSRC}/components/gatherer/standard/pstext/pstext/Makefile
|
|
|
|
.endif
|
|
|
|
@${REINPLACE_CMD} "s!^INSTALL =\(.*\)!INSTALL = ${INSTALL}!" \
|
|
|
|
${WRKSRC}/src/gatherer/curl/lib/Makefile
|
|
|
|
|
2002-11-20 13:31:44 +00:00
|
|
|
post-install:
|
2003-01-01 20:20:48 +00:00
|
|
|
@(cd ${PREFIX} && ${GREP} -v "@" ${PLIST} | \
|
|
|
|
${XARGS} ${STRIP_CMD} 2> /dev/null || ${TRUE})
|
1997-06-12 17:26:33 +00:00
|
|
|
|
2003-08-02 16:20:20 +00:00
|
|
|
.include <bsd.port.post.mk>
|