mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Staging support.
This commit is contained in:
parent
9771899d89
commit
331e4028ce
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331303
@ -56,8 +56,7 @@ Z80_CONFIGURE_OFF= --disable-z80 --disable-z80-port \
|
|||||||
--disable-z180-port --disable-gbz80-port \
|
--disable-z180-port --disable-gbz80-port \
|
||||||
--disable-r2k-port --disable-r3ka-port
|
--disable-r2k-port --disable-r3ka-port
|
||||||
|
|
||||||
NO_STAGE= yes
|
.include <bsd.port.options.mk>
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${ARCH} == "amd64"
|
.if ${ARCH} == "amd64"
|
||||||
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
|
||||||
@ -67,13 +66,13 @@ post-patch:
|
|||||||
@${REINPLACE_CMD} '/install:/s/:.*/:/' \
|
@${REINPLACE_CMD} '/install:/s/:.*/:/' \
|
||||||
${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
|
${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
|
||||||
.if empty(PORT_OPTIONS:MDOCS)
|
.if ! ${PORT_OPTIONS:MDOCS}
|
||||||
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
|
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
|
||||||
${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/sim/ucsim/packages_in.mk
|
${WRKSRC}/sim/ucsim/packages_in.mk
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${FIND} -d ${DATADIR} -type d -empty -delete
|
${FIND} -d ${STAGEDIR}${DATADIR} -type d -empty -delete
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user