# Created by: CHOI Junho # $FreeBSD: head/print/magicfilter/Makefile 412348 2016-04-01 14:17:44Z mat $ PORTNAME= magicfilter PORTVERSION= 2.3.h PORTREVISION= 8 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+= ${BUILD_DEPENDS} .endif .include