aboutsummaryrefslogblamecommitdiff
path: root/graphics/urt/Makefile
blob: f8fb0cf34dfa62693e55dfbedc186bb6772d1153 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                       
           
 

                     
                  
                        
                                                                         
 
                                       
                                                               
 




                                              
 
                            
 
                             
 
                   
 
                        
                   

                          
                        
                                           
                      
                   
 
             


                                                        

                                                                        

                         

                                                                                

                      
# Created by: cfs@ing.puc.cl (original)
# $FreeBSD$

PORTNAME=	urt
PORTVERSION=	3.1b1
PORTREVISION=	11
CATEGORIES=	graphics
MASTER_SITES=	http://BSDforge.com/projects/source/graphics/utah-raster/

MAINTAINER=	portmaster@bsdforge.com
COMMENT=	Toolkit and library for raster image processing

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/copyright

LIB_DEPENDS=	libnetpbm.so:graphics/netpbm \
		libtiff.so:graphics/tiff

USES=		gmake tar:xz

OPTIONS_DEFINE=	DOCS EXAMPLES

NO_WRKSUBDIR=	yes

USE_XORG=	x11 xext
HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=Configure
CONFIGURE_ARGS=	config/urt
MAKEFILE=	makefile
MAKE_ARGS=	PREFIX=${STAGEDIR}${PREFIX}
ALL_TARGET=	# none
USE_LDCONFIG=	yes

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

post-install-EXAMPLES-on:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img
	@(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img)

.include <bsd.port.mk>