summaryrefslogtreecommitdiff
path: root/news/trn
diff options
context:
space:
mode:
authoragc <agc>1999-08-18 09:08:10 +0000
committeragc <agc>1999-08-18 09:08:10 +0000
commit9fede9f4677496ee752eba3e70d99c8e47b20203 (patch)
tree33c1359f4ba64a5eb8ef55b5cca7ea045204628a /news/trn
parent0b02a36fbbee61ce4f09cbfa6dd88d27b58ee3ff (diff)
downloadpkgsrc-9fede9f4677496ee752eba3e70d99c8e47b20203.tar.gz
Record build options in the BuildInfo file via BUILD_DEFS. These can be
displayed using the -B option to pkg_info(1). Also clean up inclusion of files, and include a missing bsd.prefs.mk
Diffstat (limited to 'news/trn')
-rw-r--r--news/trn/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile
index 33d8155c14e..d4324eedc92 100644
--- a/news/trn/Makefile
+++ b/news/trn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 1999/07/26 19:47:37 tron Exp $
+# $NetBSD: Makefile,v 1.3 1999/08/18 09:08:10 agc Exp $
#
DISTNAME= trn-3.6
@@ -7,6 +7,10 @@ MASTER_SITES= ftp://ftp.wustl.edu/packages/news/readers/trn/
MAINTAINER= packages@netbsd.org
+BUILD_DEFS+= USE_INN
+
+.include "../../mk/bsd.prefs.mk"
+
.if defined(USE_INN) && ${USE_INN} == YES
DEPENDS= inn-2.2:../inn
.else
@@ -22,7 +26,8 @@ pre-configure:
@${CP} ${FILESDIR}/config.sh ${WRKSRC}
post-install:
- @${LN} -sf trn ${PREFIX}/bin/rn
- @${LN} -sf trn.1 ${PREFIX}/man/man1/rn.1
+ @${RM} -f ${PREFIX}/bin/rn ${PREFIX}/man/man1/rn.1 ${PREFIX}/man/man1/rn.1.gz
+ @${LN} -s trn ${PREFIX}/bin/rn
+ @${LN} -s trn.1 ${PREFIX}/man/man1/rn.1
.include "../../mk/bsd.pkg.mk"