1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add staging support

- Remove leading article from COMMENT
- Convert to new LIB_DEPENDS format, options framework
This commit is contained in:
Pawel Pekala 2014-04-27 17:54:56 +00:00
parent a9ea18d8bd
commit 7df358633a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352443
2 changed files with 6 additions and 8 deletions

View File

@ -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>

View File

@ -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