diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-22 20:00:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-22 20:00:18 +0000 |
commit | 9da516a7d630e1f94ab0cd14e8d68a52685a480e (patch) | |
tree | 40eecda27760373263f336d10005a38bff814b8a /ftp/tnftpd | |
parent | 0be46d849de68f17b900b0ccd2e6374e76c6b83b (diff) | |
download | ports-9da516a7d630e1f94ab0cd14e8d68a52685a480e.tar.gz ports-9da516a7d630e1f94ab0cd14e8d68a52685a480e.zip |
Notes
Diffstat (limited to 'ftp/tnftpd')
-rw-r--r-- | ftp/tnftpd/Makefile | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/ftp/tnftpd/Makefile b/ftp/tnftpd/Makefile index d1ccd01557e1..07e4c138e289 100644 --- a/ftp/tnftpd/Makefile +++ b/ftp/tnftpd/Makefile @@ -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> |