Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 32 lines (22 sloc) 0.975 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
# $NetBSD: Makefile,v 1.29 2012/09/15 10:05:51 obache Exp $

PKG_DESTDIR_SUPPORT= user-destdir

.include "Makefile.common"

PKGNAME= mplayer-share-${MPLAYER_VERSION}
PKGREVISION= 1
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"
Something went wrong with that request. Please try again.