mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
Add a dependency on compat4x if building on 5.X systems or higher.
Reported by: kris Approved by: portmgr (implicit)
This commit is contained in:
parent
5c948683ee
commit
10f266c4f0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118530
@ -53,6 +53,10 @@ post-install:
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 400000
|
||||
IGNORE= "Systems prior to 4.x are not supported"
|
||||
.endif
|
||||
|
@ -64,6 +64,12 @@ P4V_IMGS= p4v_file_add.png p4v_file_add_other.png p4v_file_delete.png \
|
||||
p4v_file_txt.png p4v_file_ws.png p4v_filter.png \
|
||||
p4v_merge_screenshot.png p4v_diff_screenshot.png
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/p4v ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ -79,4 +85,4 @@ do-install:
|
||||
post-install:
|
||||
${SED} -e 's!%%PREFIX%%!${PREFIX}!' ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= blender
|
||||
PORTVERSION= 2.25
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics games
|
||||
MASTER_SITES= http://download.blender.org/release/Publisher${PORTVERSION}/
|
||||
DISTNAME= blender-publisher-${PORTVERSION}-freebsd-4.2-i386
|
||||
@ -20,6 +21,12 @@ NO_BUILD= YES
|
||||
ONLY_FOR_ARCHS= i386
|
||||
USE_MESA= YES
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/blenderplayer ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/blenderpublisher ${PREFIX}/bin
|
||||
@ -39,4 +46,4 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/copyright.txt ${PREFIX}/share/doc/blender
|
||||
${INSTALL_DATA} ${WRKSRC}/playerlicense.txt ${PREFIX}/share/doc/blender
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -15,6 +15,10 @@ DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} >= 440000
|
||||
EXTRACT_SUFX= .freebsd44
|
||||
.else
|
||||
|
@ -23,6 +23,12 @@ NO_WRKSUBDIR= yes
|
||||
USE_XLIB= yes
|
||||
BINS= dptcom dpteng dptscom dptsig raidutil dptmgr
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
|
||||
${FILESDIR}/dptmgr.sh.in > ${WRKDIR}/dptmgr.sh
|
||||
@ -41,4 +47,4 @@ do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/libXm.so.1 ${X11BASE}/lib
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -18,6 +18,12 @@ NO_BUILD= yes
|
||||
|
||||
INSTALL_RWDATA= ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 666
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${PREFIX}/www/cgi-bin/ssserverdata
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/ssserver ${PREFIX}/www/cgi-bin
|
||||
@ -83,4 +89,4 @@ do-install:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user