mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
- Stage support
This commit is contained in:
parent
ae1cee08f3
commit
c2790fabeb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344761
@ -16,8 +16,7 @@ USE_BZIP2= yes
|
||||
|
||||
.if !defined(REFERENCE_PORT)
|
||||
|
||||
USE_GMAKE= yes
|
||||
USES= gettext pathfix pkgconfig
|
||||
USES= gettext pathfix pkgconfig gmake
|
||||
USE_LDCONFIG= yes
|
||||
USE_AUTOTOOLS= libtool
|
||||
USE_GNOME= libidl ltverhack referencehack
|
||||
@ -26,7 +25,6 @@ CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc \
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${WRKSRC}/src/orb/orb-core/orbit-typelib.c
|
||||
@ -34,12 +32,12 @@ post-patch:
|
||||
${WRKSRC}/configure ${WRKSRC}/linc2/src/Makefile.in
|
||||
|
||||
post-install:
|
||||
@${ECHO_CMD} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbit2rc.default
|
||||
@${ECHO_CMD} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbit2rc.default
|
||||
@if [ ! -f ${PREFIX}/etc/orbit2rc ]; then \
|
||||
${CP} -p ${PREFIX}/etc/orbit2rc.default ${PREFIX}/etc/orbit2rc ; \
|
||||
@${ECHO_CMD} "ORBIIOPIPv4=0" > ${STAGEDIR}${PREFIX}/etc/orbit2rc.default
|
||||
@${ECHO_CMD} "ORBIIOPIPv6=0" >> ${STAGEDIR}${PREFIX}/etc/orbit2rc.default
|
||||
@if [ ! -f ${STAGEDIR}${PREFIX}/etc/orbit2rc ]; then \
|
||||
${CP} -p ${STAGEDIR}${PREFIX}/etc/orbit2rc.default ${STAGEDIR}${PREFIX}/etc/orbit2rc ; \
|
||||
fi
|
||||
@${MKDIR} ${PREFIX}/lib/orbit-2.0/idl-backends
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/orbit-2.0/idl-backends
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user