freebsd-ports/net/smm++/Makefile
Mathieu Arnold 8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00

33 lines
821 B
Makefile

# 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= edwin@mavetju.org
COMMENT= Graphical mudclient with mapper
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
MAKE_ENV+= STAGEDIR=${STAGEDIR}
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>