Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2016 16:10:35 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r427050 - in head/net/smm++: . files
Message-ID:  <201611241610.uAOGAZqH015665@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Nov 24 16:10:35 2016
New Revision: 427050
URL: https://svnweb.freebsd.org/changeset/ports/427050

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Use DESTDIRNAME
  - Cosmetic fixes
  - Regenerate patches

Modified:
  head/net/smm++/Makefile
  head/net/smm++/files/patch-Makefile

Modified: head/net/smm++/Makefile
==============================================================================
--- head/net/smm++/Makefile	Thu Nov 24 16:10:34 2016	(r427049)
+++ head/net/smm++/Makefile	Thu Nov 24 16:10:35 2016	(r427050)
@@ -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.s
 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>

Modified: head/net/smm++/files/patch-Makefile
==============================================================================
--- head/net/smm++/files/patch-Makefile	Thu Nov 24 16:10:34 2016	(r427049)
+++ head/net/smm++/files/patch-Makefile	Thu Nov 24 16:10:35 2016	(r427050)
@@ -1,5 +1,5 @@
---- Makefile.orig	2002-05-01 23:15:20.000000000 +0200
-+++ Makefile	2014-01-14 17:56:34.000000000 +0100
+--- Makefile.orig	2002-05-01 21:15:20 UTC
++++ Makefile
 @@ -11,8 +11,8 @@
  
  # --- The default settings will install SMM++ nicely into an
@@ -11,7 +11,7 @@
  
  # --- If you don't have root access, you could choose to install
  #     SMM++ locally in your home directory. Therefore use the
-@@ -58,6 +58,8 @@
+@@ -58,6 +58,8 @@ TROUBLEoptionmenu=0
  #      this Makefile. If you can read Makefiles, feel free
  #      to do whatever you like.
  
@@ -20,7 +20,7 @@
  smm: Makefile
  	@echo "--- Building startup file."
  	@if [ -z ${ITKWISH} ] ; then \
-@@ -80,18 +82,18 @@
+@@ -80,18 +82,18 @@ install-bin:
  	@echo "--- Installing startup file to '${BIN}'."
  	@echo "    Please make sure, that '${BIN}' is part of your PATH variable."
  	@echo "    Or start SMM++ with ${BIN}/smm."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611241610.uAOGAZqH015665>