summaryrefslogblamecommitdiff
path: root/graphics/jpgraph2/Makefile
blob: a69b1b92070ae2640790086ec62227ea82928a29 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                            
                     
                        
                                                 



                                                                         
                   
                   
                   




                                                                       
                 
                 
                 


                        



                                                    
           
                            
                                            
                                            
                                              

                            


                                                 




                                                     
# Ports collection makefile for:	jpgraph2
# Date created:			7 Dec 2006
# Whom:				Alex Dupre <ale@FreeBSD.org:
#
# $FreeBSD$
#

PORTNAME=	jpgraph
PORTVERSION=	3.0.7
CATEGORIES=	graphics
MASTER_SITES=	http://hem.bredband.net/jpgraph2/

MAINTAINER=	ale@FreeBSD.org
COMMENT=	Draw both "quick and dirty" graphs with a minimum of code

USE_BZIP2=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
USE_PHP=	gd
IGNORE_WITH_PHP=4

NO_CDROM=	The free version cannot be used in a commercial context

PORTDATA=	*
PORTDOCS=	*
PORTEXAMPLES=	*

LATEST_LINK=	jpgraph2

.if defined(NOPORTDATA)
IGNORE=		requires port data, unset NOPORTDATA
.endif

do-install:
	@${MKDIR} ${DATADIR}
	${CP} ${WRKSRC}/src/*.php ${DATADIR}
	${CP} ${WRKSRC}/src/*.dat ${DATADIR}
	${CP} -R ${WRKSRC}/src/lang ${DATADIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/docportal/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>