diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-30 01:42:20 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-30 01:42:20 +0000 |
commit | 7b7d139a47af7939d7fbdbc2b3037e1e7370a0c9 (patch) | |
tree | b7703f9641c5d8cbbea8ced924f9cd42d49208ed /net-im | |
parent | 65d8ecbd1afe944a76acf4bbc14c4e892a0e6334 (diff) | |
download | ports-7b7d139a47af7939d7fbdbc2b3037e1e7370a0c9.tar.gz ports-7b7d139a47af7939d7fbdbc2b3037e1e7370a0c9.zip |
Notes
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/cjc/Makefile | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/net-im/cjc/Makefile b/net-im/cjc/Makefile index 809a6ca797e1..76d2fdb33b92 100644 --- a/net-im/cjc/Makefile +++ b/net-im/cjc/Makefile @@ -10,26 +10,19 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Console Jabber Client LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxmpp>=0:${PORTSDIR}/net-im/py-pyxmpp USE_GITHUB= yes GH_ACCOUNT= Jajcus -WRKSRC= ${WRKDIR}/${DISTNAME} - USES= python:2 shebangfix SHEBANG_FILES= cjc.in cjc.py cjc/main.py +NO_ARCH= yes PORTDOCS= * -DOCSRCDIR1= ${WRKSRC} -DOC_FILES1= ChangeLog README - -DOCSRCDIR2= ${WRKSRC}/doc -DOCSDIR2= ${DOCSDIR}/doc -DOC_FILES2= manual.html - OPTIONS_DEFINE= DOCS post-patch: @@ -46,9 +39,9 @@ post-install: (cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \ -d ${PREFIX} -f ${DATADIR_REL}) +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README \ + ${WRKSRC}/doc/manual.html ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> |