1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Add LICENSE

- Add NO_ARCH
- Do not restrict default php version
- Convert to new options target helper
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-11-13 19:13:41 +00:00
parent 26987bbe1e
commit 4f9f32bb9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=401545

View File

@ -3,7 +3,7 @@
PORTNAME= phplot
PORTVERSION= 6.1.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= graphics www
MASTER_SITES= SF \
SF/${PORTNAME}/Manual/20130511:source2
@ -13,12 +13,15 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP class for creating scientific and business charts
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
NO_ARCH= yes
NO_BUILD= yes
USES= zip
USE_PHP= yes
DEFAULT_PHP_VER= 5
NO_BUILD= YES
PHPLOT_DIR= ${STAGEDIR}${PREFIX}/include/php/phplot
@ -32,6 +35,8 @@ FONTS_LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
do-install:
@${MKDIR} ${PHPLOT_DIR}
${INSTALL_DATA} ${LIBRARIES:S,^,${WRKSRC}/,} ${PHPLOT_DIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR}/phplotdocs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})