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
commit32ef9da6a5db30a2ee4313de83e7fc2068bd6b70 (patch)
treeec2abc52fd310fd9c8798151c9189af09ea170bb /news
parentc074d6d70a5bce57e95ab49ceffa81576b6f9e69 (diff)
downloadpkgsrc-32ef9da6a5db30a2ee4313de83e7fc2068bd6b70.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=' ' \