diff options
author | obache <obache> | 2007-12-24 08:34:51 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-24 08:34:51 +0000 |
commit | 543f384e752c415c734960a5596641b121e78b6d (patch) | |
tree | 07157ecb199f1bb6ae4a1eb4d634585821d135b1 /net | |
parent | eef1d1bcee27fa250c08dba2ca4778ffc3c43f33 (diff) | |
download | pkgsrc-543f384e752c415c734960a5596641b121e78b6d.tar.gz |
Some cleanups and fix.
* SDIST_PAWD is BUILD_DEFS.
* Need sbin and man directory before install.
* Use *_MAKE_FLAGS instead of *_TARGET to pass make variables.
* Fix manual installation path for platform PKGMANDIR != man.
* DESTDIR ready.
Bump PKGREVISION.
Diffstat (limited to 'net')
-rw-r--r-- | net/sdist/Makefile | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/net/sdist/Makefile b/net/sdist/Makefile index fb0c6fd26bc..dd8d70854fc 100644 --- a/net/sdist/Makefile +++ b/net/sdist/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2006/06/04 07:58:36 kim Exp $ +# $NetBSD: Makefile,v 1.13 2007/12/24 08:34:51 obache Exp $ # DISTNAME= sdist-1.7 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.gw.com/pub/people/kim/ @@ -17,8 +18,18 @@ DEPENDS+= srsh-[0-9]*:../../net/srsh SDIST_PAWD?= pwd +BUILD_DEFS+= SDIST_PAWD + +INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 NO_CONFIGURE= yes -BUILD_TARGET= all PREFIX=${PREFIX} PAWD=${SDIST_PAWD} -INSTALL_TARGET= install PREFIX=${PREFIX} +BUILD_MAKE_FLAGS+= PREFIX=${PREFIX} PAWD=${SDIST_PAWD} +INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} + +PKG_DESTDIR_SUPPORT= user-destdir + +SUBST_CLASSES+= manpath +SUBST_STAGE.manpath= post-extract +SUBST_FILES.manpath= Makefile +SUBST_SED.manpath= -e 's,/man/,/${PKGMANDIR}/,' .include "../../mk/bsd.pkg.mk" |