pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/mimetex Add DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe3fd667b51b
branches: trunk
changeset: 536559:fe3fd667b51b
user: obache <obache%pkgsrc.org@localhost>
date: Mon Dec 17 10:33:56 2007 +0000
description:
Add DESTDIR support.
diffstat:
www/mimetex/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 00d17e3b2311 -r fe3fd667b51b www/mimetex/Makefile
--- a/www/mimetex/Makefile Mon Dec 17 09:42:03 2007 +0000
+++ b/www/mimetex/Makefile Mon Dec 17 10:33:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/06/12 21:04:56 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/12/17 10:33:56 obache Exp $
#
DISTNAME= mimetex
@@ -16,6 +16,8 @@
WRKSRC= ${WRKDIR}
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= libexec/cgi-bin
do-build:
@@ -24,6 +26,6 @@
-o mimetex.cgi
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC:Q}/mimetex.cgi ${PREFIX}/libexec/cgi-bin
+ ${INSTALL_PROGRAM} ${WRKSRC:Q}/mimetex.cgi ${DESTDIR}${PREFIX}/libexec/cgi-bin
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index