aboutsummaryrefslogtreecommitdiffstats
path: root/print/epsonepl/Makefile
blob: 3b368dc71627ca6c778143778b16860802e6f826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Printer filter for EPSON EPL-5700L etc

LIB_DEPENDS=    libijs.so:${PORTSDIR}/print/libijs

USES=       ghostscript:run uidfix tar:tgz

MAKEFILE=   ${FILESDIR}/Makefile
SUB_FILES=  pkg-message

post-extract:
    @cd ${WRKSRC} && ${LS} ijs* | ${GREP} -v ${PORTNAME} | ${XARGS} ${RM}

post-install:
    ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.conf.sample \
        ${STAGEDIR}${PREFIX}/etc
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.apsfilter ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>