diff options
author | obache <obache> | 2007-12-17 10:33:56 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-17 10:33:56 +0000 |
commit | 37d9cb2d93769d4bdecbbe020545b516c8bd990e (patch) | |
tree | 343d9868a071eee85d86d04b5c353caecab0cf7b /www/mimetex | |
parent | 23ff903935ccd32328d70215abeb7337841ec5b8 (diff) | |
download | pkgsrc-37d9cb2d93769d4bdecbbe020545b516c8bd990e.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'www/mimetex')
-rw-r--r-- | www/mimetex/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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" |