summaryrefslogtreecommitdiff
path: root/multimedia/pspvc/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-08-05 00:06:07 +0000
committerwiz <wiz@pkgsrc.org>2009-08-05 00:06:07 +0000
commit7eaefdaba23a26c4ad9ee9e57a4e62a8f24b75d5 (patch)
treee7cf2f34faafbbdf28d47e4d315c06092bb4df40 /multimedia/pspvc/Makefile
parent9f3073550357b90965506acea4d75180ce27d1a2 (diff)
downloadpkgsrc-7eaefdaba23a26c4ad9ee9e57a4e62a8f24b75d5.tar.gz
Convert to user-destdir. Fix installation.
Diffstat (limited to 'multimedia/pspvc/Makefile')
-rw-r--r--multimedia/pspvc/Makefile12
1 files changed, 8 insertions, 4 deletions
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"