On Sun, Aug 10, 2008 at 10:06:39AM -0500, Chris Bennett wrote: > Wanting to learn about porting, I am following: How to Create an OpenBSD > Port and Package from > http://undeadly.org/cgi?action=article&sid=20080318060000 >
> > Ran into problem with: > # Install myscripts under /usr/local/. > do-install: > ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin/ > ${INSTALL_DATA_DIR} ${PREFIX}/share/myscripts/ > ${INSTALL_DATA} ${WRKSRC}/share/myscripts/* ${PREFIX}/share/myscripts/ > > When I run make makesum, I get: > $ sudo make makesum > "Makefile", line 179: Need an operator > "Makefile", line 180: Need an operator > "Makefile", line 181: Need an operator > Fatal errors encountered -- cannot continue > > referring to the three lines above. You need to use tabs instead of spaces to indent commands used in your Makefile rules. do-install: <tab here>${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${PREFIX}/bin/ <tab here>${INSTALL_DATA_DIR} ${PREFIX}/share/myscripts/ <tab here>${INSTALL_DATA} ${WRKSRC}/share/myscripts/* ${PREFIX}/share/myscripts/ In addition to the guide at undeadly, I recommend you read this: http://www.openbsd.org/porting.html Good luck, Stefan