pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/mpgtx Added support for installation to DESTDIR.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ea3b804a7fea
branches: trunk
changeset: 530922:ea3b804a7fea
user: heinz <heinz%pkgsrc.org@localhost>
date: Sat Jul 14 17:06:44 2007 +0000
description:
Added support for installation to DESTDIR.
diffstat:
graphics/mpgtx/Makefile | 18 ++++++++++++------
1 files changed, 12 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r 24661f4a9168 -r ea3b804a7fea graphics/mpgtx/Makefile
--- a/graphics/mpgtx/Makefile Sat Jul 14 14:52:27 2007 +0000
+++ b/graphics/mpgtx/Makefile Sat Jul 14 17:06:44 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2007/01/07 09:13:56 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2007/07/14 17:06:44 heinz Exp $
#
DISTNAME= mpgtx-1.3.1
@@ -9,6 +9,8 @@
HOMEPAGE= http://mpgtx.sourceforge.net/
COMMENT= Split and join MPEG files in various ways
+PKG_DESTDIR_SUPPORT= user-destdir
+
HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX:Q} \
--manprefix=${PREFIX:Q}
@@ -21,14 +23,18 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mpgtx ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/mpgtx ${DESTDIR:Q}${PREFIX:Q}/bin
.for f in ${PLINKS}
- ${LN} -f ${PREFIX}/bin/mpgtx ${PREFIX}/bin/${f}
+ ${LN} -f ${DESTDIR:Q}${PREFIX:Q}/bin/mpgtx \
+ ${DESTDIR:Q}${PREFIX:Q}/bin/${f}
.endfor
- ${INSTALL_MAN} ${WRKSRC}/man/mpgtx.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC:Q}/man/mpgtx.1 \
+ ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1
.for f in ${MLINKS}
- ${LN} -f ${PREFIX}/${PKGMANDIR}/man1/mpgtx.1 ${PREFIX}/${PKGMANDIR}/man1/${f}
+ ${LN} -f ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/mpgtx.1 \
+ ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1/${f}
.endfor
- ${INSTALL_MAN} ${WRKSRC}/man/tagmp3.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_MAN} ${WRKSRC:Q}/man/tagmp3.1 \
+ ${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index