summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2004-04-14 21:59:24 +0000
committerkim <kim@pkgsrc.org>2004-04-14 21:59:24 +0000
commit7bbed2aafde2900d39dfae726f1f56f4bfa39a1e (patch)
treeec2abc52fd310fd9c8798151c9189af09ea170bb /news
parent01dbb6e9de7846feb3c2deccf1e5976ca1c765a8 (diff)
downloadpkgsrc-7bbed2aafde2900d39dfae726f1f56f4bfa39a1e.tar.gz
Use PKG_SYSCONFDIR and a PKG_SYSCONFSUBDIR to match nntpclnt.
Diffstat (limited to 'news')
-rw-r--r--news/trn/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile
index 219221f3783..187142f5334 100644
--- a/news/trn/Makefile
+++ b/news/trn/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2003/08/08 12:41:25 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2004/04/14 21:59:24 kim Exp $
DISTNAME= trn-4.0-test76
PKGNAME= trn-4.76
+PKGREVISION= 1
CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trn/} \
ftp://trn.sourceforge.net/pub/trn/
@@ -12,6 +13,8 @@ COMMENT= Threaded version of rn, the classic news reader
LICENSE= trn-license
+PKG_SYSCONFSUBDIR= nntp
+
.include "../../mk/bsd.prefs.mk"
.if defined(USE_INN) && ${USE_INN} == YES
@@ -33,7 +36,7 @@ CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ENV= PREFIX=${PREFIX}
CONFIGURE_ARGS= -d -e -D bin=${PREFIX}/bin \
-D binexp=${PREFIX}/bin \
- -D phost=${PREFIX}'/etc/nntp/domainname' \
+ -D phost=${PKG_SYSCONFDIR}'/domainname' \
-D filexp=${PREFIX}'/share/trn/filexp' \
-D hostbits=${TRN_HOSTBITS} \
-D installbin=${PREFIX}'/bin' \
@@ -43,14 +46,14 @@ CONFIGURE_ARGS= -d -e -D bin=${PREFIX}/bin \
-D mansrc=${PREFIX}'/man/man1' \
-D mansrcexp=${PREFIX}'/man/man1' \
-D mimecap=${PREFIX}'/etc/mimecap' \
- -D orgname=${PREFIX}'/etc/nntp/organization' \
+ -D orgname=${PKG_SYSCONFDIR}'/organization' \
-D perl=${PERL5} \
-D perlpath=${PERL5} \
-D prefix=${PREFIX} \
-D prefixexp=${PREFIX} \
-D privlib=${PREFIX}'/share/trn' \
-D privlibexp=${PREFIX}'/share/trn' \
- -D servername=${PREFIX}'/etc/nntp/server' \
+ -D servername=${PKG_SYSCONFDIR}'/server' \
-D d_nntp \
-U d_local \
-D libs=' ' \