diff options
Diffstat (limited to 'net/sdist/Makefile')
-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" |