aboutsummaryrefslogblamecommitdiff
path: root/print/magicfilter/Makefile
blob: 026e8ea15222fd9386b9d12a94e6c0f453813bb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                          
 
                           
                     
                 
                     
                                                                     
 
                                 
                                                                 
 
                           
 
                   
                                    

                                                 


                                                                   

                                        
                                                          
                                                          

      
                      
# Created by: CHOI Junho <cjh@FreeBSD.org>

PORTNAME=	magicfilter
PORTVERSION=	2.3.h
PORTREVISION=	9
CATEGORIES=	print
MASTER_SITES=	http://www.pell.portland.or.us/~orc/Code/magicfilter/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Customizable, extensible automatic printer filter

USES=		ghostscript

HAS_CONFIGURE=	yes
CONFIGURE_SCRIPT=	configure.sh
CONFIGURE_ARGS+=	--prefix=${PREFIX} \
			--confdir=${PREFIX}/etc \
			--filterdir=${PREFIX}/libexec/magicfilter \
			--use-fifo
CONFIGURE_ENV+=		LOCALBASE=${LOCALBASE}

.if exists(${LOCALBASE}/lib/libmagic.so)
BUILD_DEPENDS+=	${LOCALBASE}/lib/libmagic.so:sysutils/file
RUN_DEPENDS+=	${LOCALBASE}/lib/libmagic.so:sysutils/file
.endif

.include <bsd.port.mk>