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








                                               
                      
                        
                                                
 
                               
                                                                         

                   
                  
                 
                 
 
                                                                       
 
                 
                 




                                                    
 

                            
                                            
                                            
                                              
                        
                            
                                            

                            
                                
                                                     

      
                      
# ex:ts=8
# Ports collection makefile for:	jpgraph
# Date created:			Oct 20, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

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

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

NO_BUILD=	yes
USE_PHP=	gd
DEFAULT_PHP_VER=4
IGNORE_WITH_PHP=5

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

PORTDATA=	*
PORTDOCS=	*
PORTEXAMPLES=	*

.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}/docs/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
	@${MKDIR} ${EXAMPLESDIR}
	${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>