Use PLIST_FILES/PORTDOCS
This commit is contained in:
parent
aa845eab65
commit
84d5679169
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135961
@ -22,7 +22,10 @@ ONLY_FOR_ARCHS= i386
|
||||
USE_X_PREFIX= yes
|
||||
USE_GNOME= gtk12 imlib
|
||||
|
||||
DOC_FILES= COPYING README
|
||||
PLIST_FILES= libexec/gkrellm/plugins/gkx86info.so
|
||||
.ifndef(NOPORTDOCS)
|
||||
PORTDOCS= COPYING README
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC} && eval ${CC} ${CFLAGS} -o MHz.o -c MHz.c
|
||||
@ -35,7 +38,7 @@ do-build:
|
||||
do-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOC_FILES}
|
||||
.for file in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif #NOPORTDOCS
|
||||
|
@ -1,4 +0,0 @@
|
||||
libexec/gkrellm/plugins/gkx86info.so
|
||||
%%PORTDOCS%%share/doc/gkx86info/COPYING
|
||||
%%PORTDOCS%%share/doc/gkx86info/README
|
||||
%%PORTDOCS%%@dirrm share/doc/gkx86info
|
Loading…
Reference in New Issue
Block a user