1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/print/okc321/Makefile
2021-04-19 10:00:09 +02:00

31 lines
1.0 KiB
Makefile

PORTNAME= okc321
PORTVERSION= 1.1
CATEGORIES= print
MASTER_SITES= https://www.oki.com/printing/download/
DISTNAME= C531_C331_C321_Linux_110_31034
MAINTAINER= ports@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>