Create the "share/applications" directory which was previously created

by the (now removed) "xdg" package to fix the installation. While here
set the license to "gnu-gpl-v2".
This commit is contained in:
tron 2009-07-23 08:28:41 +00:00
parent 6e588c96e6
commit 82cb78dfe9

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2009/07/22 09:01:39 wiz Exp $
# $NetBSD: Makefile,v 1.11 2009/07/23 08:28:41 tron Exp $
DISTNAME= mediatomb-0.11.0
PKGREVISION= 6
@ -8,6 +8,7 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mediatomb/}
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://mediatomb.cc/
COMMENT= UPnP MediaServer with a web user interface
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= yes
@ -41,6 +42,8 @@ SUBST_FILES.config= config.xml mediatomb.desktop
SUBST_VARS.config= MEDIATOMB_HOME PREFIX OPSYS
SUBST_STAGE.config= post-patch
INSTALLATION_DIRS+= share/applications
post-extract:
${CP} ${FILESDIR}/config.xml.in ${WRKSRC}/config.xml
${CP} ${FILESDIR}/mediatomb.desktop.in ${WRKSRC}/mediatomb.desktop