diff options
-rw-r--r-- | devel/scons/Makefile | 7 | ||||
-rw-r--r-- | misc/rpm/Makefile | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/devel/scons/Makefile b/devel/scons/Makefile index 26b017f48ca..dd5742f71d2 100644 --- a/devel/scons/Makefile +++ b/devel/scons/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2006/02/05 23:08:53 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2006/10/22 06:39:43 rillig Exp $ # DISTNAME= scons-0.96.1 @@ -11,6 +11,7 @@ HOMEPAGE= http://www.scons.org/ COMMENT= Build system, written in Python PYDISTUTILSPKG= yes +INSTALLATION_DIRS= ${PKGMANDIR}/man1 # XXX The dependency on py-xml below is not needed for # standard operation. There is an extension to scons (bksys) @@ -19,8 +20,8 @@ PYDISTUTILSPKG= yes # would be too complicated. post-install: - ${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/scons.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/sconsign.1 ${PREFIX}/${PKGMANDIR}/man1 .include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" diff --git a/misc/rpm/Makefile b/misc/rpm/Makefile index 8cc2a4aa91a..1cb68225023 100644 --- a/misc/rpm/Makefile +++ b/misc/rpm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.62 2006/09/03 00:56:29 wiz Exp $ +# $NetBSD: Makefile,v 1.63 2006/10/22 06:42:43 rillig Exp $ DISTNAME= rpm-2.5.4 PKGREVISION= 5 @@ -23,6 +23,8 @@ CONFIGURE_ARGS+= --datadir=${PREFIX}/${PKGLOCALEDIR} # The rpm databases are kept under ${RPM_DB_PREFIX}/lib/rpm. CONFIGURE_ENV+= varprefix=${RPM_DB_PREFIX:Q} +MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man8 + RPMDIR= ${RPM_DB_PREFIX}/lib/rpm FILES_SUBST+= RPMDIR=${RPMDIR:Q} |