summaryrefslogtreecommitdiff
path: root/multimedia/pspvc/Makefile
blob: d06d2432e48136d4d6b061c001385a48946c43f4 (plain)
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
# $NetBSD: Makefile,v 1.2 2008/12/18 17:28:17 bjs Exp $
#

DISTNAME=	pspvc-install-0.3
PKGNAME=	pspvc-0.3
PKGREVISION=	1
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=pspvc/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://pspvc.sf.net/
COMMENT=	PSP video converter

USE_LANGUAGES=	c
USE_TOOLS=	pkg-config gmake
GNU_CONFIGURE=	yes
WRKSRC=		${WRKDIR}/${PKGNAME}

post-extract:
	${TAR} -C ${WRKDIR} -zxf ${WRKDIR}/${DISTNAME}/archives/${PKGNAME}.tar.gz

post-install:
	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/archives/pspvc.desktop ${PREFIX}/share/applications
	${INSTALL_DATA_DIR} ${PREFIX}/share/pspvc/bin
	${LN} -s ${PREFIX}/bin/ffmpeg ${PREFIX}/share/pspvc/bin/ffmpeg

.include "../../multimedia/ffmpeg/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"