aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-06-24 04:21:54 +0800
committereadler <eadler@FreeBSD.org>2013-06-24 04:21:54 +0800
commit2d0c1f60a5ac4f75b8cf1b886866208f1d5140db (patch)
treef3efc49047def2ff6e55c92947451e271f678246
parentcf752e0fd7eba2b054af2f6351b1e03954239fb4 (diff)
downloadfreebsd-ports-gnome-2d0c1f60a5ac4f75b8cf1b886866208f1d5140db.tar.gz
freebsd-ports-gnome-2d0c1f60a5ac4f75b8cf1b886866208f1d5140db.tar.zst
freebsd-ports-gnome-2d0c1f60a5ac4f75b8cf1b886866208f1d5140db.zip
- Convert to OptionsNG
- add OBJFORMAT to the make envrionment as it will be removed shortly. Approved by: skynick@mail.sc.ru (maintainer)
-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