Add stage support. Fix: Please see the attached patch.
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
Author: pawel Date: Sat Mar 15 16:29:30 2014 New Revision: 348346 URL: http://svnweb.freebsd.org/changeset/ports/348346 QAT: https://qat.redports.org/buildarchive/r348346/ Log: - Add stage support [1] - Use PORTEXAMPLES for example files PR: ports/187598 [1] Submitted by: maintainer Modified: head/devel/arduino-irremote/Makefile Modified: head/devel/arduino-irremote/Makefile ============================================================================== --- head/devel/arduino-irremote/Makefile Sat Mar 15 16:29:16 2014 (r348345) +++ head/devel/arduino-irremote/Makefile Sat Mar 15 16:29:30 2014 (r348346) @@ -25,38 +25,15 @@ PLIST_FILES= arduino/libraries/IRremote/ arduino/libraries/IRremote/IRremoteInt.h \ arduino/libraries/IRremote/keywords.txt PLIST_DIRS= arduino/libraries/IRremote - -NO_STAGE= yes +PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MEXAMPLES} -PLIST_FILES+= ${EXAMPLESDIR_REL}/IRrecord/IRrecord.pde \ - ${EXAMPLESDIR_REL}/IRrecvDemo/IRrecvDemo.pde \ - ${EXAMPLESDIR_REL}/IRrecvDump/IRrecvDump.pde \ - ${EXAMPLESDIR_REL}/IRrelay/IRrelay.pde \ - ${EXAMPLESDIR_REL}/IRsendDemo/IRsendDemo.pde \ - ${EXAMPLESDIR_REL}/IRtest/IRtest.pde -PLIST_DIRS+= ${EXAMPLESDIR_REL}/IRrecord \ - ${EXAMPLESDIR_REL}/IRrecvDemo \ - ${EXAMPLESDIR_REL}/IRrecvDump \ - ${EXAMPLESDIR_REL}/IRrelay \ - ${EXAMPLESDIR_REL}/IRsendDemo \ - ${EXAMPLESDIR_REL}/IRtest \ - ${EXAMPLESDIR_REL} -.endif - do-install: - ${MKDIR} ${PREFIX}/arduino/libraries/IRremote - ${INSTALL_DATA} ${WRKSRC}/IRremote.cpp ${PREFIX}/arduino/libraries/IRremote - ${INSTALL_DATA} ${WRKSRC}/IRremote.h ${PREFIX}/arduino/libraries/IRremote - ${INSTALL_DATA} ${WRKSRC}/IRremoteInt.h ${PREFIX}/arduino/libraries/IRremote - ${INSTALL_DATA} ${WRKSRC}/keywords.txt ${PREFIX}/arduino/libraries/IRremote -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} -.endif + ${MKDIR} ${STAGEDIR}${PREFIX}/arduino/libraries/IRremote + (cd ${WRKSRC} && ${INSTALL_DATA} IRremote.cpp IRremote.h IRremoteInt.h \ + keywords.txt ${STAGEDIR}${PREFIX}/arduino/libraries/IRremote) + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed, with minor changes. Thanks!