- Install files into ${PREFIX} instead of ${LOCALBASE}

This commit is contained in:
Wen Heping 2014-05-16 15:59:23 +00:00
parent 608099abc5
commit 05194b74c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354243

View file

@ -180,12 +180,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libmapserver.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib
.if ${PORT_OPTIONS:MMAPSERV}
${MKDIR} ${STAGEDIR}${LOCALBASE}/www/apache${APACHE_VERSION}/cgi-bin/
${MKDIR} ${STAGEDIR}${PREFIX}/www/apache${APACHE_VERSION}/cgi-bin/
${INSTALL_SCRIPT} ${WRKSRC}/mapserv ${STAGEDIR}${PREFIX}/www/apache${APACHE_VERSION}/cgi-bin/mapserv
.endif
.if ${PORT_OPTIONS:MPHP}
@${MKDIR} ${STAGEDIR}${LOCALBASE}/${PHP_EXTENSION_DIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_EXTENSION_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/mapscript/php/php_mapscript.so \
${STAGEDIR}${PREFIX}/${PHP_EXTENSION_DIR}/
.endif