1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Use PORTDOCS [1]

- Remove COPYING from PORTDOCS [2]
- Bump PORTREVISION

PR:		ports/64087
Submitted by:	maintainer [1], pav [1], krion [2]
This commit is contained in:
Kirill Ponomarev 2004-03-12 09:31:39 +00:00
parent 982026676a
commit 2f35ef147f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103749

View File

@ -7,6 +7,7 @@
PORTNAME= mkxvcd
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= kvcd4nix
@ -23,26 +24,19 @@ USE_REINPLACE= yes
NO_BUILD= yes
PLIST_FILES= bin/mkxvcd
DOC_FILES= AUTHORS COPYING Changelog INSTALL README TODO
PORTDOCS= AUTHORS Changelog INSTALL README TODO
.include <bsd.port.pre.mk>
.ifndef(PORTDOCS)
.for plistfile in ${DOC_FILES}
PLIST_FILES+= share/doc/${PORTNAME}/${plistfile}
.endfor
PLIST_DIRS+= share/doc/${PORTNAME}
.endif
post-patch:
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${LOCALBASE}/bin/bash|' \
${WRKSRC}/mkxvcd.sh
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/mkxvcd.sh ${PREFIX}/bin/mkxvcd
.ifndef(PORTDOCS)
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for docfile in ${DOC_FILES}
.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif