aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/p5-Net-FTPServer
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/p5-Net-FTPServer')
-rw-r--r--ftp/p5-Net-FTPServer/Makefile3
-rw-r--r--ftp/p5-Net-FTPServer/files/pkg-message.in (renamed from ftp/p5-Net-FTPServer/pkg-message)4
2 files changed, 3 insertions, 4 deletions
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 <bsd.port.mk>
diff --git a/ftp/p5-Net-FTPServer/pkg-message b/ftp/p5-Net-FTPServer/files/pkg-message.in
index 3618f61ede06..c68cbf0f6c7a 100644
--- a/ftp/p5-Net-FTPServer/pkg-message
+++ b/ftp/p5-Net-FTPServer/files/pkg-message.in
@@ -1,6 +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.
+ftpd is installed as %%PREFIX%%/sbin/ftpd.pl, with an example config
+file in %%PREFIX%%/share/examples/Net-FTPServer.
--------------------------------------------------------------------------