aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-12 17:31:39 +0800
committerkrion <krion@FreeBSD.org>2004-03-12 17:31:39 +0800
commit3ad7904d015e46239f2b846b90437e5567beeb89 (patch)
tree1ba176444275f0441db02e95a122273c479bcd28 /multimedia
parentd0e8265974377230b991594a7103a13cb0ba79ec (diff)
downloadfreebsd-ports-gnome-3ad7904d015e46239f2b846b90437e5567beeb89.tar.gz
freebsd-ports-gnome-3ad7904d015e46239f2b846b90437e5567beeb89.tar.zst
freebsd-ports-gnome-3ad7904d015e46239f2b846b90437e5567beeb89.zip
- Use PORTDOCS [1]
- Remove COPYING from PORTDOCS [2] - Bump PORTREVISION PR: ports/64087 Submitted by: maintainer [1], pav [1], krion [2]
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mkxvcd/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/multimedia/mkxvcd/Makefile b/multimedia/mkxvcd/Makefile
index ab908154910a..6e8bded73721 100644
--- a/multimedia/mkxvcd/Makefile
+++ b/multimedia/mkxvcd/Makefile
@@ -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