1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/www/larbin/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

63 lines
2.0 KiB
Makefile

# New ports collection makefile for: larbin
# Date Created: 26 March 2002
# Whom: Hiten Pandya <hiten@uk.FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= larbin
PORTVERSION= 2.6.3
PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= ftp://ftp.sourceforge.net/pub/sourceforge/larbin/ \
http://prdownloads.sourceforge.net/larbin/
MAINTAINER= hmp@FreeBSD.org
COMMENT= A powerful HTTP crawler with an easy interface
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash2 \
makedepend:${X_IMAKE_PORT}
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
PATCH_WRKSRC= ${WRKSRC}/src
MAKE_ARGS= CXX=${CXX}
post-patch:
@${SED} -e 's,CC=,CC?=,' -e 's,CFLAGS=-O3,CFLAGS+=,' < \
${WRKSRC}/adns/Makefile > ${WRKSRC}/adns/Makefile.new
@${MV} ${WRKSRC}/adns/Makefile.new ${WRKSRC}/adns/Makefile
${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,CFLAGS:=-O3,CFLAGS+=,g ; s,CXXFLAGS:=-Wall -O3,CXXFLAGS+=,g' \
${WRKSRC}/src/larbin.make
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/larbin ${PREFIX}/bin/
@${INSTALL_DATA} ${WRKSRC}/larbin.conf ${PREFIX}/etc/larbin.conf.sample
@${MKDIR} ${PREFIX}/share/larbin
@${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/larbin/
pre-configure: config-message
config-message:
@${ECHO} "====================================================================="
@${ECHO} ""
@${ECHO} "Make sure you have a look at the larbin documentation available at:"
@${ECHO} " http://larbin.sourceforge.net/custom-eng.html."
@${ECHO} ""
@${ECHO} "====================================================================="
post-install:
@${ECHO} "====================================================================="
@${ECHO} ""
@${ECHO} "You must invoke larbin with the name of the configuration file, e.g:"
@${ECHO} "larbin -c config-file"
@${ECHO} ""
@${ECHO} "Documentation: ${PREFIX}/share/larbin"
@${ECHO} "Sample Configuration file: ${PREFIX}/etc/larbin.conf.sample"
@${ECHO} ""
@${ECHO} "====================================================================="
.include <bsd.port.mk>