PORTNAME= magicfilter DISTVERSIONPREFIX= v DISTVERSION= 2.3.i PORTREVISION= 2 CATEGORIES= print MAINTAINER= bofh@FreeBSD.org COMMENT= Customizable, extensible automatic printer filter WWW= https://www.pell.portland.or.us/~orc/Code/magicfilter/ LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${LOCALBASE}/lib/libmagic.so:sysutils/file RUN_DEPENDS= ${LOCALBASE}/lib/libmagic.so:sysutils/file USES= ghostscript USE_GITHUB= yes GH_ACCOUNT= Orc HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.sh CONFIGURE_ARGS+= --prefix=${PREFIX} \ --confdir=${PREFIX}/etc \ --filterdir=${PREFIX}/libexec/magicfilter \ --use-fifo \ --mandir=${PREFIX}/share/man CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=int-conversion .endif .include