diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | d8368bbc25c90072a19b5e48f0fba26251b6877f (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /misc/bbappconf | |
parent | f1b924fda77b6920565e56f54c9391b4dc68f8ca (diff) | |
download | pkgsrc-d8368bbc25c90072a19b5e48f0fba26251b6877f.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 |