diff options
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/proftpd/Makefile | 31 |
1 files changed, 17 insertions, 14 deletions
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> |