svn commit: r343594 - in head/news/trn: . files
Johan van Selst
johans at FreeBSD.org
Mon Feb 10 07:31:18 UTC 2014
Author: johans
Date: Mon Feb 10 07:31:17 2014
New Revision: 343594
URL: http://svnweb.freebsd.org/changeset/ports/343594
QAT: https://qat.redports.org/buildarchive/r343594/
Log:
Enable stage support
Added:
head/news/trn/files/pkg-message.in (contents, props changed)
Modified:
head/news/trn/Makefile
head/news/trn/pkg-plist
Modified: head/news/trn/Makefile
==============================================================================
--- head/news/trn/Makefile Mon Feb 10 07:25:07 2014 (r343593)
+++ head/news/trn/Makefile Mon Feb 10 07:31:17 2014 (r343594)
@@ -15,22 +15,15 @@ RUN_DEPENDS= munpack:${PORTSDIR}/convert
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>
Added: head/news/trn/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/news/trn/files/pkg-message.in Mon Feb 10 07:31:17 2014 (r343594)
@@ -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.
+
Modified: head/news/trn/pkg-plist
==============================================================================
--- head/news/trn/pkg-plist Mon Feb 10 07:25:07 2014 (r343593)
+++ head/news/trn/pkg-plist Mon Feb 10 07:31:17 2014 (r343594)
@@ -1,4 +1,3 @@
- at 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
More information about the svn-ports-all
mailing list