660d6b9c91
- Add NO_ARCH - Use DESTDIRNAME - Cosmetic fixes - Regenerate patches
37 lines
872 B
Makefile
37 lines
872 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= 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>
|