aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-04-28 01:54:56 +0800
committerpawel <pawel@FreeBSD.org>2014-04-28 01:54:56 +0800
commitb7d918a240b7764ddaa0aec2b618f43f07b635b0 (patch)
tree97b67332f35585bcb6280681fe1adbfb4033ca1d /graphics
parent8a0bf66546870e0ece3385136eae53e5bf8f2357 (diff)
downloadfreebsd-ports-gnome-b7d918a240b7764ddaa0aec2b618f43f07b635b0.tar.gz
freebsd-ports-gnome-b7d918a240b7764ddaa0aec2b618f43f07b635b0.tar.zst
freebsd-ports-gnome-b7d918a240b7764ddaa0aec2b618f43f07b635b0.zip
- Add staging support
- Remove leading article from COMMENT - Convert to new LIB_DEPENDS format, options framework
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