aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-04-27 17:54:56 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-04-27 17:54:56 +0000
commit7df358633a094c6e8b2bc69da5dfa3393697551b (patch)
tree97b67332f35585bcb6280681fe1adbfb4033ca1d /graphics
parenta9ea18d8bddd26d9215065fe524ce32964ffd2c4 (diff)
downloadports-7df358633a094c6e8b2bc69da5dfa3393697551b.tar.gz
ports-7df358633a094c6e8b2bc69da5dfa3393697551b.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/giram/Makefile13
-rw-r--r--graphics/giram/pkg-plist1
2 files changed, 6 insertions, 8 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile
index 2cfb67732a65..a0f7d9b4d9a1 100644
--- a/graphics/giram/Makefile
+++ b/graphics/giram/Makefile
@@ -8,9 +8,9 @@ CATEGORIES= graphics
MASTER_SITES= http://freebsd.nsu.ru/distfiles/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A POV-Ray oriented modeller
+COMMENT= POV-Ray oriented modeller
-LIB_DEPENDS= 3ds-1.3:${PORTSDIR}/graphics/lib3ds
+LIB_DEPENDS= lib3ds-1.so:${PORTSDIR}/graphics/lib3ds
BUILD_DEPENDS= povray:${PORTSDIR}/graphics/povray-meta
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -25,18 +25,15 @@ CONFIGURE_ARGS= --datadir="${PREFIX}/lib" \
--with-lib3ds-prefix="${LOCALBASE}"
CPPFLAGS+= -I${LOCALBASE}/include
-MAN1= giram.1
+OPTIONS_DEFINE= EXAMPLES
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e '36s,static ,,' ${WRKSRC}/src/tools/tool_disc.c
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
post-install:
-.if !defined(NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/samples/*.pov ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/samples/*.pov ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/graphics/giram/pkg-plist b/graphics/giram/pkg-plist
index f1605a0bbe33..4567051f6c86 100644
--- a/graphics/giram/pkg-plist
+++ b/graphics/giram/pkg-plist
@@ -37,6 +37,7 @@ lib/giram/0.3/user_install
libexec/giram/plug-ins/Box
libexec/giram/plug-ins/Rotate
libexec/giram/plug-ins/Spheres
+man/man1/giram.1.gz
%%DOCSDIR%%/Tutorial
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Cone.pov
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Disc.pov