freebsd-ports/print/epsonepl/Makefile

31 lines
812 B
Makefile

# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$
PORTNAME= epsonepl
PORTVERSION= 0.2.2
PORTREVISION= 4
CATEGORIES= print
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/GS-IJS%20Plugin%20v${PORTVERSION}
DISTNAME= ${PORTNAME}ijs-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Printer filter for EPSON EPL-5700L etc
USE_GHOSTSCRIPT_RUN= yes
LIB_DEPENDS= ijs.1:${PORTSDIR}/print/libijs
MAKEFILE= ${FILESDIR}/Makefile
NO_STAGE= yes
post-extract:
@cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM}
post-install:
@${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample ${PREFIX}/etc
@${MKDIR} ${DATADIR}
@${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${DATADIR}
@${SED} -e 's#%%PREFIX%%#${PREFIX}#' ${PKGMESSAGE}
.include <bsd.port.mk>