aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/tftp-hpa/Makefile
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2006-07-12 11:22:00 +0800
committerbrooks <brooks@FreeBSD.org>2006-07-12 11:22:00 +0800
commita81d4421eca4e29e94aad55033e6df8c2fce2ced (patch)
tree50063f05dc41ec36fcb88fdaa40d00dbce650d17 /ftp/tftp-hpa/Makefile
parent6fd0995862d88af9f62743279c97375521f5dd1d (diff)
downloadfreebsd-ports-gnome-a81d4421eca4e29e94aad55033e6df8c2fce2ced.tar.gz
freebsd-ports-gnome-a81d4421eca4e29e94aad55033e6df8c2fce2ced.tar.zst
freebsd-ports-gnome-a81d4421eca4e29e94aad55033e6df8c2fce2ced.zip
- Upgrade to 0.42.
- Replace patche files with REINPLACE_CMD. PR: ports/100054 Submitted by: chinsan <chinsan.tw at gmail.com>
Diffstat (limited to 'ftp/tftp-hpa/Makefile')
-rw-r--r--ftp/tftp-hpa/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/ftp/tftp-hpa/Makefile b/ftp/tftp-hpa/Makefile
index 9485c38c8964..c4b7b3288b17 100644
--- a/ftp/tftp-hpa/Makefile
+++ b/ftp/tftp-hpa/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= tftp-hpa
-PORTVERSION= 0.41
+PORTVERSION= 0.42
CATEGORIES= ftp
MASTER_SITES= ftp://ftp.kernel.org/pub/software/network/tftp/
@@ -24,4 +24,12 @@ MAN1= tftp.1
MAN8= in.tftpd.8
MLINKS= in.tftpd.8 tftpd.8
+post-patch:
+ @${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,; s,sbindir,libexecdir,' \
+ ${WRKSRC}/MCONFIG.in
+ @${REINPLACE_CMD} -e 's,SBINDIR,LIBEXECDIR,g' \
+ ${WRKSRC}/tftpd/Makefile
+ @${REINPLACE_CMD} -e 's,LOG_DAEMON,LOG_FTP,g' \
+ ${WRKSRC}/tftpd/tftpd.c
+
.include <bsd.port.mk>