mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 15:36:35 -04:00
Support staging
This commit is contained in:
parent
b2c5327953
commit
a5b4c304bc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345071
2 changed files with 22 additions and 4 deletions
|
@ -11,11 +11,9 @@ MAINTAINER= ports@FreeBSD.org
|
||||||
COMMENT= A powerful make utility
|
COMMENT= A powerful make utility
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/xmake
|
WRKSRC= ${WRKDIR}/xmake
|
||||||
MAN1= xmake.1
|
PLIST_FILES= bin/xmake man/man1/xmake.1.gz
|
||||||
PLIST_FILES= bin/xmake
|
|
||||||
|
|
||||||
NO_STAGE= yes
|
post-extract:
|
||||||
pre-build:
|
|
||||||
@${RM} -rf ${WRKSRC}/obj
|
@${RM} -rf ${WRKSRC}/obj
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
20
devel/xmake/files/patch-Makefile
Normal file
20
devel/xmake/files/patch-Makefile
Normal file
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue