diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 17:45:33 +0000 |
commit | e655762fb793a09bcd629a5ee8889dfe5b1550a0 (patch) | |
tree | 620d08cc8bf79f9bacb7746632192670c7d6350d /devel/florist | |
parent | 2d370b7fe4d16560d65355fc39f74d9ef5e1f0c9 (diff) | |
download | pkgsrc-e655762fb793a09bcd629a5ee8889dfe5b1550a0.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'devel/florist')
-rw-r--r-- | devel/florist/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/florist/Makefile b/devel/florist/Makefile index 2959d380d9a..392c02c01c2 100644 --- a/devel/florist/Makefile +++ b/devel/florist/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.11 2006/10/04 21:35:58 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2008/03/03 17:45:35 jlam Exp $ # DISTNAME= florist-3.15p-src PKGNAME= florist-3.15p -PKGREVISION= 2 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= http://www.cs.fsu.edu/~baker/ftp/ EXTRACT_SUFX= .tgz @@ -12,6 +12,8 @@ MAINTAINER= shannonjr@NetBSD.org HOMEPAGE= http://www.cs.fsu.edu/~baker/florist.html COMMENT= FSU implementation of POSIX.5 (Ada binding) +PKG_DESTDIR_SUPPORT= user-destdir + USE_PKGLOCALEDIR= yes GNU_CONFIGURE= yes USE_AUTOCONF= yes @@ -38,11 +40,12 @@ pre-configure: cd ${WRKSRC}; autoconf do-install: - @${INSTALL_DATA_DIR} ${PREFIX}/lib/florist - @${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \ + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/florist + ${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \ ${WRKSRC}/floristlib/*.ali \ - ${PREFIX}/lib/florist - @${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib + ${DESTDIR}${PREFIX}/lib/florist + ${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a \ + ${DESTDIR}${PREFIX}/lib .if !empty(USE_GCC_34:M[Yy][Ee][Ss]) . include "../../lang/gcc34/buildlink3.mk" |