summaryrefslogtreecommitdiff
path: root/ftp/wu-ftpd/scripts/configure
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/wu-ftpd/scripts/configure')
-rw-r--r--ftp/wu-ftpd/scripts/configure12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/wu-ftpd/scripts/configure b/ftp/wu-ftpd/scripts/configure
new file mode 100644
index 000000000000..c5dca7248c10
--- /dev/null
+++ b/ftp/wu-ftpd/scripts/configure
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# $Id$
+#
+
+mv ${WRKSRC}/src/pathnames.h ${WRKSRC}/src/pathnames.h.bak
+sed <${WRKSRC}/src/pathnames.h.bak >${WRKSRC}/src/pathnames.h s+!!PREFIX!!+$PREFIX+g
+
+cp ${FILESDIR}/Makefile.fb2 ${WRKSRC}/src/makefiles/Makefile.fb2
+cp ${FILESDIR}/config.fb2 ${WRKSRC}/src/config/config.fb2
+cp ${FILESDIR}/support-Makefile.fb2 ${WRKSRC}/support/makefiles/Makefile.fb2
+cp ${FILESDIR}/skey-stuff.c ${WRKSRC}/src/skey-stuff.c