Date: Tue, 14 Jan 2014 16:59:44 +0000 (UTC) From: Pietro Cerutti <gahr@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339701 - in head/net/smm++: . files Message-ID: <201401141659.s0EGxi4f054040@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401141659.s0EGxi4f054040>