diff options
author | obache <obache@pkgsrc.org> | 2012-04-07 11:47:19 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-04-07 11:47:19 +0000 |
commit | 78ddba3e993cfb85f4d489463ba86d79325b58a4 (patch) | |
tree | fe9d630ba5ef5bf9e68a32876310aa80d9f4f88c | |
parent | 35c3adfc816a1179c5d4f22e4a070a69ea0b019d (diff) | |
download | pkgsrc-78ddba3e993cfb85f4d489463ba86d79325b58a4.tar.gz |
Add user-destdir installation support.
-rw-r--r-- | news/nn/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/news/nn/Makefile b/news/nn/Makefile index 449e3411c78..1ecd758ca02 100644 --- a/news/nn/Makefile +++ b/news/nn/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.37 2010/03/13 05:05:51 obache Exp $ +# $NetBSD: Makefile,v 1.38 2012/04/07 11:47:19 obache Exp $ DISTNAME= nn-6.7.3 CATEGORIES= news @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.nndev.org/ COMMENT= NN newsreader +PKG_DESTDIR_SUPPORT= user-destdir + PKG_SYSCONFSUBDIR= nntp .include "../../mk/bsd.prefs.mk" @@ -54,4 +56,10 @@ post-patch: @${CP} ${FILESDIR}/m-x86_64.h ${WRKSRC}/conf/m-x86_64.h @${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h +SUBST_CLASSES+= fix-dest +SUBST_STAGE.fix-dest= post-build +SUBST_SED.fix-dest= -e 's,${PREFIX},${DESTDIR}${PREFIX},' +SUBST_FILES.fix-dest= inst + + .include "../../mk/bsd.pkg.mk" |