aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-15 01:04:30 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-15 01:04:30 +0000
commitf9b6bb72bd478b12951f554e3e87ee3a3ad40716 (patch)
treeb03e7cfe150ed1b6857b68211969a31d1b599c54 /ftp
parent0524788414f29b02c458de14f74d7870a4bd1e97 (diff)
downloadports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.tar.gz
ports-f9b6bb72bd478b12951f554e3e87ee3a3ad40716.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/smbftpd/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftp/smbftpd/Makefile b/ftp/smbftpd/Makefile
index 15b69b119f1c..b3d42f845b35 100644
--- a/ftp/smbftpd/Makefile
+++ b/ftp/smbftpd/Makefile
@@ -24,7 +24,6 @@ HAS_CONFIGURE= yes
MAKE_ENV= OSTYPE=FreeBSD
CONFIGURE_ARGS= "--prefix=${PREFIX}"
-WRKSRC= ${WRKDIR}/${PORTNAME}
USE_PERL5= yes
USE_RC_SUBR= ${PORTNAME}
@@ -49,6 +48,9 @@ CONFIGURE_ARGS+= "--with-iconv"
CONFIGURE_ARGS+= "--with-ssl"
.endif
+post-extract:
+ @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
post-patch:
@${REINPLACE_CMD} -e '/^CONFIGS = / s|\.conf|&.sample|g' ${WRKSRC}/Makefile
@cd ${WRKSRC}/conf/ && (${LS} *.conf | ${XARGS} -I % ${MV} % %.sample)