Changeset View
Changeset View
Standalone View
Standalone View
head/databases/postgis21/Makefile
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
RASTER_CONFIGURE_WITH= raster | RASTER_CONFIGURE_WITH= raster | ||||
RASTER_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal | RASTER_LIB_DEPENDS= libgdal.so:${PORTSDIR}/graphics/gdal | ||||
RASTER_CONFIGURE_ON= --with-gdalconfig=${LOCALBASE}/bin/gdal-config | RASTER_CONFIGURE_ON= --with-gdalconfig=${LOCALBASE}/bin/gdal-config | ||||
TOPOLOGY_CONFIGURE_WITH= topology | TOPOLOGY_CONFIGURE_WITH= topology | ||||
SFCGAL_LIB_DEPENDS= libSFCGAL.so:${PORTSDIR}/databases/sfcgal | SFCGAL_LIB_DEPENDS= libSFCGAL.so:${PORTSDIR}/databases/sfcgal | ||||
SFCGAL_CONFIGURE_ON= --with-sfcgal=${LOCALBASE}/bin/sfcgal-config | SFCGAL_CONFIGURE_ON= --with-sfcgal=${LOCALBASE}/bin/sfcgal-config | ||||
SFCGAL_CONFIGURE_OFF= --without-sfcgal | SFCGAL_CONFIGURE_OFF= --without-sfcgal | ||||
.include <bsd.port.options.mk> | |||||
.if ${PORT_OPTIONS:MRASTER} | |||||
.if ${OSVERSION} < 900033 | |||||
BROKEN= Raster suppport is broken on FreeBSD < 9.x | |||||
.endif | |||||
.endif | |||||
CFLAGS+= -I${LOCALBASE}/include | CFLAGS+= -I${LOCALBASE}/include | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
post-patch: | post-patch: | ||||
@${GREP} -lR 'bin/bash' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e "s|/bin/bash|/bin/sh|" | @${GREP} -lR 'bin/bash' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e "s|/bin/bash|/bin/sh|" | ||||
pre-configure: | pre-configure: | ||||
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL | @${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL | ||||
Show All 12 Lines |