aboutsummaryrefslogtreecommitdiff
path: root/ftp/bsdftpd-ssl/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
commitd095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch)
treeca5cd97e4ad40da4b6e4a6c197453610fd6c69b1 /ftp/bsdftpd-ssl/Makefile
parentc0a7a1f97264b914fa27603f8433b87b38b15f14 (diff)
downloadports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.tar.gz
ports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.zip
Notes
Diffstat (limited to 'ftp/bsdftpd-ssl/Makefile')
-rw-r--r--ftp/bsdftpd-ssl/Makefile16
1 files changed, 0 insertions, 16 deletions
diff --git a/ftp/bsdftpd-ssl/Makefile b/ftp/bsdftpd-ssl/Makefile
index 3d8a44b9ffef..53042f104f04 100644
--- a/ftp/bsdftpd-ssl/Makefile
+++ b/ftp/bsdftpd-ssl/Makefile
@@ -35,12 +35,7 @@ MAN8= ftpd.8
MLINKS= ftpd.8 ftpd-ssl.8 ftpchroot.5 ftpchroot-ssl.5
PKGMESSAGE= ${WRKDIR}/pkg-message
SED_ARG= 's|%%PREFIX%%|${PREFIX}|g; s|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; s|%%RC_SUBR%%|${RC_SUBR}|g'
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
USE_RC_SUBR= yes
-. else
-PLIST= ${FILESDIR}/pkg-plist.server.compat
-. endif
.endif
MANCOMPRESSED= yes
@@ -67,16 +62,10 @@ do-build:
# Server part
.if !defined(CLIENT_ONLY)
(cd ${WRKSRC}/ftpd && make) || exit
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
@${SED} ${SED_ARG} ${FILESDIR}/pkg-message.server > \
${WRKDIR}/pkg-message
@${SED} ${SED_ARG} ${FILESDIR}/bsdftpd_ssl.sh > \
${WRKDIR}/bsdftpd_ssl.sh
-. else
- @${SED} ${SED_ARG} ${FILESDIR}/pkg-message.server.compat > \
- ${WRKDIR}/pkg-message
-. endif
.endif
do-install:
@@ -116,8 +105,6 @@ post-install:
${INSTALL_SCRIPT} -p ${WRKSRC}/cert/xCA.sh ${DOCDIR}/cert/xCA.sh
.endif
.if !defined(CLIENT_ONLY)
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/rc.conf.d
${INSTALL_DATA} -p ${FILESDIR}/README.examples ${EXAMPLESDIR}/README
@@ -125,9 +112,6 @@ post-install:
${INSTALL_DATA} -p ${FILESDIR}/ftpusers ${EXAMPLESDIR}/ftpusers
${INSTALL_DATA} -p ${FILESDIR}/rc_conf_d.bsdftpd_ssl ${EXAMPLESDIR}/rc.conf.d/bsdftpd_ssl
${INSTALL_SCRIPT} ${WRKDIR}/bsdftpd_ssl.sh ${PREFIX}/etc/rc.d/bsdftpd_ssl.sh
-. else
- ${INSTALL_SCRIPT} ${FILESDIR}/bsdftpd_ssl.sh.compat ${PREFIX}/etc/rc.d/bsdftpd_ssl.sh.sample
-. endif
@${ECHO_CMD} "*******************************************************************************"
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} "*******************************************************************************"