2015-08-24 01:23:43 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2015/08/23 23:23:43 khorben Exp $
|
2012-12-17 01:54:23 +01:00
|
|
|
|
2013-06-15 14:42:12 +02:00
|
|
|
DISTNAME= Player-0.1.6
|
|
|
|
PKGNAME= deforaos-player-0.1.6
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 4
|
2012-12-17 01:54:23 +01:00
|
|
|
CATEGORIES= multimedia
|
2013-06-15 14:42:12 +02:00
|
|
|
MASTER_SITES= http://www.defora.org/os/download/download/4297/
|
2012-12-17 01:54:23 +01:00
|
|
|
|
|
|
|
MAINTAINER= khorben@defora.org
|
|
|
|
HOMEPAGE= http://www.defora.org/
|
|
|
|
COMMENT= DeforaOS desktop media player
|
|
|
|
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
USE_TOOLS+= xgettext
|
|
|
|
|
2013-02-23 18:39:24 +01:00
|
|
|
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
|
|
|
|
BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
|
|
|
|
|
2012-12-17 01:54:23 +01:00
|
|
|
DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer
|
|
|
|
|
|
|
|
MAKE_FLAGS+= DESTDIR=${DESTDIR}
|
|
|
|
MAKE_FLAGS+= PREFIX=${PREFIX}
|
2015-08-24 01:23:43 +02:00
|
|
|
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
|
2013-02-23 18:39:24 +01:00
|
|
|
AUTO_MKDIRS= yes
|
|
|
|
|
2015-08-24 01:20:46 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${PKGMANDIR} != "share/man"
|
2013-02-23 18:39:24 +01:00
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/player.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/player.1
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/share/man/man1/playerctl.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/playerctl.1
|
|
|
|
${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
|
|
|
|
${RMDIR} ${DESTDIR}${PREFIX}/share/man
|
2015-08-24 01:20:46 +02:00
|
|
|
.endif
|
2012-12-17 01:54:23 +01:00
|
|
|
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
.include "../../x11/deforaos-libdesktop/buildlink3.mk"
|
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|