diff options
author | Johan van Selst <johans@FreeBSD.org> | 2014-02-10 07:31:17 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2014-02-10 07:31:17 +0000 |
commit | 7a14a04810bebf3d0b5ad22f02de6310b537bed1 (patch) | |
tree | b655fe5b2d9f16033cf990121770db27cc7d5674 | |
parent | 3119a39f1da631e94f4a72a988c13215bc9f24aa (diff) |
Notes
-rw-r--r-- | news/trn/Makefile | 15 | ||||
-rw-r--r-- | news/trn/files/pkg-message.in | 6 | ||||
-rw-r--r-- | news/trn/pkg-plist | 6 |
3 files changed, 15 insertions, 12 deletions
diff --git a/news/trn/Makefile b/news/trn/Makefile index 29731c21d5f7..4c8b03645c3a 100644 --- a/news/trn/Makefile +++ b/news/trn/Makefile @@ -15,22 +15,15 @@ RUN_DEPENDS= munpack:${PORTSDIR}/converters/mpack CONFLICTS_INSTALL=trn-4.[0-9]* WRKSRC= ${WRKDIR}/trn-3.6 -MAN1= trn.1 Pnews.1 Rnmail.1 newsetup.1 newsgroups.1 HAS_CONFIGURE= Yes CONFIGURE_SCRIPT= Configure CONFIGURE_ENV= PREFIX="${PREFIX}" CONFIGURE_ARGS= -S -NO_STAGE= yes -post-install: -.if !defined(BATCH) - @${ECHO_MSG} "" - @${ECHO_MSG} "############################################################################" - @${ECHO_MSG} "# Please edit lines 48 through 69 in ${PREFIX}/bin/Pnews #" - @${ECHO_MSG} "# to customize news posting for your site. #" - @${ECHO_MSG} "# Remember to set the NNTPSERVER environment variable to your news server. #" - @${ECHO_MSG} "############################################################################" -.endif +SUB_FILES= pkg-message + +post-patch: + ${REINPLACE_CMD} 's/$$install/\\$${DESTDIR}&/' ${WRKSRC}/Makefile.SH .include <bsd.port.mk> diff --git a/news/trn/files/pkg-message.in b/news/trn/files/pkg-message.in new file mode 100644 index 000000000000..6a89a5fe90a5 --- /dev/null +++ b/news/trn/files/pkg-message.in @@ -0,0 +1,6 @@ + +Please edit lines 48 through 69 in %%PREFIX%/bin/Pnews +to customize news posting for your site. +Edit %%PREFIX%%/bin/newsetup to set the Distribution codes. +Remember to set the NNTPSERVER environment variable to your news server. + diff --git a/news/trn/pkg-plist b/news/trn/pkg-plist index 99321c879447..d58f536ec753 100644 --- a/news/trn/pkg-plist +++ b/news/trn/pkg-plist @@ -1,4 +1,3 @@ -@exec echo "Be sure to edit %D/bin/Pnews and %D/bin/newsetup to set the Distribution codes" bin/Pnews bin/Rnmail bin/newsetup @@ -14,4 +13,9 @@ lib/trn/makedir lib/trn/mbox.saver lib/trn/newsnews lib/trn/norm.saver +man/man1/trn.1.gz +man/man1/Pnews.1.gz +man/man1/Rnmail.1.gz +man/man1/newsetup.1.gz +man/man1/newsgroups.1.gz @dirrm lib/trn |