aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorclive <clive@FreeBSD.org>2001-01-28 07:10:23 +0800
committerclive <clive@FreeBSD.org>2001-01-28 07:10:23 +0800
commit86ec0733080ecab9684e2629e1f81dfe54450ce2 (patch)
treea3a85484ea44f7dd88c5688b86e784b23931e498 /ftp
parentf8fab18f7e986746dbe37795fa18aab3a6af8bfe (diff)
downloadfreebsd-ports-gnome-86ec0733080ecab9684e2629e1f81dfe54450ce2.tar.gz
freebsd-ports-gnome-86ec0733080ecab9684e2629e1f81dfe54450ce2.tar.zst
freebsd-ports-gnome-86ec0733080ecab9684e2629e1f81dfe54450ce2.zip
Utilize ports/Mk's NOPORTDOCS implementation instead of home
made ones.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/lftp/Makefile6
-rw-r--r--ftp/lftp/pkg-plist14
2 files changed, 7 insertions, 13 deletions
diff --git a/ftp/lftp/Makefile b/ftp/lftp/Makefile
index 68da5f2462b3..c53714b0104a 100644
--- a/ftp/lftp/Makefile
+++ b/ftp/lftp/Makefile
@@ -24,12 +24,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= lftp.1
-.if defined(NOPORTDOCS)
-NODOCS= "@comment "
-.endif
-
-PLIST_SUB= NOPORTDOCS=${NODOCS}
-
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
diff --git a/ftp/lftp/pkg-plist b/ftp/lftp/pkg-plist
index a841d885098e..28cc3aa86879 100644
--- a/ftp/lftp/pkg-plist
+++ b/ftp/lftp/pkg-plist
@@ -1,12 +1,12 @@
bin/lftp
bin/lftpget
etc/lftp.conf.sample
-%%NOPORTDOCS%%share/doc/lftp/COPYING
-%%NOPORTDOCS%%share/doc/lftp/FAQ
-%%NOPORTDOCS%%share/doc/lftp/NEWS
-%%NOPORTDOCS%%share/doc/lftp/README
-%%NOPORTDOCS%%share/doc/lftp/THANKS
-%%NOPORTDOCS%%share/doc/lftp/TODO
+%%PORTDOCS%%share/doc/lftp/COPYING
+%%PORTDOCS%%share/doc/lftp/FAQ
+%%PORTDOCS%%share/doc/lftp/NEWS
+%%PORTDOCS%%share/doc/lftp/README
+%%PORTDOCS%%share/doc/lftp/THANKS
+%%PORTDOCS%%share/doc/lftp/TODO
share/lftp/import-ncftp
share/lftp/import-netscape
share/locale/de/LC_MESSAGES/lftp.mo
@@ -19,5 +19,5 @@ share/locale/pl/LC_MESSAGES/lftp.mo
share/locale/pt_BR/LC_MESSAGES/lftp.mo
share/locale/ru/LC_MESSAGES/lftp.mo
share/locale/zh_CN/LC_MESSAGES/lftp.mo
-%%NOPORTDOCS%%@dirrm share/doc/lftp
+%%PORTDOCS%%@dirrm share/doc/lftp
@dirrm share/lftp