From owner-svn-ports-all@FreeBSD.ORG Tue Jan 14 16:59:44 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D3C84F69; Tue, 14 Jan 2014 16:59:44 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B4000199C; Tue, 14 Jan 2014 16:59:44 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0EGxi94054044; Tue, 14 Jan 2014 16:59:44 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0EGxi4f054040; Tue, 14 Jan 2014 16:59:44 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201401141659.s0EGxi4f054040@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 14 Jan 2014 16:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339701 - in head/net/smm++: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 16:59:45 -0000 Author: gahr Date: Tue Jan 14 16:59:44 2014 New Revision: 339701 URL: http://svnweb.freebsd.org/changeset/ports/339701 QAT: https://qat.redports.org/buildarchive/r339701/ Log: - Convert to USES=gmake and USES=tk - STAGE-clean - Fix installed files and directories permissions Modified: head/net/smm++/Makefile (contents, props changed) head/net/smm++/files/patch-Makefile (contents, props changed) Modified: head/net/smm++/Makefile ============================================================================== --- head/net/smm++/Makefile Tue Jan 14 16:47:54 2014 (r339700) +++ head/net/smm++/Makefile Tue Jan 14 16:59:44 2014 (r339701) @@ -17,12 +17,18 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libitk.s ${LOCALBASE}/lib/libitcl.so:${PORTSDIR}/lang/itcl WRKSRC= ${WRKDIR}/smm/Install.unix -USE_GMAKE= yes -USE_TK= 84+ +USES= gmake tk EXTRACT_AFTER_ARGS=--exclude CVS -NO_STAGE= yes +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 Modified: head/net/smm++/files/patch-Makefile ============================================================================== --- head/net/smm++/files/patch-Makefile Tue Jan 14 16:47:54 2014 (r339700) +++ head/net/smm++/files/patch-Makefile Tue Jan 14 16:59:44 2014 (r339701) @@ -1,5 +1,5 @@ ---- Makefile.orig Wed May 1 17:15:20 2002 -+++ Makefile Wed Jun 12 20:02:20 2002 +--- Makefile.orig 2002-05-01 23:15:20.000000000 +0200 ++++ Makefile 2014-01-14 17:56:34.000000000 +0100 @@ -11,8 +11,8 @@ # --- The default settings will install SMM++ nicely into an @@ -11,12 +11,37 @@ # --- If you don't have root access, you could choose to install # SMM++ locally in your home directory. Therefore use the -@@ -57,6 +57,8 @@ - # --- You don't need to edit/understand/read the rest of +@@ -58,6 +58,8 @@ # this Makefile. If you can read Makefiles, feel free # to do whatever you like. -+ -+all: smm ++all: smm ++ smm: Makefile @echo "--- Building startup file." + @if [ -z ${ITKWISH} ] ; then \ +@@ -80,18 +82,18 @@ + @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." +- @install -d ${BIN} +- @install -c smm ${BIN} ++ @install -d ${STAGEDIR}${BIN} ++ @install -c smm ${STAGEDIR}${BIN} + uninstall-bin: + @echo "--- Uninstalling startup file from '${BIN}'." + @echo " Leaving the bin-dir untouched." + @rm -f ${BIN}/smm + install-src: + @echo "--- Installing libraries to ${SRC}." +- @install -d ${SRC} +- @cp -Rp ../sources ${SRC} +- @cp -Rp ../images ${SRC} +- @cp -Rp ../config ${SRC} ++ @install -d ${STAGEDIR}${SRC} ++ @cp -Rp ../sources ${STAGEDIR}${SRC} ++ @cp -Rp ../images ${STAGEDIR}${SRC} ++ @cp -Rp ../config ${STAGEDIR}${SRC} + uninstall-src: + @echo "--- Uninstalling libraries from ${SRC}." + @rm -rf ${SRC}