aboutsummaryrefslogtreecommitdiff
path: root/ftp/bsdftpd-ssl
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-06-23 20:21:54 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-06-23 20:21:54 +0000
commitae546e15ed723a0fe8482a4559fa63fbb025449a (patch)
treef3efc49047def2ff6e55c92947451e271f678246 /ftp/bsdftpd-ssl
parentfee422ed2ecb04bf786c6dbdc743fd7378775a0a (diff)
downloadports-ae546e15ed723a0fe8482a4559fa63fbb025449a.tar.gz
ports-ae546e15ed723a0fe8482a4559fa63fbb025449a.zip
- Convert to OptionsNG
- add OBJFORMAT to the make envrionment as it will be removed shortly. Approved by: skynick@mail.sc.ru (maintainer)
Notes
Notes: svn path=/head/; revision=321650
Diffstat (limited to 'ftp/bsdftpd-ssl')
-rw-r--r--ftp/bsdftpd-ssl/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/ftp/bsdftpd-ssl/Makefile b/ftp/bsdftpd-ssl/Makefile
index 0af9302d8e1b..259821d2de61 100644
--- a/ftp/bsdftpd-ssl/Makefile
+++ b/ftp/bsdftpd-ssl/Makefile
@@ -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