ports/63962: New Port: multimedia/y4mscaler -- scales, crops, and shifts Y'CbCr video
Michael Johnson
ahze at ahze.net
Thu Mar 11 07:30:19 UTC 2004
The following reply was made to PR ports/63962; it has been noted by GNATS.
From: Michael Johnson <ahze at ahze.net>
To: freebsd-gnats-submit at FreeBSD.org, mike johnson <ahze at ahze.net>
Cc:
Subject: Re: ports/63962: New Port: multimedia/y4mscaler -- scales, crops, and shifts Y'CbCr video
Date: Thu, 11 Mar 2004 02:21:54 -0500
Fix PORTDOCS thanks to pav.
diff -ruN multimedia/y4mscaler.orig/Makefile
multimedia/y4mscaler/Makefile
--- multimedia/y4mscaler.orig/Makefile Thu Mar 11 02:09:47 2004
+++ multimedia/y4mscaler/Makefile Thu Mar 11 02:12:32 2004
@@ -22,19 +22,12 @@
WRKSRC= ${WRKDIR}/${PKGNAME}
-DOC_FILES= COPYING ChangeLog INSTALL README TODO
+PORTDOCS= COPYING ChangeLog INSTALL README TODO
MAN1= y4mscaler.1
PLIST_FILES= bin/y4mscaler
.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|/usr/local|${LOCALBASE}|' \
${WRKSRC}/Makefile
@@ -50,9 +43,9 @@
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/y4mscaler ${PREFIX}/bin/y4mscaler
@${INSTALL_MAN} ${WRKSRC}/y4mscaler.1 ${MANPREFIX}/man/man1/
-.ifndef(PORTDOCS)
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for docfile in ${DOC_FILES}
+.for docfile in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
More information about the freebsd-ports-bugs
mailing list