mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
98058b8684
Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9610
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# 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>
|