From 7eaefdaba23a26c4ad9ee9e57a4e62a8f24b75d5 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 5 Aug 2009 00:06:07 +0000 Subject: Convert to user-destdir. Fix installation. --- multimedia/pspvc/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'multimedia/pspvc/Makefile') diff --git a/multimedia/pspvc/Makefile b/multimedia/pspvc/Makefile index 138896fb1a4..a29bb317c7e 100644 --- a/multimedia/pspvc/Makefile +++ b/multimedia/pspvc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2009/06/12 17:24:54 ahoka Exp $ +# $NetBSD: Makefile,v 1.6 2009/08/05 00:06:07 wiz Exp $ # DISTNAME= pspvc-install-0.3 @@ -12,6 +12,9 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://pspvc.sf.net/ COMMENT= PSP video converter +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= share/applications share/pspvc/bin + USE_LANGUAGES= c USE_TOOLS= pkg-config gmake msgfmt GNU_CONFIGURE= yes @@ -21,9 +24,10 @@ post-extract: ${TAR} -C ${WRKDIR} -zxf ${WRKDIR}/${DISTNAME}/archives/${PSPVCVER}.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 + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/archives/pspvc.desktop \ + ${DESTDIR}${PREFIX}/share/applications + ${LN} -s ${PREFIX}/bin/ffmpeg \ + ${DESTDIR}${PREFIX}/share/pspvc/bin/ffmpeg .include "../../multimedia/ffmpeg/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" -- cgit v1.2.3