From 9a3f1786bfd6c87880006fdffc7a4b52667606e3 Mon Sep 17 00:00:00 2001 From: Tobias Nygren Date: Wed, 17 Dec 2008 17:21:00 +0000 Subject: [PATCH] fix installation --- virus/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/virus/Makefile b/virus/Makefile index e32b4cecbf..6c93949604 100644 --- a/virus/Makefile +++ b/virus/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2005/04/11 21:16:10 tvierling Exp $ +# $NetBSD: Makefile,v 1.5 2008/12/17 17:21:00 tnn2 Exp $ # DISTNAME= virus-0.0.6 @@ -10,11 +10,13 @@ MAINTAINER= pancake@phreaker.net HOMEPAGE= http://www.rocklinux.net/people/ripclaw/projects/software/virus/ COMMENT= VI resembling utility skeleton +PKG_DESTDIR_SUPPORT= user-destdir +INSTALLATION_DIRS= bin do-build: cd ${WRKSRC} && ${SH} mkvirus do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/virus ${PREFIX}/bin/virus + ${INSTALL_PROGRAM} ${WRKSRC}/virus ${DESTDIR}${PREFIX}/bin/virus .include "../../mk/bsd.pkg.mk"