mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
5ea57a0fd3
Approved by: krion (mentor, implicit)
36 lines
908 B
Makefile
36 lines
908 B
Makefile
# New ports collection makefile for: cjc
|
|
# Date created: 19 April 2006
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= cjc
|
|
PORTVERSION= 1.0.0
|
|
CATEGORIES= net-im python
|
|
MASTER_SITES= http://jabberstudio.2nw.net/cjc/
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= The Console Jabber Client
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyxmpp>=1.0.0:${PORTSDIR}/net-im/py-pyxmpp
|
|
|
|
USE_PYTHON= 2.3+
|
|
MAKE_ENV+= prefix=${PREFIX} pkg_datadir=${DATADIR} INSTALL_DIR="${INSTALL} -d"
|
|
MAKE_ARGS+= -E prefix -E pkg_datadir -E pkg_docdir -E INSTALL -E INSTALL_DATA \
|
|
-E INSTALL_DIR
|
|
|
|
.ifdef NOPORTDOCS
|
|
MAKE_ENV+= pkg_docdir= DOCS=
|
|
MAKE_ARGS+= -E DOCS
|
|
.else
|
|
MAKE_ENV+= pkg_docdir=${DOCSDIR}
|
|
PORTDOCS= manual.html COPYING ChangeLog README TODO
|
|
.endif
|
|
|
|
post-patch:
|
|
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
|
|
${XARGS} ${REINPLACE_CMD} -e "s!/usr/bin/python!${PYTHON_CMD}!"
|
|
|
|
.include <bsd.port.mk>
|