aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/proftpd-mod_sql_mysql/Makefile1
-rw-r--r--databases/proftpd-mod_sql_odbc/Makefile1
-rw-r--r--databases/proftpd-mod_sql_postgres/Makefile1
-rw-r--r--databases/proftpd-mod_sql_sqlite/Makefile1
-rw-r--r--ftp/proftpd/Makefile31
-rw-r--r--net/proftpd-mod_ldap/Makefile1
6 files changed, 17 insertions, 19 deletions
diff --git a/databases/proftpd-mod_sql_mysql/Makefile b/databases/proftpd-mod_sql_mysql/Makefile
index adcbc5a3c646..5703130a577f 100644
--- a/databases/proftpd-mod_sql_mysql/Makefile
+++ b/databases/proftpd-mod_sql_mysql/Makefile
@@ -22,5 +22,4 @@ LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/databases/proftpd-mod_sql_odbc/Makefile b/databases/proftpd-mod_sql_odbc/Makefile
index f58999e338d6..b23c0f49970b 100644
--- a/databases/proftpd-mod_sql_odbc/Makefile
+++ b/databases/proftpd-mod_sql_odbc/Makefile
@@ -25,5 +25,4 @@ LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/databases/proftpd-mod_sql_postgres/Makefile b/databases/proftpd-mod_sql_postgres/Makefile
index 7a516209320c..3d10690cd011 100644
--- a/databases/proftpd-mod_sql_postgres/Makefile
+++ b/databases/proftpd-mod_sql_postgres/Makefile
@@ -22,5 +22,4 @@ LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/databases/proftpd-mod_sql_sqlite/Makefile b/databases/proftpd-mod_sql_sqlite/Makefile
index 79dd24930011..54aa0caa6a1e 100644
--- a/databases/proftpd-mod_sql_sqlite/Makefile
+++ b/databases/proftpd-mod_sql_sqlite/Makefile
@@ -22,5 +22,4 @@ LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME}
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 1bc8dfa2a8eb..6f8d808508c6 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -96,7 +96,6 @@ PLIST_SUB+= LOCALSTATEDIR="${LOCALSTATEDIR}"
.endif #!defined(_BUILDING_PROFTPD_MODULE)
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if defined(USE_OPENSSL)
@@ -246,25 +245,29 @@ post-configure:
.if defined(_BUILDING_PROFTPD_MODULE)
pre-build:
@cd ${WRKSRC} && ${MAKE} include/buildstamp.h
+
+pre-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/proftpd
+
.else
post-install:
- @cd ${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf || ${TRUE}
- @${MKDIR} ${LOCALSTATEDIR}/proftpd
- @cd ${PREFIX}/etc/proftpd && ${CP} -n dhparams.pem.sample dhparams.pem || ${TRUE}
- @cd ${PREFIX}/etc/proftpd && ${CP} -n blacklist.dat.sample blacklist.dat || ${TRUE}
+ @cd ${STAGEDIR}${PREFIX}/etc/ && ${CP} -n proftpd.conf.sample proftpd.conf || ${TRUE}
+ @${MKDIR} ${STAGEDIR}${LOCALSTATEDIR}/proftpd
+ @cd ${STAGEDIR}${PREFIX}/etc/proftpd && ${CP} -n dhparams.pem.sample dhparams.pem || ${TRUE}
+ @cd ${STAGEIDR}${PREFIX}/etc/proftpd && ${CP} -n blacklist.dat.sample blacklist.dat || ${TRUE}
.if ${PORT_OPTIONS:MDOCS}
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC} && ${CP} README* RELEASE_NOTES ${DOCSDIR}
- @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} license.txt ${DOCSDIR}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${CP} README* RELEASE_NOTES ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} license.txt ${STAGEDIR}${DOCSDIR}
. if ${PORT_OPTIONS:MHTMLDOCS}
- @${INSTALL} -d ${DOCSDIR}/html
- @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} Configuration.html faq.html ${DOCSDIR}/html
- @${CP} -RP ${WRKSRC}/doc/contrib ${DOCSDIR}/html/contrib
- @${CP} -RP ${WRKSRC}/doc/modules ${DOCSDIR}/html/modules
- @${CP} -RP ${WRKSRC}/doc/howto ${DOCSDIR}/html/howto
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}/html
+ @cd ${WRKSRC}/doc/ && ${INSTALL_DATA} Configuration.html faq.html ${STAGEDIR}${DOCSDIR}/html
+ @${CP} -RP ${WRKSRC}/doc/contrib ${STAGEDIR}${DOCSDIR}/html/contrib
+ @${CP} -RP ${WRKSRC}/doc/modules ${STAGEDIR}${DOCSDIR}/html/modules
+ @${CP} -RP ${WRKSRC}/doc/howto ${STAGEDIR}${DOCSDIR}/html/howto
. endif
.endif
- @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${MAN8PREFIX}/man/man8/
+ @${INSTALL_MAN} ${WRKSRC}/src/ftpdctl.8 ${STAGEDIR}${MAN8PREFIX}/man/man8/
.endif #!defined(_BUILDING_PROFTPD_MODULE)
.include <bsd.port.mk>
diff --git a/net/proftpd-mod_ldap/Makefile b/net/proftpd-mod_ldap/Makefile
index 8bf7072106d9..8834aa60f725 100644
--- a/net/proftpd-mod_ldap/Makefile
+++ b/net/proftpd-mod_ldap/Makefile
@@ -24,5 +24,4 @@ LIBDIRS= ${LOCALBASE}/lib
_BUILDING_PROFTPD_MODULE= ${PORTNAME} \
mod_quotatab_ldap
-NO_STAGE= yes
.include "${MASTERDIR}/Makefile"