mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
92b220fa9c
With hat: portmgr
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# New ports collection makefile for: coccinella
|
|
# Date created: 21 Oct 2004
|
|
# Whom: Marc Bruenink
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= coccinella
|
|
PORTVERSION= 0.95.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= net-im tk
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= Coccinella-${PORTVERSION}Src
|
|
|
|
MAINTAINER= marc@bruenink.de
|
|
COMMENT= Jabber client with whiteboard communication
|
|
|
|
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
|
|
|
|
NO_BUILD= yes
|
|
|
|
WISH= ${LOCALBASE}/bin/wish8.4
|
|
LIBTARGETDIR= ${PREFIX}/${PORTNAME}
|
|
PLIST_SUB+= LIBTARGETDIR=${PORTNAME}
|
|
|
|
post-extract:
|
|
@${RM} -r ${WRKSRC}/bin/
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\(exec.*\)wish|\1${WISH}|g' ${WRKSRC}/Coccinella.tcl
|
|
|
|
do-install:
|
|
@${CP} -r ${WRKSRC} ${LIBTARGETDIR}
|
|
@${RM} ${LIBTARGETDIR}/CHANGES ${LIBTARGETDIR}/README*
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/Coccinella.tcl ${LIBTARGETDIR}
|
|
@${LN} -sf ${LIBTARGETDIR}/Coccinella.tcl ${PREFIX}/bin/coccinella
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/CHANGES ${DOCSDIR}
|
|
${INSTALL_MAN} ${WRKSRC}/README* ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|