aboutsummaryrefslogtreecommitdiff
path: root/ftp/wput
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-08 19:37:44 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-08 19:37:44 +0000
commitf07cacc777746cdd5ad66024f4f61ef735b57d57 (patch)
tree2c850fe09e494cd8d020e5e879ca26a07d3b14a0 /ftp/wput
parentf0ca636f5b449258137b22d4d4f009b4ed3fe8c2 (diff)
downloadports-f07cacc777746cdd5ad66024f4f61ef735b57d57.tar.gz
ports-f07cacc777746cdd5ad66024f4f61ef735b57d57.zip
Notes
Diffstat (limited to 'ftp/wput')
-rw-r--r--ftp/wput/Makefile6
-rw-r--r--ftp/wput/pkg-plist4
2 files changed, 5 insertions, 5 deletions
diff --git a/ftp/wput/Makefile b/ftp/wput/Makefile
index 666e8ba33e84..aa578d7f5319 100644
--- a/ftp/wput/Makefile
+++ b/ftp/wput/Makefile
@@ -15,6 +15,8 @@ EXTRACT_SUFX= .tgz
MAINTAINER= chip-set@mail.ru
COMMENT= Uploads files or directories to a ftpserver with support of resuming
+PORTDOCS= TODO USAGE.examples
+
USE_AUTOCONF_VER= 253
USE_GETOPT_LONG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -24,10 +26,12 @@ CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+PLIST_FILES= bin/wput
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for f in USAGE.examples TODO
+.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
diff --git a/ftp/wput/pkg-plist b/ftp/wput/pkg-plist
deleted file mode 100644
index 5aa21d79ed53..000000000000
--- a/ftp/wput/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/wput
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/USAGE.examples
-%%PORTDOCS%%@dirrm %%DOCSDIR%%