Changeset View
Changeset View
Standalone View
Standalone View
audio/gbsplay/Makefile
Show All 23 Lines | |||||
MANPAGE1= gbsplay.1 gbsinfo.1 | MANPAGE1= gbsplay.1 gbsinfo.1 | ||||
MANPAGE5= gbsplayrc.5 | MANPAGE5= gbsplayrc.5 | ||||
PORTDOCS= COPYRIGHT HISTORY README | PORTDOCS= COPYRIGHT HISTORY README | ||||
OPTIONS_DEFINE= NAS DOCS | OPTIONS_DEFINE= NAS DOCS | ||||
.endif | .endif | ||||
.include <bsd.port.options.mk> | |||||
.if ${PKGNAMEPREFIX} == "" | .if ${PKGNAMEPREFIX} == "" | ||||
.if ${PORT_OPTIONS:MNAS} | NAS_LIB_DEPENDS= libaudio.so:${PORTSDIR}/audio/nas | ||||
LIB_DEPENDS+= libaudio.so:${PORTSDIR}/audio/nas | NAS_CONFIGURE_ENABLE= nas | ||||
.else | |||||
CONFIGURE_ARGS+= --disable-nas | |||||
.endif | |||||
.endif | .endif | ||||
post-patch: gbsplay-post-patch | post-patch: gbsplay-post-patch | ||||
@${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE} | @${REINPLACE_CMD} -e 's|^\(default.*\)test|\1|' ${WRKSRC}/${MAKEFILE} | ||||
@${REINPLACE_CMD} -e \ | @${REINPLACE_CMD} -e \ | ||||
'/^need_include\ /d; \ | '/^need_include\ /d; \ | ||||
468s|char argc|int argc|; \ | 468s|char argc|int argc|; \ | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |