diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-11 18:09:00 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2018-01-11 18:09:00 +0000 |
commit | 35f74fbe2efdf35c73e4ea16384ab1499fb17df0 (patch) | |
tree | 9cac7f5ea213c17593d4d5a8c733bc92daf9a6ef /textproc/atom | |
parent | 70e5afba3d6e5c3b47408f4a92c9f510719e0ccf (diff) |
- Convert to option helper install target (add OPTIONS_DEFINE=DOCS
when it was missing)
- Invoke INSTALL_DATA where appropriate instead of INSTALL_MAN
- Fix some whitespace and formatting bugs along the way
Notes
Notes:
svn path=/head/; revision=458761
Diffstat (limited to 'textproc/atom')
-rw-r--r-- | textproc/atom/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/atom/Makefile b/textproc/atom/Makefile index afd034095919..4a857c295ae9 100644 --- a/textproc/atom/Makefile +++ b/textproc/atom/Makefile @@ -17,10 +17,14 @@ GNU_CONFIGURE= yes PLIST_FILES= bin/atom man/man1/atom.1.gz PORTDOCS= README TODO testFile +OPTIONS_DEFINE= DOCS + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1/ - ${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/ + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |