freebsd-ports/graphics/wings-devel/Makefile

48 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: wings
# Date Created: 5 March 2003
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= wings
2010-12-26 23:50:41 +01:00
PORTVERSION= 1.3.1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF
DIST_SUBDIR= erlang
2009-12-15 03:52:15 +01:00
PKGNAMESUFFIX= -devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A polygon mesh modeler written in Erlang
2003-08-07 12:20:33 +02:00
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \
${LOCALBASE}/lib/erlang/lib/esdl/include/sdl.hrl:${PORTSDIR}/devel/esdl
2003-09-01 22:02:20 +02:00
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang \
${LOCALBASE}/lib/erlang/lib/esdl/include/sdl.hrl:${PORTSDIR}/devel/esdl
MAKE_ENV= ESDL_PATH=${LOCALBASE}/lib/erlang/lib/esdl
PLIST_SUB= VERSION="${PORTVERSION}"
MAKE_JOBS_UNSAFE=yes
2004-02-17 22:03:15 +01:00
SUB_FILES= wings.sh
2003-10-17 16:55:06 +02:00
USE_BZIP2= yes
USE_GMAKE= yes
2010-05-25 04:24:11 +02:00
PORTSCOUT= limitw:1,odd
post-patch:
@${REINPLACE_CMD} -e 's|$$(GCC)|${CC} -I${LOCALBASE}/include -L${LOCALBASE}/lib|g' \
${WRKSRC}/plugins_src/accel/Makefile
do-install:
${MKDIR} ${PREFIX}/lib/erlang/lib/${DISTNAME}
.for dir in src ebin fonts plugins textures shaders patches
cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${PREFIX}/lib/erlang/lib/${DISTNAME}
.endfor
@${INSTALL_SCRIPT} ${WRKDIR}/wings.sh ${PREFIX}/bin/wings
@${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/${PORTNAME}
.include <bsd.port.mk>