aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-06-06 15:54:19 +0800
committervs <vs@FreeBSD.org>2005-06-06 15:54:19 +0800
commit6c5c169320b2398e2289f5b9a89edbee4626ef82 (patch)
tree515a9cdcc2a629b1197ba6d74bb214aaed241580
parentf168d075f9ab1d302f9857606b19f68005bd6b10 (diff)
downloadfreebsd-ports-gnome-6c5c169320b2398e2289f5b9a89edbee4626ef82.tar.gz
freebsd-ports-gnome-6c5c169320b2398e2289f5b9a89edbee4626ef82.tar.zst
freebsd-ports-gnome-6c5c169320b2398e2289f5b9a89edbee4626ef82.zip
Use PLIST_FILES/PORTDOCS
-rw-r--r--comms/sredird/Makefile5
-rw-r--r--comms/sredird/pkg-plist4
2 files changed, 5 insertions, 4 deletions
diff --git a/comms/sredird/Makefile b/comms/sredird/Makefile
index 49a8541739cf..bd64e1b3193d 100644
--- a/comms/sredird/Makefile
+++ b/comms/sredird/Makefile
@@ -14,6 +14,11 @@ MASTER_SITE_SUBDIR= system/serial
MAINTAINER= ports@FreeBSD.org
COMMENT= RFC 2217 compliant serial port redirector
+PLIST_FILES= libexec/sredird
+.if !defined(NOPORTDOCS)
+PORTDOCS= README COPYING
+.endif
+
do-build:
${CC} ${CFLAGS} -Wall -o ${WRKSRC}/sredird ${WRKSRC}/sredird.c
diff --git a/comms/sredird/pkg-plist b/comms/sredird/pkg-plist
deleted file mode 100644
index 82fa795934a8..000000000000
--- a/comms/sredird/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-libexec/sredird
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%@dirrm %%DOCSDIR%%