svn commit: r352443 - head/graphics/giram

Pawel Pekala pawel at FreeBSD.org
Sun Apr 27 17:54:57 UTC 2014


Author: pawel
Date: Sun Apr 27 17:54:56 2014
New Revision: 352443
URL: http://svnweb.freebsd.org/changeset/ports/352443
QAT: https://qat.redports.org/buildarchive/r352443/

Log:
  - Add staging support
  - Remove leading article from COMMENT
  - Convert to new LIB_DEPENDS format, options framework

Modified:
  head/graphics/giram/Makefile
  head/graphics/giram/pkg-plist

Modified: head/graphics/giram/Makefile
==============================================================================
--- head/graphics/giram/Makefile	Sun Apr 27 17:52:34 2014	(r352442)
+++ head/graphics/giram/Makefile	Sun Apr 27 17:54:56 2014	(r352443)
@@ -8,9 +8,9 @@ CATEGORIES=	graphics
 MASTER_SITES=	http://freebsd.nsu.ru/distfiles/
 
 MAINTAINER=	ports at 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>

Modified: head/graphics/giram/pkg-plist
==============================================================================
--- head/graphics/giram/pkg-plist	Sun Apr 27 17:52:34 2014	(r352442)
+++ head/graphics/giram/pkg-plist	Sun Apr 27 17:54:56 2014	(r352443)
@@ -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


More information about the svn-ports-head mailing list