1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Staging support.

This commit is contained in:
Tijl Coosemans 2013-10-22 18:22:52 +00:00
parent 9771899d89
commit 331e4028ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331303

View File

@ -56,8 +56,7 @@ Z80_CONFIGURE_OFF= --disable-z80 --disable-z80-port \
--disable-z180-port --disable-gbz80-port \
--disable-r2k-port --disable-r3ka-port
NO_STAGE= yes
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
@ -67,13 +66,13 @@ post-patch:
@${REINPLACE_CMD} '/install:/s/:.*/:/' \
${WRKSRC}/Makefile.in \
${WRKSRC}/support/sdbinutils/libiberty/Makefile.in
.if empty(PORT_OPTIONS:MDOCS)
.if ! ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} 's, [a-z-]*doc,,' \
${WRKSRC}/Makefile.in \
${WRKSRC}/sim/ucsim/packages_in.mk
.endif
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>