1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Convert to OptionsNG

- add OBJFORMAT to the make envrionment as it will be removed shortly.

Approved by:	 skynick@mail.sc.ru (maintainer)
This commit is contained in:
Eitan Adler 2013-06-23 20:21:54 +00:00
parent fee422ed2e
commit ae546e15ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=321650

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: bsdftpd-ssl
# Date created: 5 Apr 2003
# Whom: Nick Leuta
#
# Created by: Nick Leuta
# $FreeBSD$
#
PORTNAME= bsdftpd-ssl
PORTVERSION= 1.1.0
@ -23,6 +19,8 @@ COMMENT= FTP command-line client utility with the TLS/SSL support
USE_OPENSSL= yes
MAKE_ENV+= OBJFORMAT= elf
.include <bsd.port.pre.mk>
# Client only part
@ -37,7 +35,7 @@ MAN1= ftps.1
MAN5= ftpchroot.5 xferlog.5
MAN8= ftpd.8
MLINKS= ftpd.8 ftpd-ssl.8 ftpchroot.5 ftpchroot-ssl.5
.ifndef NOPORTEXAMPLES
.if ${PORT_OPTIONS:MEXAMPLES}
SUB_FILES= pkg-message
.endif
USE_RC_SUBR= ${PORTNAME}
@ -82,7 +80,7 @@ do-install:
.endif
post-install:
.if !defined(NOPORTDOCS)
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCDIR}
${INSTALL_DATA} -p ${WRKSRC}/COPYRIGHT ${DOCDIR}/COPYRIGHT
${INSTALL_DATA} -p ${WRKSRC}/README ${DOCDIR}/README
@ -106,7 +104,7 @@ post-install:
${INSTALL_SCRIPT} -p ${WRKSRC}/cert/xCA.sh ${DOCDIR}/cert/xCA.sh
.endif
.if !defined(CLIENT_ONLY)
.if !defined(NOPORTEXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/rc.conf.d
${INSTALL_DATA} -p ${FILESDIR}/README.examples ${EXAMPLESDIR}/README
${INSTALL_DATA} -p ${FILESDIR}/ftpchroot ${EXAMPLESDIR}/ftpchroot