aboutsummaryrefslogtreecommitdiffstats
path: root/net/netcat
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2004-04-20 14:42:50 +0800
committerosa <osa@FreeBSD.org>2004-04-20 14:42:50 +0800
commit013c987651c83fe4ff55d46a7cab26075651c141 (patch)
treecb343b7cc3fe6fd8ff5f00bcd1f889d34007b6fb /net/netcat
parenta5d93c8aae7428385443ca1b8b3da7cdc1be711f (diff)
downloadfreebsd-ports-gnome-013c987651c83fe4ff55d46a7cab26075651c141.tar.gz
freebsd-ports-gnome-013c987651c83fe4ff55d46a7cab26075651c141.tar.zst
freebsd-ports-gnome-013c987651c83fe4ff55d46a7cab26075651c141.zip
Use PLIST_FILES/DOCSDIR/PORTDOCS macros.
Remove pkg-plist. Approved by: sumikawa (maintainer)
Diffstat (limited to 'net/netcat')
-rw-r--r--net/netcat/Makefile8
-rw-r--r--net/netcat/pkg-plist4
2 files changed, 5 insertions, 7 deletions
diff --git a/net/netcat/Makefile b/net/netcat/Makefile
index ec41fff0648d..079c9d1eb6ab 100644
--- a/net/netcat/Makefile
+++ b/net/netcat/Makefile
@@ -26,12 +26,14 @@ COMMENT= Simple utility which reads and writes data across network connections
NO_WRKSUBDIR= yes
ALL_TARGET= freebsd
+PLIST_FILES= bin/nc
+PORTDOCS= README
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/nc ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/netcat \
- && ${CHMOD} a+rx ${PREFIX}/share/doc/netcat
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/netcat
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/net/netcat/pkg-plist b/net/netcat/pkg-plist
deleted file mode 100644
index b0c5eadb9408..000000000000
--- a/net/netcat/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-@comment $FreeBSD$
-bin/nc
-share/doc/netcat/README
-@dirrm share/doc/netcat