aboutsummaryrefslogtreecommitdiff
path: root/www/httrack/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-02-24 15:22:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-02-24 15:22:35 +0000
commitf9b52c162ca2d49663d28163585e5b3aae1ddca2 (patch)
tree9100bc81f6507e5742bf0c50e104bde777ced9c2 /www/httrack/Makefile
parentbd84af561d2f05f9478764f1a9f86f1b8d54f877 (diff)
downloadports-f9b52c162ca2d49663d28163585e5b3aae1ddca2.tar.gz
ports-f9b52c162ca2d49663d28163585e5b3aae1ddca2.zip
Notes
Diffstat (limited to 'www/httrack/Makefile')
-rw-r--r--www/httrack/Makefile31
1 files changed, 9 insertions, 22 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index 90df208702c1..bbc4b0ebefa1 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -6,35 +6,22 @@
#
PORTNAME= httrack
-PORTVERSION= 3.20.2
-PORTREVISION= 1
+PORTVERSION= 3.30
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= dirk
-DISTNAME= httrack-3.20-2
+MASTER_SITES= http://httrack.free.fr/mirror/
MAINTAINER= ports@FreeBSD.org
COMMENT= Easy-to-use offline browser utility and website copier
-WRKSRC= ${WRKDIR}/httrack-3.20/src
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.01
USE_GMAKE= yes
-HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --nouseftime --noinaddrt
-CONFIGURE_ENV= PREFIX=${PREFIX} BINPATH=${PREFIX}/bin
+USE_REINPLACE= yes
+USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-.if defined(NOPORTDOCS)
-INSTALL_TARGET= bininstall libinstall config
-.else
-INSTALL_TARGET= install config
-.endif
-.include <bsd.port.pre.mk>
+MAN1= htsserver.1 httrack.1 webhttrack.1
-.if ${OSVERSION} >= 502000
-BROKEN= "Does not compile"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's|>&6,|>\&6|g; s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-post-install:
- ${LN} -sf libhttrack.so.1 ${PREFIX}/lib/libhttrack.so
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>