Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2015 20:00:18 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397585 - head/ftp/tnftpd
Message-ID:  <201509222000.t8MK0I5b013154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Sep 22 20:00:18 2015
New Revision: 397585
URL: https://svnweb.freebsd.org/changeset/ports/397585

Log:
  - Drop 8.x support
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/ftp/tnftpd/Makefile

Modified: head/ftp/tnftpd/Makefile
==============================================================================
--- head/ftp/tnftpd/Makefile	Tue Sep 22 19:59:54 2015	(r397584)
+++ head/ftp/tnftpd/Makefile	Tue Sep 22 20:00:18 2015	(r397585)
@@ -12,34 +12,32 @@ COMMENT=	Enhanced ftp server from NetBSD
 USES=		autoreconf libtool
 GNU_CONFIGURE=	yes
 
+CFLAGS+=	-DSUPPORT_UTMPX
+
 PLIST_FILES=	libexec/tnftpd \
-				man/man5/ftpd.conf.5.gz man/man5/ftpusers.5.gz man/man8/tnftpd.8.gz
+		man/man5/ftpd.conf.5.gz man/man5/ftpusers.5.gz man/man8/tnftpd.8.gz
 PORTDOCS=	ChangeLog NEWS README THANKS COPYING
 PORTEXAMPLES=	ftpd.conf ftpusers
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 SUB_FILES=	pkg-message
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 900007
-CFLAGS+=	-DSUPPORT_UTMPX
-.else
-CFLAGS+=	-DSUPPORT_UTMP
-.endif
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${STAGEDIR}${PREFIX}/libexec
 	${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.man ${STAGEDIR}${PREFIX}/man/man5/ftpd.conf.5
 	${INSTALL_MAN} ${WRKSRC}/src/ftpusers.man ${STAGEDIR}${PREFIX}/man/man5/ftpusers.5
 	${INSTALL_MAN} ${WRKSRC}/src/tnftpd.man ${STAGEDIR}${PREFIX}/man/man8/tnftpd.8
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
+
+do-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for f in ${PORTEXAMPLES}
 	${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
 .endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509222000.t8MK0I5b013154>