Date: Tue, 10 May 2016 21:30:42 +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: r414965 - head/textproc/ansifilter Message-ID: <201605102130.u4ALUgrj078819@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue May 10 21:30:42 2016 New Revision: 414965 URL: https://svnweb.freebsd.org/changeset/ports/414965 Log: - Clarify LICENSE - Add LICENSE_FILE - Switch to options helpers Modified: head/textproc/ansifilter/Makefile Modified: head/textproc/ansifilter/Makefile ============================================================================== --- head/textproc/ansifilter/Makefile Tue May 10 21:29:04 2016 (r414964) +++ head/textproc/ansifilter/Makefile Tue May 10 21:30:42 2016 (r414965) @@ -9,7 +9,8 @@ MASTER_SITES= http://www.andre-simon.de/ MAINTAINER= ports@FreeBSD.org COMMENT= Customizable ANSI Code Converter -LICENSE= GPLv3 +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING WRKSRC= ${WRKDIR}/${PORTNAME} @@ -25,14 +26,14 @@ QT4_USES= qmake:norecursive QT4_USE= QT4=gui,moc_build QT4_ALL_TARGET= all all-gui QT4_PLIST_FILES= bin/${PORTNAME}-gui +QT4_DESKTOP_ENTRIES= "ANSIFilter" "" "" "${PORTNAME}-gui" \ + "TextTools;Utility;Qt;" "" .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MQT4} CONFIGURE_WRKSRC= ${WRKSRC}/src/qt-gui QMAKE_SOURCE_PATH= ${CONFIGURE_WRKSRC}/${PORTNAME}-gui.pro -DESKTOP_ENTRIES= "ANSIFilter" "" "" "${PORTNAME}-gui" \ - "TextTools;Utility;Qt;" "" .endif post-patch: @@ -49,16 +50,18 @@ pre-build: @${RM} -f ${WRKSRC}/src/qt-gui/moc_*.cpp do-install: -.if ${PORT_OPTIONS:MQT4} - (cd ${WRKSRC}/src/qt-gui && ${INSTALL_PROGRAM} ${PORTNAME}-gui \ - ${STAGEDIR}${PREFIX}/bin) -.endif - (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${PORTNAME} \ - ${STAGEDIR}${PREFIX}/bin) - (cd ${WRKSRC}/man && ${INSTALL_MAN} ${PORTNAME}.1.gz \ - ${STAGEDIR}${MANPREFIX}/man/man1) + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/${PORTNAME}.1.gz \ + ${STAGEDIR}${MANPREFIX}/man/man1 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} \ ${STAGEDIR}${DOCSDIR}) +do-install-QT4-on: + ${INSTALL_PROGRAM} ${WRKSRC}/src/qt-gui/${PORTNAME}-gui \ + ${STAGEDIR}${PREFIX}/bin + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605102130.u4ALUgrj078819>