From 37d9cb2d93769d4bdecbbe020545b516c8bd990e Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 17 Dec 2007 10:33:56 +0000 Subject: Add DESTDIR support. --- www/mimetex/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/mimetex') diff --git a/www/mimetex/Makefile b/www/mimetex/Makefile index 894d1a5838d..84b81b65c2e 100644 --- a/www/mimetex/Makefile +++ b/www/mimetex/Makefile @@ -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 @@ USE_LANGUAGES= c WRKSRC= ${WRKDIR} +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= libexec/cgi-bin do-build: @@ -24,6 +26,6 @@ do-build: -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" -- cgit v1.2.3