Support staged installation.

This commit is contained in:
asau 2009-12-11 18:10:56 +00:00
parent e92a5783d1
commit 6365f6fcde
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2009/12/03 13:06:55 asau Exp $
# $NetBSD: Makefile,v 1.14 2009/12/11 18:10:56 asau Exp $
DISTNAME= minpack-20001130
PKGREVISION= 2
@ -9,6 +9,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= FORTRAN 77 library for the solution of nonlinear equations
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
PKG_DESTDIR_SUPPORT= user-destdir
USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/minpack

View file

@ -16,7 +16,7 @@ lib$(LIB).a: $(OBJ)
$(RANLIB) $@
install: lib$(LIB).a
$(BSD_INSTALL_DATA) $? $(LIBDIR)
$(BSD_INSTALL_DATA) $? $(DESTDIR)$(LIBDIR)
clean:
rm -f *.o lib$(LIB).a