Changeset View
Changeset View
Standalone View
Standalone View
head/databases/grass7/Makefile
# Created by: Mikael URANKAR and Loïc BARTOLETTI | # Created by: Mikael URANKAR and Loïc BARTOLETTI | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= grass | PORTNAME= grass | ||||
PORTVERSION= 7.6.1 | PORTVERSION= 7.6.1 | ||||
PORTREVISION= 10 | PORTREVISION= 11 | ||||
CATEGORIES= databases geography | CATEGORIES= databases geography | ||||
MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ | MASTER_SITES= https://grass.osgeo.org/%SUBDIR%/ \ | ||||
http://grass.cict.fr/%SUBDIR%/ \ | http://grass.cict.fr/%SUBDIR%/ \ | ||||
http://grass.fbk.eu/%SUBDIR%/ \ | http://grass.fbk.eu/%SUBDIR%/ \ | ||||
http://grass.gis-lab.info/%SUBDIR%/ \ | http://grass.gis-lab.info/%SUBDIR%/ \ | ||||
http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ | http://grass.meteo.uni.wroc.pl/%SUBDIR%/ \ | ||||
http://grass.polytechnic.edu.na/%SUBDIR%/ \ | http://grass.polytechnic.edu.na/%SUBDIR%/ \ | ||||
http://grass.unibuc.ro/%SUBDIR%/ \ | http://grass.unibuc.ro/%SUBDIR%/ \ | ||||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
#ATLAS_USES= blaslapack:atlas | #ATLAS_USES= blaslapack:atlas | ||||
#NETLIB_USES= blaslapack | #NETLIB_USES= blaslapack | ||||
#GOTOBLAS_USES= blaslapack:gotoblas | #GOTOBLAS_USES= blaslapack:gotoblas | ||||
#OPENBLAS_USES= blaslapack:openblas | #OPENBLAS_USES= blaslapack:openblas | ||||
LAS_DESC= Enable LiDAR modules | LAS_DESC= Enable LiDAR modules | ||||
PDAL_DESC= Enable points cloud data modules | PDAL_DESC= Enable points cloud data modules | ||||
DB_DESC= Database support | DB_DESC= Database support | ||||
NLS_CONFIGURE_WITH= nls | NLS_CONFIGURE_WITH= nls | ||||
NLS_USES= gettext | NLS_USES= gettext | ||||
LAS_CONFIGURE_ON= --with-liblas=yes | LAS_CONFIGURE_ON= --with-liblas=yes | ||||
LAS_LIB_DEPENDS= liblas.so:devel/liblas \ | LAS_LIB_DEPENDS= liblas.so:devel/liblas \ | ||||
libboost_program_options.so:devel/boost-libs \ | libboost_program_options.so:devel/boost-libs \ | ||||
libboost_thread.so:devel/boost-libs \ | libboost_thread.so:devel/boost-libs \ | ||||
libgeotiff.so:graphics/libgeotiff | libgeotiff.so:graphics/libgeotiff | ||||
MYSQL_USES= mysql | MYSQL_USES= mysql | ||||
MYSQL_CONFIGURE_ON= --with-mysql \ | MYSQL_CONFIGURE_ON= --with-mysql \ | ||||
--with-mysql-includes=${LOCALBASE}/include/mysql \ | --with-mysql-includes=${LOCALBASE}/include/mysql \ | ||||
▲ Show 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | .for file in i_atcorr_B02_atcorr.png \ | ||||
${TOUCH} ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html/${file} | ${TOUCH} ${STAGEDIR}${LOCALBASE}/${PORTNAME}${VER}/docs/html/${file} | ||||
.endfor | .endfor | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/bin/* | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/driver/db/* | ||||
.for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram | .for i in clean_temp current_time_s_ms echo i.find lock run r.watershed/seg r.watershed/ram | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/${i} | ||||
.endfor | .endfor | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/lister/* | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/etc/lister/* | ||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/lib/libgrass_*.so | |||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/tools/g.echo | ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${GRASS_INST_DIR}/tools/g.echo | ||||
${LN} -sf ${PORTNAME}${VER} \ | ${LN} -sf ${PORTNAME}${VER} \ | ||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} | ${STAGEDIR}${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX} | ||||
${LN} -s ${PORTNAME}${VER} \ | |||||
${STAGEDIR}${PREFIX}/${PORTNAME}-${PORTVERSION} | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> |