mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
e8c93a2427
PR: ports/130257 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
39 lines
927 B
Makefile
39 lines
927 B
Makefile
# New ports collection makefile for: httrack
|
|
# Date created: Sun Jun 17 10:28:52 CEST 2001
|
|
# Whom: Dirk Froemberg <dirk@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= httrack
|
|
PORTVERSION= 3.43.2
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.httrack.com/ \
|
|
http://sunpoet.net/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:C/.([0-9]*)$/-\1/}
|
|
|
|
MAINTAINER= sunpoet@sunpoet.net
|
|
COMMENT= Easy-to-use offline browser utility and website copier
|
|
|
|
CONFIGURE_ARGS= --docdir="${DOCSDIR}"
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
USE_GNOME= gnometarget
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
|
|
MAN1= htsserver.1 httrack.1 proxytrack.1 webhttrack.1
|
|
|
|
.if defined(NOPORTDATA) || defined(NOPORTDOCS)
|
|
NOPORTDATA= yes
|
|
NOPORTDOCS= yes
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Makefile.in
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|-O -g3 ||g' \
|
|
-e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|