Changeset View
Changeset View
Standalone View
Standalone View
head/multimedia/zoneminder/Makefile
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | PORTDOCS= AUTHORS \ | ||||
TODO | TODO | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH}=="i386" | .if ${ARCH}=="i386" | ||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-scripts_ZoneMinder_lib_ZoneMinder_Memory.pm.in | EXTRA_PATCHES+= ${FILESDIR}/extra-patch-scripts_ZoneMinder_lib_ZoneMinder_Memory.pm.in | ||||
.endif | .endif | ||||
.if ${OSVERSION} < 900000 | |||||
BROKEN= does not compile on 7.X and 8.X | |||||
.endif | |||||
post-configure: | post-configure: | ||||
post-patch: | post-patch: | ||||
${REINPLACE_CMD} -e 's,/bin:/usr/bin,/bin:/usr/bin:${LOCALBASE}/bin,g' ${WRKSRC}/scripts/*.pl.in | ${REINPLACE_CMD} -e 's,/bin:/usr/bin,/bin:/usr/bin:${LOCALBASE}/bin,g' ${WRKSRC}/scripts/*.pl.in | ||||
${REINPLACE_CMD} -e 's,sudo,${LOCALBASE}/bin/sudo,g' ${WRKSRC}/scripts/zmpkg.pl.in | ${REINPLACE_CMD} -e 's,sudo,${LOCALBASE}/bin/sudo,g' ${WRKSRC}/scripts/zmpkg.pl.in | ||||
${REINPLACE_CMD} \ | ${REINPLACE_CMD} \ | ||||
-e 's," == "," = ",g' \ | -e 's," == "," = ",g' \ | ||||
-e 's,lavcodec,lavcodec0,g' \ | -e 's,lavcodec,lavcodec0,g' \ | ||||
Show All 30 Lines |