Use PLIST_FILES/PORTDOCS

This commit is contained in:
Volker Stolz 2005-06-06 07:54:19 +00:00
parent 9ca07bcce0
commit e9c311498c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=136892
2 changed files with 5 additions and 4 deletions

View file

@ -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

View file

@ -1,4 +0,0 @@
libexec/sredird
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%@dirrm %%DOCSDIR%%