textproc/markdown and textproc/discount: Add CONFLICTS_INSTALL

Approved by:	portmgr blanket
This commit is contained in:
Yuri Victorovich 2019-06-22 17:36:09 +00:00
parent 7db4383692
commit 1ca2ea6ab8
2 changed files with 4 additions and 0 deletions

View file

@ -51,4 +51,6 @@ SAMPLES_PLIST_FILES= bin/makepage bin/mkd2html bin/theme \
man/man1/makepage.1.gz man/man1/mkd2html.1.gz \
man/man1/theme.1.gz
CONFLICTS_INSTALL= markdown
.include <bsd.port.mk>

View file

@ -24,6 +24,8 @@ PORTDOCS= Markdown-Readme.text
PLIST_FILES= bin/markdown
CONFLICTS_INSTALL= discount
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/Markdown.pl ${STAGEDIR}${PREFIX}/bin/markdown
@${MKDIR} ${STAGEDIR}${DOCSDIR}