Date: Fri, 28 Feb 2014 07:09:08 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346436 - in head/x11/xdtm: . files Message-ID: <201402280709.s1S798oJ038620@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Feb 28 07:09:07 2014 New Revision: 346436 URL: http://svnweb.freebsd.org/changeset/ports/346436 QAT: https://qat.redports.org/buildarchive/r346436/ Log: Support stage Fix support for DESTDIR Added: head/x11/xdtm/files/patch-Imakefile (contents, props changed) Deleted: head/x11/xdtm/files/patch-aa Modified: head/x11/xdtm/Makefile head/x11/xdtm/pkg-plist Modified: head/x11/xdtm/Makefile ============================================================================== --- head/x11/xdtm/Makefile Fri Feb 28 07:05:15 2014 (r346435) +++ head/x11/xdtm/Makefile Fri Feb 28 07:09:07 2014 (r346436) @@ -16,7 +16,4 @@ USE_XORG= xaw USES= imake MAKE_JOBS_UNSAFE= yes -MAN1= xdtm.1 - -NO_STAGE= yes .include <bsd.port.mk> Added: head/x11/xdtm/files/patch-Imakefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/x11/xdtm/files/patch-Imakefile Fri Feb 28 07:09:07 2014 (r346436) @@ -0,0 +1,52 @@ +--- ./Imakefile.orig 1996-03-14 14:02:00.000000000 +0100 ++++ ./Imakefile 2014-02-28 08:07:51.884434658 +0100 +@@ -147,6 +147,11 @@ + XDTMOPTIONS = -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS + #endif + ++#ifdef FreeBSDArchitecture ++ LOCAL_LDFLAGS = ++ XDTMOPTIONS = -DHAS_STRSTR -DUSE_CWD -DECHO_N -DUSE_TERMIOS ++#endif ++ + #if SystemV4 /* SVR4 is mostly POSIX */ + XDTMOPTIONS = -DHAS_STRSTR -DUSE_CWD -DUSE_TERMIOS + #endif +@@ -241,27 +246,28 @@ + sed -e 's^\"{icon dir}\"^\"$(XDTMDIR)/icons\"^' \ + xdtmrc.orig > xdtmrc + sed -e 's^iconfile^$(XDTMDIR)/new_xdtm.xbm^' Xdtm.ad.tmpl > Xdtm.ad ++ cp xdtm.sh xdtm.sh.script + + XCOMM Install the xdtm execute script file, used to prevent xterms closing + XCOMM when the inferier process dies. +-InstallProgram(xdtm.sh, $(BINDIR)) ++InstallScript(xdtm.sh,$(BINDIR)) + + XCOMM Install the helpfile, system xdtmrc, icon bitmaps and the default + XCOMM application defaults. + +-MakeDirectories(install, $(XDTMDIR)) +-InstallNonExec(help, $(XDTMDIR)) +-InstallNonExec(perm.help, $(XDTMDIR)) +-InstallNonExec(xdtmrc, $(XDTMDIR)) +-InstallNonExec(bitmaps/new_xdtm.xbm, $(XDTMDIR)) +-MakeDirectories(install, $(XDTMDIR)/icons) ++MakeDirectories(install,$(XDTMDIR)) ++InstallNonExec(help,$(XDTMDIR)) ++InstallNonExec(perm.help,$(XDTMDIR)) ++InstallNonExec(xdtmrc,$(XDTMDIR)) ++InstallNonExec(bitmaps/new_xdtm.xbm,$(XDTMDIR)) ++MakeDirectories(install,$(XDTMDIR)/icons) + InstallAppDefaults(Xdtm) + + install:: +- $(CP) icons$(PATHSEP)*$(PATHSEP)*.icon $(XDTMDIR)/icons ++ $(CP) icons$(PATHSEP)*$(PATHSEP)*.icon $(DESTDIR)$(XDTMDIR)/icons + $(RM) xdtmrc + $(MV) xdtmrc.orig xdtmrc +- chmod -R a+r $(XDTMDIR) ++ chmod -R a+r $(DESTDIR)$(XDTMDIR) + + XCOMM Make the emacs TAGS file + Modified: head/x11/xdtm/pkg-plist ============================================================================== --- head/x11/xdtm/pkg-plist Fri Feb 28 07:05:15 2014 (r346435) +++ head/x11/xdtm/pkg-plist Fri Feb 28 07:09:07 2014 (r346436) @@ -53,5 +53,6 @@ lib/X11/xdtm/icons/x.icon lib/X11/xdtm/icons/xdtm.icon lib/X11/xdtm/icons/ycode.icon lib/X11/xdtm/icons/z.icon +man/man1/xdtm.1.gz @dirrm lib/X11/xdtm/icons @dirrm lib/X11/xdtm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402280709.s1S798oJ038620>