2004-10-27 11:02:53 +02:00
|
|
|
# New ports collection makefile for: giram
|
|
|
|
# Date created: 17 June 1999
|
|
|
|
# Whom: Brandon Fosdick <bfoz@glue.umd.edu>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= giram
|
|
|
|
PORTVERSION= 0.3.5
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 17
|
2004-10-27 11:02:53 +02:00
|
|
|
CATEGORIES= graphics
|
2011-06-21 00:32:33 +02:00
|
|
|
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
|
2004-10-27 11:02:53 +02:00
|
|
|
|
2009-08-19 14:56:28 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-10-27 11:02:53 +02:00
|
|
|
COMMENT= A POV-Ray oriented modeller
|
|
|
|
|
2007-09-07 09:33:39 +02:00
|
|
|
LIB_DEPENDS= 3ds-1.3:${PORTSDIR}/graphics/lib3ds
|
2011-06-21 00:32:33 +02:00
|
|
|
BUILD_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta
|
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2004-10-27 11:02:53 +02:00
|
|
|
|
2007-06-07 14:52:20 +02:00
|
|
|
USE_GETTEXT= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_PERL5_BUILD=yes
|
2004-10-27 11:02:53 +02:00
|
|
|
USE_GNOME= gtk20
|
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= INTLTOOL_PERL="${PERL}"
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2004-10-27 11:02:53 +02:00
|
|
|
CONFIGURE_ARGS= --datadir="${PREFIX}/lib" \
|
|
|
|
--with-tutorial-path="${DOCSDIR}" \
|
|
|
|
--with-lib3ds-prefix="${LOCALBASE}"
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2004-10-27 11:02:53 +02:00
|
|
|
|
2007-06-13 13:38:35 +02:00
|
|
|
MAN1= giram.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '36s,static ,,' ${WRKSRC}/src/tools/tool_disc.c
|
2007-10-25 01:37:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
|
|
|
|
${WRKSRC}/configure
|
2007-06-13 13:38:35 +02:00
|
|
|
|
2004-10-27 11:02:53 +02:00
|
|
|
post-install:
|
2009-08-19 14:56:28 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2004-10-27 11:02:53 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/samples/*.pov ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2011-06-21 00:32:33 +02:00
|
|
|
.include <bsd.port.mk>
|