aboutsummaryrefslogtreecommitdiff
path: root/print/okc321/Makefile
blob: 38f3ae815f8926a7f595002e9519fc82d6250034 (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
31
32
33
# Created by: Tobias Kortkamp <t@tobik.me>
# $FreeBSD$

PORTNAME=	okc321
PORTVERSION=	1.1
CATEGORIES=	print
MASTER_SITES=	http://www.oki.com/de/printing/download/
DISTNAME=	C531_C331_C321_Linux_110_31034

MAINTAINER=	tobik@FreeBSD.org
COMMENT=	PPDs for the Oki C321dn, C331dn, and C531dn printers

LICENSE=	GPLv2

USES=	zip
NO_BUILD=	yes
NO_ARCH=	yes
WRKSRC=		${WRKDIR}/C531_C331_C321_Linux_110

PLIST_FILES=	share/ppd/${PORTNAME}/Oki/OKC321_a110.ppd.gz \
		share/ppd/${PORTNAME}/Oki/OKC331_a110.ppd.gz \
		share/ppd/${PORTNAME}/Oki/OKC531_a110.ppd.gz \
		share/cups/model/${PORTNAME}

do-install:
	${MKDIR} ${STAGEDIR}${PREFIX}/share/cups/model
	${MKDIR} ${STAGEDIR}${PREFIX}/share/ppd/${PORTNAME}/Oki
	${INSTALL_DATA} ${WRKSRC}/OKC321_a110.ppd.gz ${STAGEDIR}${PREFIX}/share/ppd/${PORTNAME}/Oki
	${INSTALL_DATA} ${WRKSRC}/OKC331_a110.ppd.gz ${STAGEDIR}${PREFIX}/share/ppd/${PORTNAME}/Oki
	${INSTALL_DATA} ${WRKSRC}/OKC531_a110.ppd.gz ${STAGEDIR}${PREFIX}/share/ppd/${PORTNAME}/Oki
	${LN} -sf ${LOCALBASE}/share/ppd/${PORTNAME}/Oki ${STAGEDIR}${PREFIX}/share/cups/model/${PORTNAME}

.include <bsd.port.mk>