diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 02:18:02 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 02:18:02 +0800 |
commit | c26fe43e8a72cff2575818dc5b7dd0bc3e7f9649 (patch) | |
tree | b536625912e0dbf4d80e3e4ce6844a97d066e3da /ftp/tnftpd | |
parent | 2af463a232ffc193db01e274d26c03a57826513b (diff) | |
download | freebsd-ports-gnome-c26fe43e8a72cff2575818dc5b7dd0bc3e7f9649.tar.gz freebsd-ports-gnome-c26fe43e8a72cff2575818dc5b7dd0bc3e7f9649.tar.zst freebsd-ports-gnome-c26fe43e8a72cff2575818dc5b7dd0bc3e7f9649.zip |
Resolve unnecessary bsd.port.options.mk inclusion by using OPTIONS helpers.
Approved by: portmgr (blanket)
Diffstat (limited to 'ftp/tnftpd')
-rw-r--r-- | ftp/tnftpd/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ftp/tnftpd/Makefile b/ftp/tnftpd/Makefile index b03f99d6eea2..100195cf69e4 100644 --- a/ftp/tnftpd/Makefile +++ b/ftp/tnftpd/Makefile @@ -18,6 +18,7 @@ PLIST_FILES= libexec/tnftpd \ PORTDOCS= ChangeLog NEWS README THANKS COPYING PORTEXAMPLES= ftpd.conf ftpusers +OPTIONS_DEFINE= DOCS EXAMPLES SUB_FILES= pkg-message .include <bsd.port.pre.mk> @@ -33,17 +34,13 @@ do-install: ${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 -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor -.endif -.if ${PORT_OPTIONS:MEXAMPLES} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for f in ${PORTEXAMPLES} ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include <bsd.port.post.mk> |