From d84fa204bbe3678d1a3e71a7c84cc826e612a5a0 Mon Sep 17 00:00:00 2001 From: pgollucci Date: Sun, 10 Jan 2010 00:35:49 +0000 Subject: SUBFILES += pkg-message PR: ports/142517 Submitted by: Sevan Janiyan --- ftp/p5-Net-FTPServer/Makefile | 3 +-- ftp/p5-Net-FTPServer/files/pkg-message.in | 6 ++++++ ftp/p5-Net-FTPServer/pkg-message | 6 ------ 3 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 ftp/p5-Net-FTPServer/files/pkg-message.in delete mode 100644 ftp/p5-Net-FTPServer/pkg-message diff --git a/ftp/p5-Net-FTPServer/Makefile b/ftp/p5-Net-FTPServer/Makefile index 2afd9218e9db..974320ae15b6 100644 --- a/ftp/p5-Net-FTPServer/Makefile +++ b/ftp/p5-Net-FTPServer/Makefile @@ -28,7 +28,7 @@ BUILD_DEPENDS= ${RUN_DEPENDS} MAKE_ENV+= NOCONF=1 PERL_CONFIGURE= yes -PKGMESSAGE= ${WRKDIR}/pkg-message +SUB_FILES= pkg-message MAN3= Net::FTPServer.3 \ Net::FTPServer::DBeg1::DirHandle.3 \ @@ -74,7 +74,6 @@ post-install: @${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR} .endif - @${PERL} -p -e 's,PREFIX,${PREFIX},g' ${PKGDIR}/pkg-message > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} .include diff --git a/ftp/p5-Net-FTPServer/files/pkg-message.in b/ftp/p5-Net-FTPServer/files/pkg-message.in new file mode 100644 index 000000000000..c68cbf0f6c7a --- /dev/null +++ b/ftp/p5-Net-FTPServer/files/pkg-message.in @@ -0,0 +1,6 @@ +-------------------------------------------------------------------------- +You have installed p5-Net-FTPServer, a full-featured ftp daemon written in +Perl. For more information, please type `perldoc Net::FTPServer'. The +ftpd is installed as %%PREFIX%%/sbin/ftpd.pl, with an example config +file in %%PREFIX%%/share/examples/Net-FTPServer. +-------------------------------------------------------------------------- diff --git a/ftp/p5-Net-FTPServer/pkg-message b/ftp/p5-Net-FTPServer/pkg-message deleted file mode 100644 index 3618f61ede06..000000000000 --- a/ftp/p5-Net-FTPServer/pkg-message +++ /dev/null @@ -1,6 +0,0 @@ --------------------------------------------------------------------------- -You have installed p5-Net-FTPServer, a full-featured ftp daemon written in -Perl. For more information, please type `perldoc Net::FTPServer'. The -ftpd is installed as PREFIX/sbin/ftpd.pl, with an example config -file in PREFIX/share/examples/Net-FTPServer. --------------------------------------------------------------------------- -- cgit