aboutsummaryrefslogtreecommitdiff
path: root/net/smm++/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-24 16:10:35 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-11-24 16:10:35 +0000
commit660d6b9c91987d2facbfd4eb4cbad2767f7a0b01 (patch)
treef38938107dc1567963a8e978470c30bd2ac66620 /net/smm++/Makefile
parentce08abe0a726d9b96b11bae55987ce41c02d3f65 (diff)
downloadports-660d6b9c91987d2facbfd4eb4cbad2767f7a0b01.tar.gz
ports-660d6b9c91987d2facbfd4eb4cbad2767f7a0b01.zip
Notes
Diffstat (limited to 'net/smm++/Makefile')
-rw-r--r--net/smm++/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/net/smm++/Makefile b/net/smm++/Makefile
index bbe414991706..fc84e2b59641 100644
--- a/net/smm++/Makefile
+++ b/net/smm++/Makefile
@@ -11,6 +11,9 @@ 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
@@ -18,16 +21,16 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libitk.so:x11-toolkits/itk \
WRKSRC= ${WRKDIR}/smm/Install.unix
USES= gmake tk tar:tgz
EXTRACT_AFTER_ARGS=--exclude CVS
-
-MAKE_ENV+= STAGEDIR=${STAGEDIR}
+DESTDIRNAME= STAGEDIR
+NO_ARCH= yes
post-patch:
- ${REINPLACE_CMD} -e 's,itkarray=.*,itkarray=${WISH},' ${WRKSRC}/itk.sh
+ @${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
+ @${FIND} ${STAGEDIR}${PREFIX}/lib/smm -type f | ${XARGS} \
+ ${CHMOD} ${SHAREMODE}
+ @${FIND} ${STAGEDIR}${PREFIX}/lib/smm -type d | ${XARGS} \
+ ${CHMOD} 755
.include <bsd.port.mk>