svn commit: r321650 - head/ftp/bsdftpd-ssl

Eitan Adler eadler at FreeBSD.org
Sun Jun 23 20:21:54 UTC 2013


Author: eadler
Date: Sun Jun 23 20:21:54 2013
New Revision: 321650
URL: http://svnweb.freebsd.org/changeset/ports/321650

Log:
  - Convert to OptionsNG
  - add OBJFORMAT to the make envrionment as it will be removed shortly.
  
  Approved by:	 skynick at mail.sc.ru (maintainer)

Modified:
  head/ftp/bsdftpd-ssl/Makefile

Modified: head/ftp/bsdftpd-ssl/Makefile
==============================================================================
--- head/ftp/bsdftpd-ssl/Makefile	Sun Jun 23 20:14:01 2013	(r321649)
+++ head/ftp/bsdftpd-ssl/Makefile	Sun Jun 23 20:21:54 2013	(r321650)
@@ -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
 
 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


More information about the svn-ports-all mailing list