aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-29 13:21:36 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-04-29 13:21:36 +0000
commit040ad5081baaea34bdd75765fcdf5c081906a49d (patch)
tree66b3683ba4de93326c89870ee5aa3f2ac545754e /www
parent4c1689d4289fc89b0d5eab66411ea6bd22b7c6fa (diff)
downloadports-040ad5081baaea34bdd75765fcdf5c081906a49d.tar.gz
ports-040ad5081baaea34bdd75765fcdf5c081906a49d.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/httrack/Makefile8
-rw-r--r--www/httrack/pkg-plist65
2 files changed, 67 insertions, 6 deletions
diff --git a/www/httrack/Makefile b/www/httrack/Makefile
index b82f092ac530..99a321fe5fbc 100644
--- a/www/httrack/Makefile
+++ b/www/httrack/Makefile
@@ -3,6 +3,7 @@
PORTNAME= httrack
PORTVERSION= 3.48.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://download.httrack.com/ \
http://mirror.httrack.com/historical/ \
@@ -20,12 +21,14 @@ CONFIGURE_ARGS= --docdir="${DOCSDIR}"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_AUTOTOOLS= libtool
-USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
-USES= gmake iconv
+USE_LDCONFIG= ${PREFIX}/lib/httrack
+USES= gmake iconv shebangfix
PORTDATA= *
PORTDOCS= *
+SHEBANG_FILES= src/webhttrack
+
post-patch:
@${REINPLACE_CMD} -e '/DEFAULT_CFLAGS=/ s|-O -g3 ||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/ install-data-hook/d' ${WRKSRC}/html/Makefile.in
@@ -33,5 +36,6 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/html/httrack.css ${STAGEDIR}${DOCSDIR}/httrack.css
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so ${STAGEDIR}${PREFIX}/lib/httrack/lib*.so
.include <bsd.port.mk>
diff --git a/www/httrack/pkg-plist b/www/httrack/pkg-plist
index 99a06c8ade0c..ee0a03f8b75c 100644
--- a/www/httrack/pkg-plist
+++ b/www/httrack/pkg-plist
@@ -12,10 +12,46 @@ include/httrack/htsmodules.h
include/httrack/htsopt.h
include/httrack/htswrap.h
include/httrack/httrack-library.h
-man/man1/htsserver.1.gz
-man/man1/httrack.1.gz
-man/man1/proxytrack.1.gz
-man/man1/webhttrack.1.gz
+lib/httrack/libbaselinks.a
+lib/httrack/libbaselinks.la
+lib/httrack/libbaselinks.so
+lib/httrack/libbaselinks.so.1
+lib/httrack/libchangecontent.a
+lib/httrack/libchangecontent.la
+lib/httrack/libchangecontent.so
+lib/httrack/libchangecontent.so.1
+lib/httrack/libcontentfilter.a
+lib/httrack/libcontentfilter.la
+lib/httrack/libcontentfilter.so
+lib/httrack/libcontentfilter.so.1
+lib/httrack/libdisplayheader.a
+lib/httrack/libdisplayheader.la
+lib/httrack/libdisplayheader.so
+lib/httrack/libdisplayheader.so.1
+lib/httrack/libfilename.a
+lib/httrack/libfilename.la
+lib/httrack/libfilename.so
+lib/httrack/libfilename.so.1
+lib/httrack/libfilename2.a
+lib/httrack/libfilename2.la
+lib/httrack/libfilename2.so
+lib/httrack/libfilename2.so.1
+lib/httrack/libfilenameiisbug.a
+lib/httrack/libfilenameiisbug.la
+lib/httrack/libfilenameiisbug.so
+lib/httrack/libfilenameiisbug.so.1
+lib/httrack/liblistlinks.a
+lib/httrack/liblistlinks.la
+lib/httrack/liblistlinks.so
+lib/httrack/liblistlinks.so.1
+lib/httrack/liblog.a
+lib/httrack/liblog.la
+lib/httrack/liblog.so
+lib/httrack/liblog.so.1
+lib/httrack/libsimple.a
+lib/httrack/libsimple.la
+lib/httrack/libsimple.so
+lib/httrack/libsimple.so.1
lib/libhtsjava.a
lib/libhtsjava.la
lib/libhtsjava.so
@@ -24,4 +60,25 @@ lib/libhttrack.a
lib/libhttrack.la
lib/libhttrack.so
lib/libhttrack.so.2
+man/man1/htsserver.1.gz
+man/man1/httrack.1.gz
+man/man1/proxytrack.1.gz
+man/man1/webhttrack.1.gz
+share/applications/WebHTTrack-Websites.desktop
+share/applications/WebHTTrack.desktop
+share/icons/hicolor/16x16/apps/httrack.png
+share/icons/hicolor/32x32/apps/httrack.png
+share/icons/hicolor/48x48/apps/httrack.png
+share/pixmaps/httrack16x16.xpm
+share/pixmaps/httrack32x32.xpm
+share/pixmaps/httrack48x48.xpm
+@dirrmtry share/icons/hicolor/16x16/apps
+@dirrmtry share/icons/hicolor/16x16
+@dirrmtry share/icons/hicolor/32x32/apps
+@dirrmtry share/icons/hicolor/32x32
+@dirrmtry share/icons/hicolor/48x48/apps
+@dirrmtry share/icons/hicolor/48x48
+@dirrmtry share/icons/hicolor
+@dirrmtry share/icons
+@dirrm lib/httrack
@dirrm include/httrack