mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Support staging
- Relax gcc requirement to `any' - Use new LIB_DEPENDS syntax - Convert USE_GMAKE to USES
This commit is contained in:
parent
bd18590ca4
commit
e5beb68903
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328214
5 changed files with 13 additions and 2464 deletions
|
@ -12,24 +12,19 @@ COMMENT= Morphing engine for MakeHuman
|
||||||
LICENSE= LGPL21
|
LICENSE= LGPL21
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_GMAKE= yes
|
USES= pkgconfig gmake
|
||||||
USES= pkgconfig
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_GCC= yes # otherwise graphics/makehuman won't link
|
USE_GCC= any # otherwise graphics/makehuman won't link
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^libanimorphdocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^libanimorphdocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
|
||||||
.if ! ${PORT_OPTIONS:MDOCS}
|
|
||||||
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libanimorphdocDATA||' ${WRKSRC}/Makefile.in
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -40,12 +40,4 @@ lib/libanimorph.la
|
||||||
lib/libanimorph.so
|
lib/libanimorph.so
|
||||||
lib/libanimorph.so.0
|
lib/libanimorph.so.0
|
||||||
libdata/pkgconfig/animorph.pc
|
libdata/pkgconfig/animorph.pc
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/COPYING
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/NEWS
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/README
|
|
||||||
@comment %%PORTDOCS%%%%DOCSDIR%%/TODO
|
|
||||||
@comment %%PORTDOCS%%@dirrm %%DOCSDIR%%
|
|
||||||
@dirrm include/animorph
|
@dirrm include/animorph
|
||||||
|
|
|
@ -10,20 +10,21 @@ MASTER_SITES= SF/${PORTNAME}/MakeHuman%20Source/MakeHuman_091
|
||||||
MAINTAINER= amdmi3@FreeBSD.org
|
MAINTAINER= amdmi3@FreeBSD.org
|
||||||
COMMENT= Application for parametrical modeling of 3D humanoid characters
|
COMMENT= Application for parametrical modeling of 3D humanoid characters
|
||||||
|
|
||||||
LIB_DEPENDS= animorph:${PORTSDIR}/graphics/animorph \
|
LIB_DEPENDS= libanimorph.so:${PORTSDIR}/graphics/animorph \
|
||||||
mhgui:${PORTSDIR}/graphics/mhgui
|
libmhgui.so:${PORTSDIR}/graphics/mhgui
|
||||||
|
|
||||||
USES= gmake pkgconfig
|
USES= gmake pkgconfig
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_GL= glut
|
USE_GL= glut
|
||||||
USE_GCC= yes # Animation.cpp:94:26: error: variable length array of non-POD element type 'Animorph::BodySettings'
|
USE_GCC= any # Animation.cpp:94:26: error: variable length array of non-POD element type 'Animorph::BodySettings'
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
|
PLIST_FILES= bin/${PORTNAME}
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
PORTDATA= *
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
@ -33,12 +34,9 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^makehuman_pixmapsdir =/ s|pixmaps/makehuman|makehuman/pixmaps|' ${WRKSRC}/pixmaps/Makefile.in
|
@${REINPLACE_CMD} -e '/^makehuman_pixmapsdir =/ s|pixmaps/makehuman|makehuman/pixmaps|' ${WRKSRC}/pixmaps/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/^packagepixmapsdir=/ s|pixmaps/\$${PACKAGE}|$${PACKAGE}/pixmaps|' ${WRKSRC}/configure
|
@${REINPLACE_CMD} -e '/^packagepixmapsdir=/ s|pixmaps/\$${PACKAGE}|$${PACKAGE}/pixmaps|' ${WRKSRC}/configure
|
||||||
@${REINPLACE_CMD} -e '/^makehumandocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^makehumandocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
||||||
.if ! ${PORT_OPTIONS:MDOCS}
|
|
||||||
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-makehumandocDATA||' ${WRKSRC}/Makefile.in
|
|
||||||
.endif
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${FIND} ${DATADIR} -type d -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0755
|
${FIND} ${STAGEDIR}${DATADIR} -type d -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0755
|
||||||
${FIND} ${DATADIR} -type f -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0644
|
${FIND} ${STAGEDIR}${DATADIR} -type f -print0 | ${XARGS} -0 -n 10 ${CHMOD} 0644
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -12,30 +12,25 @@ COMMENT= GUI widget library for MakeHuman
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
LIB_DEPENDS= animorph:${PORTSDIR}/graphics/animorph \
|
LIB_DEPENDS= libanimorph.so:${PORTSDIR}/graphics/animorph \
|
||||||
png15:${PORTSDIR}/graphics/png
|
libpng15.so:${PORTSDIR}/graphics/png
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USE_GMAKE= yes
|
USES= pkgconfig gmake
|
||||||
USES= pkgconfig
|
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
USE_XORG= xi xmu ice sm
|
USE_XORG= xi xmu ice sm
|
||||||
USE_GL= glut
|
USE_GL= glut
|
||||||
USE_GCC= yes # otherwise graphics/makehuman won't link
|
USE_GCC= any # otherwise graphics/makehuman won't link
|
||||||
|
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}/lib
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
PORTDOCS= *
|
PORTDOCS= *
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.options.mk>
|
.include <bsd.port.options.mk>
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^libmhguidocdir =/ s|doc/|share/doc/|' ${WRKSRC}/Makefile.in
|
||||||
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
|
@${REINPLACE_CMD} -e '/^pkgconfigdir =/ s|\$$(libdir)|\$$(exec_prefix)/libdata|' ${WRKSRC}/Makefile.in
|
||||||
.if ! ${PORT_OPTIONS:MDOCS}
|
|
||||||
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-libmhguidocDATA||' ${WRKSRC}/Makefile.in
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue