Changeset View
Changeset View
Standalone View
Standalone View
head/astro/gpsman/Makefile
| Show All 15 Lines | |||||
| WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} | ||||
| GPSMANDIR= ${PREFIX}/lib/${PORTNAME} | GPSMANDIR= ${PREFIX}/lib/${PORTNAME} | ||||
| PLIST_SUB+= GPSMANDIR=${GPSMANDIR:S/${PREFIX}\///} | PLIST_SUB+= GPSMANDIR=${GPSMANDIR:S/${PREFIX}\///} | ||||
| NO_BUILD= yes | NO_BUILD= yes | ||||
| PORTDOCS= * | PORTDOCS= * | ||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| .if ${OSVERSION} < 800045 | |||||
| GPSMAN_DEFAULT_PORT?= /dev/cuad0 | |||||
| .else | |||||
| GPSMAN_DEFAULT_PORT?= /dev/cuau0 | GPSMAN_DEFAULT_PORT?= /dev/cuau0 | ||||
| .endif | |||||
| .if ${PORT_OPTIONS:MDOCS} | .if ${PORT_OPTIONS:MDOCS} | ||||
| SUB_FILES= pkg-message | SUB_FILES= pkg-message | ||||
| .endif | .endif | ||||
| post-patch: | post-patch: | ||||
| @${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \ | @${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" \ | ||||
| ${WRKSRC}/util/exerciser.tcl \ | ${WRKSRC}/util/exerciser.tcl \ | ||||
| Show All 24 Lines | |||||