diff options
author | agc <agc@pkgsrc.org> | 1999-08-18 09:08:10 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-08-18 09:08:10 +0000 |
commit | 9ddc439a72c3ecc0fa6547546723eb79c9529a5c (patch) | |
tree | 33c1359f4ba64a5eb8ef55b5cca7ea045204628a /news/trn/Makefile | |
parent | bb857d2aff88e7091adbd66c7e31cd3f692e1387 (diff) | |
download | pkgsrc-9ddc439a72c3ecc0fa6547546723eb79c9529a5c.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/Makefile')
-rw-r--r-- | news/trn/Makefile | 11 |
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" |