Date: Sun, 3 Feb 2013 23:46:51 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311524 - head/games/allacrost Message-ID: <201302032346.r13NkpnR091355@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Feb 3 23:46:51 2013 New Revision: 311524 URL: http://svnweb.freebsd.org/changeset/ports/311524 Log: - Trim header - OptionsNG Modified: head/games/allacrost/Makefile Modified: head/games/allacrost/Makefile ============================================================================== --- head/games/allacrost/Makefile Sun Feb 3 23:39:29 2013 (r311523) +++ head/games/allacrost/Makefile Sun Feb 3 23:46:51 2013 (r311524) @@ -37,11 +37,12 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER PORTDOCS= MANUAL -OPTIONS= EDITOR "Enable editor" off +OPTIONS_DEFINE= EDITOR DOCS +EDITOR_DESC= Enable editor .include <bsd.port.options.mk> -.if defined(WITH_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} QT_NONSTANDARD= yes USE_QT4+= corelib gui opengl moc_build qt3support CONFIGURE_ARGS+=--enable-editor=yes @@ -61,7 +62,7 @@ post-patch: @${REINPLACE_CMD} -e '/qt4_incdirs/ s|".*"|"${QT_INCDIR}"|; \ /qt4_libdirs/ s|".*"|"${QT_LIBDIR}"|; /test/ s|==|=|' \ ${WRKSRC}/configure -.if defined(WITH_EDITOR) +.if ${PORT_OPTIONS:MEDITOR} @${REINPLACE_CMD} -e '/^INCLUDES = / s|=|= -I${QT_INCDIR}/QtGui \ -I${QT_INCDIR}/QtOpenGL -I${QT_INCDIR}/Qt3Support \ -I${QT_INCDIR}/QtCore -I${QT_INCDIR}|' \ @@ -69,7 +70,7 @@ post-patch: .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302032346.r13NkpnR091355>