aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-09 03:37:44 +0800
committerkrion <krion@FreeBSD.org>2004-03-09 03:37:44 +0800
commit2d68c2a7a3ff2cf07d0c454a2eb97d0455ccf66d (patch)
tree037b51ac3584a06c0c3aaf8588f5ca8c38b77c11
parent8ff0905d44ac97b1eb09951c47f967d0f831b5d6 (diff)
downloadfreebsd-ports-gnome-2d68c2a7a3ff2cf07d0c454a2eb97d0455ccf66d.tar.gz
freebsd-ports-gnome-2d68c2a7a3ff2cf07d0c454a2eb97d0455ccf66d.tar.zst
freebsd-ports-gnome-2d68c2a7a3ff2cf07d0c454a2eb97d0455ccf66d.zip
- Use PLIST_FILES knob
PR: ports/63926 Submitted by: maintainer
-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%%