summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-10 00:35:49 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-01-10 00:35:49 +0000
commitc1eaff1b565d6781255303c68bba386df2e0c884 (patch)
tree622925cdd9807d0b63e98b28780ec8c931da7094 /ftp
parentSUBFILES += pkg-message (diff)
SUBFILES += pkg-message
PR: ports/142517 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Notes
Notes: svn path=/head/; revision=247497
Diffstat (limited to 'ftp')
-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.
--------------------------------------------------------------------------