Remove obsolete BROKEN mark.

Support PORTDOCS/PLIST_FILES

PR:		ports/70787
Submitted by:	Ports Fury
This commit is contained in:
Kirill Ponomarev 2004-08-22 01:14:07 +00:00
parent ccff6da5e6
commit 5a73ea0faf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116998
2 changed files with 5 additions and 8 deletions

View File

@ -16,7 +16,6 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Digital camera downloading tool for Ricoh DC-3
RESTRICTED= "Beta test period, redistribution prohibited"
BROKEN= "Unfetchable"
WRKSRC= ${WRKDIR}/${PORTNAME}/build
@ -24,14 +23,17 @@ USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= OPTFLAG=""
PORTDOCS= PROTOCOL README.english README.japanese
PLIST_FILES= bin/dc3play
post-patch:
@${REINPLACE_CMD} -e "s|<sys/dir.h>|<dirent.h>|g" ${WRKSRC}/../src/*.c
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/dc3play
@${MKDIR} ${DOCSDIR}
.for file in PROTOCOL README.english README.japanese
${INSTALL_DATA} ${WRKSRC}/../${file} ${PREFIX}/share/doc/dc3play
${INSTALL_DATA} ${WRKSRC}/../${file} ${DOCSDIR}
.endfor
.endif

View File

@ -1,5 +0,0 @@
bin/dc3play
%%PORTDOCS%%share/doc/dc3play/PROTOCOL
%%PORTDOCS%%share/doc/dc3play/README.english
%%PORTDOCS%%share/doc/dc3play/README.japanese
%%PORTDOCS%%@dirrm share/doc/dc3play