mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
e32eeb8bc9
comms/spandsp-devel - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library - Fix typo deskutils/kupfer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change install, cosmetical changes deskutils/rubrica - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Strip libraries - Change REINPLACE and install, cosmetical changes graphics/Hermes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use tar:bzip2 instead of USE_BZIP2=yes - Don't silence warnings - Remove TODO and TODO.conversion from DOCS - Strip library graphics/aoi - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/autoq3d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/box - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/boxer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/cbrpager - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbview - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/cbviewer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/eos-movrec - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Change pkg-plist, remove mtree graphics/evolvotron - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters graphics/fracplanet - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS - Change Desktop entry file - Break lines around 80 characters graphics/gnofract4d - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/icon-slicer - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS - Remove TODO from DOCS graphics/lcdtest - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Simplify dependency for x11-fonts/liberation-fonts-ttf graphics/multican - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS graphics/photopc - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes graphics/pngcheck - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pngwriter - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ graphics/pstoedit - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip libraries graphics/skencil - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Strip libraries misc/boxes - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes - Mute RM and MKDIR misc/explosions - Bump PORTREVISION for MAINTAINER change - Remove FTP master site - Reset maintainer to ports@ misc/wmweather+ - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Use the new format for LIB_DEPENDS multimedia/dvdauthor - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Remove TODO from DOCS multimedia/dvdid - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Strip library multimedia/freetuxtv - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ multimedia/gtk-youtube-viewer - Change Makefile header, use my name and @FreeBSD.org email - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Break lines around 80 characters net/wlan2eth - Bump PORTREVISION for MAINTAINER change - Reset maintainer to ports@ - Cosmetical changes
99 lines
2.6 KiB
Makefile
99 lines
2.6 KiB
Makefile
# Created by: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fracplanet
|
|
PORTVERSION= 0.4.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF \
|
|
SF/nemysisfreebsdp/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}_icons.tar.gz:icons
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Interactive tool for creating random fractal planets and terrain
|
|
|
|
LICENSE= GPLv2
|
|
|
|
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
|
|
LIB_DEPENDS= libboost_program_options.so:${PORTSDIR}/devel/boost-libs
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USES= gmake
|
|
USE_GL= glu
|
|
USE_QT4= corelib moc_build qmake_build gui opengl
|
|
QT_NONSTANDARD= yes
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
|
|
CONFIGURE_ARGS= -spec ${QMAKESPEC}
|
|
|
|
PORTDOCS= *
|
|
|
|
DOCSRCDIR1= ${WRKSRC}
|
|
DOC_FILES1= BUGS NEWS README THANKS ${PORTNAME}.css ${PORTNAME}.htm
|
|
|
|
INSTALLS_ICONS= yes
|
|
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96
|
|
|
|
DESKTOP_ENTRIES="Fracplanet" "" "${PORTNAME}" \
|
|
"${PORTNAME}" "Graphics;" ""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
OPTIONS_GROUP= DOXYGEN
|
|
OPTIONS_GROUP_DOXYGEN= HTML LATEX
|
|
|
|
OPTIONS_DEFAULT= HTML
|
|
|
|
HTML_DESC= Install HTML Doxygen files
|
|
LATEX_DESC= Install LaTeX Doxygen files
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
|
|
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
|
.endif
|
|
|
|
post-patch:
|
|
.for f in BUILD VERSION configure
|
|
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
|
|
${WRKSRC}/${f}
|
|
.endfor
|
|
@${REINPLACE_CMD} -e 's|qmake-qt4|${QMAKE} ${QMAKE_ARGS}|' \
|
|
${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e \
|
|
's|-lboost_program_options|-lboost_program_options -lGLU|' \
|
|
${WRKSRC}/fracplanet.pro
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1/
|
|
|
|
.for s in ${ICON_SIZES}
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
|
|
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
|
|
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
|
|
.endfor
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MHTML} || ${PORT_OPTIONS:MLATEX}
|
|
@cd ${WRKSRC} && doxygen .
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MHTML}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MLATEX}
|
|
@(cd ${WRKSRC} && ${COPYTREE_SHARE} latex ${STAGEDIR}${DOCSDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|