aboutsummaryrefslogtreecommitdiffstats
path: root/www/httrack/Makefile
blob: f49f517d91875d2832d5df9ed68cba5812ff07f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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.33.15
CATEGORIES= www
MASTER_SITES=   http://www.httrack.com/
DISTNAME=   ${PORTNAME}-${PORTVERSION:R}

MAINTAINER= andrew.nau.ua@gmail.com
COMMENT=    Easy-to-use offline browser utility and website copier

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_LIBTOOL_VER=    15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes

MAN1=       htsserver.1 httrack.1 webhttrack.1

post-patch:
    @${REINPLACE_CMD} -e 's|>&6,|>\&6|g ; \
         s|-O -g3 ||g ; \
         s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>