Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2014 11:34:33 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345071 - in head/devel/xmake: . files
Message-ID:  <201402191134.s1JBYXBA001914@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 19 11:34:32 2014
New Revision: 345071
URL: http://svnweb.freebsd.org/changeset/ports/345071
QAT: https://qat.redports.org/buildarchive/r345071/

Log:
  Support staging

Added:
  head/devel/xmake/files/
  head/devel/xmake/files/patch-Makefile   (contents, props changed)
Modified:
  head/devel/xmake/Makefile

Modified: head/devel/xmake/Makefile
==============================================================================
--- head/devel/xmake/Makefile	Wed Feb 19 11:31:58 2014	(r345070)
+++ head/devel/xmake/Makefile	Wed Feb 19 11:34:32 2014	(r345071)
@@ -11,11 +11,9 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A powerful make utility
 
 WRKSRC=		${WRKDIR}/xmake
-MAN1=		xmake.1
-PLIST_FILES=	bin/xmake
+PLIST_FILES=	bin/xmake man/man1/xmake.1.gz
 
-NO_STAGE=	yes
-pre-build:
+post-extract:
 	@${RM} -rf ${WRKSRC}/obj
 
 .include <bsd.port.mk>

Added: head/devel/xmake/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/xmake/files/patch-Makefile	Wed Feb 19 11:34:32 2014	(r345071)
@@ -0,0 +1,20 @@
+--- ./Makefile.orig	2014-02-19 12:33:07.233262579 +0100
++++ ./Makefile	2014-02-19 12:33:45.211272300 +0100
+@@ -6,7 +6,7 @@
+ EXE= xmake
+ PREFIX ?= /usr/local
+ IBDIR= $(PREFIX)/bin
+-IMDIR= $(PREFIX)/man/man1
++IMDIR= $(MANPREFIX)/man/man1
+ BSD_INSTALL_PROGRAM ?= install -c -s -m 755
+ BSD_INSTALL_MAN ?= install -c -m 644
+ 
+@@ -19,6 +19,6 @@
+ 	rm -f $(OBJS) $(EXE)
+ 
+ install: all
+-	$(BSD_INSTALL_PROGRAM) $(EXE) $(IBDIR)/$(EXE)
+-	$(BSD_INSTALL_MAN) ${.CURDIR}/xmake.1 $(IMDIR)/xmake.1
++	$(BSD_INSTALL_PROGRAM) $(EXE) $(DESTDIR)$(IBDIR)/$(EXE)
++	$(BSD_INSTALL_MAN) ${.CURDIR}/xmake.1 $(DESTDIR)$(IMDIR)/xmake.1
+ 



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