1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Add LICENSE_FILE

- Switch to options helpers
- Style fixes

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-09-12 09:01:49 +00:00
parent 0265cbc477
commit 1dd82f4b95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449678

View File

@ -11,6 +11,7 @@ MAINTAINER= sbz@FreeBSD.org
COMMENT= Minimalist FIFO and filesystem-based IRC client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/ii man/man1/ii.1.gz
PORTDOCS= CHANGES FAQ README
@ -19,11 +20,15 @@ PORTEXAMPLES= query.sh
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>