aboutsummaryrefslogtreecommitdiff
path: root/graphics/evolvotron/Makefile
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2013-10-05 18:02:53 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2013-10-05 18:02:53 +0000
commit9f0d5e802351740446849427d7be874f464257f9 (patch)
tree19682caa3292e962ae9b6ae5ff5546ac761fb5aa /graphics/evolvotron/Makefile
parentfe5c30adac4a06a272a3b6adf4702876b14a8503 (diff)
downloadports-9f0d5e802351740446849427d7be874f464257f9.tar.gz
ports-9f0d5e802351740446849427d7be874f464257f9.zip
Notes
Diffstat (limited to 'graphics/evolvotron/Makefile')
-rw-r--r--graphics/evolvotron/Makefile47
1 files changed, 19 insertions, 28 deletions
diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile
index 72d60ff94307..ff43d416c189 100644
--- a/graphics/evolvotron/Makefile
+++ b/graphics/evolvotron/Makefile
@@ -10,14 +10,12 @@ MASTER_SITES= SF \
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
-MAINTAINER= nemysis@gmx.ch
+MAINTAINER= nemysis@FreeBSD.org
COMMENT= Generative software that evolves images/textures/patterns
LICENSE= GPLv2
-LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
-
-OPTIONS_DEFINE= DOCS
+LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -27,27 +25,19 @@ HAS_CONFIGURE= yes
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
MAKE_JOBS_UNSAFE= yes
-MAN1= evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
-
PORTDOCS= NEWS README TODO USAGE evolvotron.html
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
-DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" \
- "${PREFIX}/share/pixmaps/${PORTNAME}.png" \
+DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "${PORTNAME}" \
"${PORTNAME}" "Graphics;2DGraphics;" true
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MDOCS}
-PLIST_SUB+= PORTDOCS=""
-.else
-PLIST_SUB+= PORTDOCS="@comment "
-.endif
-
.if ${CXX:T:M*clang*} || ${OSVERSION} >= 1000024
.for i in libevolvotron libfunction
CXXFLAGS+= -include ${WRKSRC}/${i}/${i}_precompiled.h \
@@ -58,8 +48,7 @@ QMAKEFLAGS+= CONFIG+=precompile_header
.endif
post-patch:
- @${REINPLACE_CMD} \
- -e 's|/bin/bash|/bin/sh|' \
+ @${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' \
${WRKSRC}/configure ${WRKSRC}/VERSION
@${REINPLACE_CMD} -e \
'/^CONFIG/s|precompile_header|| ; \
@@ -72,24 +61,26 @@ post-configure:
do-install:
.for i in evolvotron evolvotron_mutate evolvotron_render
- ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${PREFIX}/bin/
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin/
.endfor
+
.for lib in libevolvotron libfunction
- ${INSTALL_DATA} ${WRKSRC}/${lib}/${lib}.a ${PREFIX}/lib/
+ ${INSTALL_DATA} ${WRKSRC}/${lib}/${lib}.a ${STAGEDIR}${PREFIX}/lib/
.endfor
-post-install:
.for s in ${ICON_SIZES}
- ${MKDIR} ${PREFIX}/share/icons/hicolor/${s}/apps
+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
- ${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
+ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
- ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png ${PREFIX}/share/pixmaps/
- (cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/)
+ ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
+ ${STAGEDIR}${PREFIX}/share/pixmaps/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
+.for m in evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
+ cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${m} ${STAGEDIR}${MAN1PREFIX}/man/man1/
+.endfor
+
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>