svn commit: r345071 - in head/devel/xmake: . files
Emanuel Haupt
ehaupt at FreeBSD.org
Wed Feb 19 11:34:33 UTC 2014
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 at 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
+
More information about the svn-ports-head
mailing list