Changeset View
Changeset View
Standalone View
Standalone View
audio/streamripper/Makefile
Show All 32 Lines | PLIST_FILES= bin/streamripper \ | ||||
man/man1/streamripper.1.gz | man/man1/streamripper.1.gz | ||||
CFLAGS+= -DANSI_PROTOTYPES | CFLAGS+= -DANSI_PROTOTYPES | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -Lcdk-${CDK_VERSION} -L${LOCALBASE}/lib | LDFLAGS+= -Lcdk-${CDK_VERSION} -L${LOCALBASE}/lib | ||||
CDK_VERSION= 5.0-20060507 | CDK_VERSION= 5.0-20060507 | ||||
.include <bsd.port.options.mk> | FAAD_CONFIGURE_OFF= ac_cv_lib_faad_NeAACDecDecode2=no | ||||
FAAD_LIB_DEPENDS= libfaad.so:${PORTSDIR}/audio/faad | |||||
.if ! ${PORT_OPTIONS:MFAAD} | VORBIS_CONFIGURE_WITH= ogg | ||||
CONFIGURE_ARGS+=ac_cv_lib_faad_NeAACDecDecode2=no | VORBIS_LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis | ||||
.else | |||||
LIB_DEPENDS+= libfaad.so:${PORTSDIR}/audio/faad | |||||
.endif | |||||
.if ! ${PORT_OPTIONS:MVORBIS} | |||||
CONFIGURE_ARGS+=--without-ogg | |||||
.else | |||||
LIB_DEPENDS+= libvorbis.so:${PORTSDIR}/audio/libvorbis | |||||
.endif | |||||
post-extract: | post-extract: | ||||
${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC} | ${MV} ${WRKDIR}/cdk-${CDK_VERSION} ${WRKSRC} | ||||
post-patch: | post-patch: | ||||
@${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure | @${REINPLACE_CMD} -e '/if test/s|==|=|g' ${WRKSRC}/configure | ||||
pre-configure: | pre-configure: | ||||
Show All 13 Lines |