aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/wings-devel/Makefile
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2007-03-03 21:27:45 +0800
committerolgeni <olgeni@FreeBSD.org>2007-03-03 21:27:45 +0800
commit122e90825db1f2d6a86bf54cbe4c8c1697dfc174 (patch)
treef7aa42128907d07756e3f239f47b46692e7d38ad /graphics/wings-devel/Makefile
parent61f757784aa9d381faa114e93ffaaa881828633c (diff)
downloadfreebsd-ports-gnome-122e90825db1f2d6a86bf54cbe4c8c1697dfc174.tar.gz
freebsd-ports-gnome-122e90825db1f2d6a86bf54cbe4c8c1697dfc174.tar.zst
freebsd-ports-gnome-122e90825db1f2d6a86bf54cbe4c8c1697dfc174.zip
Upgrade to version 0.98.36.
PR: 109656 Submitted by: Dmitry Marakasov <amdmi3(at)amdmi3.ru>
Diffstat (limited to 'graphics/wings-devel/Makefile')
-rw-r--r--graphics/wings-devel/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/wings-devel/Makefile b/graphics/wings-devel/Makefile
index e66cddbd5d18..5eab85fba5ea 100644
--- a/graphics/wings-devel/Makefile
+++ b/graphics/wings-devel/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= wings
-PORTVERSION= 0.98.26b
-PORTREVISION= 1
+PORTVERSION= 0.98.36
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= wings
@@ -24,6 +23,8 @@ RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
MAKE_ENV= ESDL_PATH=${LOCALBASE}/lib/erlang/lib/esdl
PLIST_SUB= VERSION="${PORTVERSION}"
+SUB_FILES= wings.sh
+
USE_BZIP2= yes
USE_GMAKE= yes
@@ -34,20 +35,21 @@ BROKEN= Does not compile on !i386
.endif
post-patch:
- @${CP} ${FILESDIR}/wings.sh ${WRKSRC}/wings.sh
- @${REINPLACE_CMD} -e 's|!!PREFIX!!|${PREFIX}|g' ${WRKSRC}/wings.sh
- @${FIND} ${WRKSRC} -name *.orig | ${XARGS} ${RM}
+ @${REINPLACE_CMD} -e 's|$$(GCC)|${CC} -I${X11BASE}/include -L${X11BASE}/lib|g' \
+ ${WRKSRC}/plugins_src/accel/Makefile
do-install:
@${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}
@${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}/src
@${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}/ebin
+ @${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}/fonts
@${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}/plugins
@${INSTALL_DATA} ${WRKSRC}/src/* ${PREFIX}/lib/erlang/lib/${DISTNAME}/src
@${INSTALL_DATA} ${WRKSRC}/ebin/* ${PREFIX}/lib/erlang/lib/${DISTNAME}/ebin
+ @${INSTALL_DATA} ${WRKSRC}/fonts/* ${PREFIX}/lib/erlang/lib/${DISTNAME}/fonts
@${CP} -r ${WRKSRC}/plugins/* ${PREFIX}/lib/erlang/lib/${DISTNAME}/plugins
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang/lib/${DISTNAME}/plugins
- @${INSTALL_SCRIPT} ${WRKSRC}/wings.sh ${PREFIX}/bin/wings
+ @${INSTALL_SCRIPT} ${WRKDIR}/wings.sh ${PREFIX}/bin/wings
@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.post.mk>