4e3b1b97c2
recursive bump for the dependency change
29 lines
937 B
Makefile
29 lines
937 B
Makefile
# $NetBSD: Makefile,v 1.68 2020/03/10 22:10:41 wiz Exp $
|
|
|
|
.include "Makefile.common"
|
|
|
|
PKGNAME= mplayer-share-${MPLAYER_VERSION}
|
|
PKGREVISION= 4
|
|
COMMENT= Documentation used by mplayer and gmplayer
|
|
|
|
DEPENDS+= mplayer-fonts-[0-9]*:../../fonts/mplayer-fonts
|
|
|
|
USE_TOOLS+= pax
|
|
|
|
NO_BUILD= YES
|
|
NO_CONFIGURE= YES
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1 share/mplayer/DOCS
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/DOCS/man/en/mplayer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_DATA} ${WRKSRC}/etc/codecs.conf ${DESTDIR}${PREFIX}/share/mplayer
|
|
${INSTALL_DATA} ${WRKSRC}/etc/input.conf ${DESTDIR}${PREFIX}/share/mplayer
|
|
(set -e; cd ${WRKSRC}/DOCS && \
|
|
pax -rwpppm * ${DESTDIR}${PREFIX}/share/mplayer/DOCS); \
|
|
${FIND} ${DESTDIR}${PREFIX}/share/mplayer/DOCS -type d -print | \
|
|
${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
${FIND} ${DESTDIR}${PREFIX}/share/mplayer/DOCS -type f -print | \
|
|
${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|