54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
44 lines
1003 B
Makefile
44 lines
1003 B
Makefile
# New ports collection makefile for: harvest
|
|
# Date created: Fri Mar 1 19:43:52 MET 1996
|
|
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= harvest
|
|
PORTVERSION= 1.9.14
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Collect information from all over the Internet
|
|
|
|
USE_BZIP2= yes
|
|
USE_PERL5= yes
|
|
USE_REINPLACE= yes
|
|
USE_AUTOTOOLS= libtool:13
|
|
INSTALLS_SHLIB= yes
|
|
NO_MTREE= yes
|
|
CONFIGURE_ARGS?= --prefix=${PREFIX}/${PORTNAME} --without-wish
|
|
|
|
STRIP= # none
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PREFIX:= ${PREFIX}/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|<malloc\.h>|<stdlib.h>|g'
|
|
|
|
port-configure:
|
|
@${REINPLACE_CMD} "s!^INSTALL =\(.*\)!INSTALL = ${INSTALL}!" \
|
|
${WRKSRC}/src/gatherer/curl/lib/Makefile
|
|
|
|
post-install:
|
|
@(cd ${PREFIX} && ${GREP} -v "@" ${PLIST} | \
|
|
${XARGS} ${STRIP_CMD} 2> /dev/null || ${TRUE})
|
|
|
|
.include <bsd.port.post.mk>
|