Support staged installation.

This commit is contained in:
asau 2009-12-11 17:36:50 +00:00
parent e3cc75914c
commit 6ba5c68377
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.14 2009/12/03 13:06:54 asau Exp $
# $NetBSD: Makefile,v 1.15 2009/12/11 17:36:50 asau Exp $
DISTNAME= eispack-20001130
PKGREVISION= 2
@ -8,6 +8,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Fortran routines for the solution of eigenvalue problems
PKG_DESTDIR_SUPPORT= user-destdir
NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
USE_LANGUAGES= fortran
WRKSRC= ${WRKDIR}/eispack

View file

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