diff options
author | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-06-20 01:09:05 +0000 |
commit | 3b0d97b0de8516db29699676c860489da3f7f0e1 (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /misc/bbappconf | |
parent | 10abca39942a8f34d088f39ccc073fee44271274 (diff) | |
download | pkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'misc/bbappconf')
-rw-r--r-- | misc/bbappconf/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/bbappconf/Makefile b/misc/bbappconf/Makefile index 47a2cc3e39a..f023c6b32d2 100644 --- a/misc/bbappconf/Makefile +++ b/misc/bbappconf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2008/01/04 06:28:55 obache Exp $ +# $NetBSD: Makefile,v 1.16 2008/06/20 01:09:25 joerg Exp $ # DISTNAME= bbappconf-0.0.2 @@ -10,10 +10,14 @@ MAINTAINER= jschauma@NetBSD.org HOMEPAGE= http://bbtools.sourceforge.net/download.php?file=1 COMMENT= Configure the behaviour of an application under Blackbox +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_X11BASE= YES GNU_CONFIGURE= YES +INSTALLATION_DIRS= ${PKGMANDIR}/man1 + post-patch: ${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbappconf.1.tmp > \ ${WRKSRC}/data/bbappconf.1 @@ -22,8 +26,7 @@ post-patch: ${MV} ${WRKSRC}/data/README.bbappconf.tmp ${WRKSRC}/data/README.bbappconf post-install: - ${INSTALL_MAN_DIR} ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/data/bbappconf.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/data/bbappconf.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 BUILDLINK_DEPMETHOD.libXt?= build |