1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/net-im/cjc/Makefile
Danilo Egea Gondolfo f5903f9bc5 - Support USE_GITHUB
- Improve COMMENT
- Add stage support

PR:		ports/184818
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2013-12-19 12:49:09 +00:00

41 lines
880 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= cjc
PORTVERSION= 1.2.1
CATEGORIES= net-im python
MASTER_SITES= GHC
MAINTAINER= ports@FreeBSD.org
COMMENT= Console Jabber Client
LICENSE= GPLv2
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.1.0:${PORTSDIR}/net-im/py-pyxmpp
OPTIONS_DEFINE= DOCS
USE_GITHUB= yes
GH_ACCOUNT= Jajcus
WRKSRC= ${WRKDIR}/${DISTNAME}
USES= shebangfix
SHEBANG_FILES= cjc.in cjc.py cjc/main.py
USE_PYTHON= 2
post-patch:
@${REINPLACE_CMD} -e \
"s|prefix=.*|prefix=${PREFIX}| ; \
/^DOCS/s|COPYING|| ; \
s|INSTALL=.*|INSTALL=${INSTALL}| ; \
s|INSTALL_DATA=.*|INSTALL_DATA=${INSTALL_DATA}| ; \
s|INSTALL_DIR=.*|INSTALL_DIR=${MKDIR}|g ; \
/compileall/d" ${WRKSRC}/Makefile
post-install:
(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} -m compileall \
-d ${PREFIX} -f ${DATADIR_REL})
.include <bsd.port.mk>