summaryrefslogtreecommitdiffstats
path: root/net/smm++/Makefile
blob: fc84e2b596415efdb31ab22e8fd7f14bd8fd6433 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Created by: Edwin Groothuis (edwin@mavetju.org)
# $FreeBSD$

PORTNAME=	smm++
PORTVERSION=	6.1.1
PORTREVISION=	1
CATEGORIES=	net
MASTER_SITES=	SF/smm/smm/${PORTVERSION}
DISTNAME=	smm611

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Graphical mudclient with mapper

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/../docu/GPL

RUN_DEPENDS=	iwidgets>0:x11-toolkits/iwidgets
BUILD_DEPENDS=	${LOCALBASE}/lib/libitk.so:x11-toolkits/itk \
		${LOCALBASE}/lib/libitcl.so:lang/itcl

WRKSRC=		${WRKDIR}/smm/Install.unix
USES=		gmake tk tar:tgz
EXTRACT_AFTER_ARGS=--exclude CVS
DESTDIRNAME=	STAGEDIR
NO_ARCH=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,itkarray=.*,itkarray=${WISH},' ${WRKSRC}/itk.sh

post-install:
	@${FIND} ${STAGEDIR}${PREFIX}/lib/smm -type f | ${XARGS} \
		${CHMOD} ${SHAREMODE}
	@${FIND} ${STAGEDIR}${PREFIX}/lib/smm -type d | ${XARGS} \
		${CHMOD} 755

.include <bsd.port.mk>
OpenPOWER on IntegriCloud