2013-04-29 08:57:12 +00:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2006-05-07 11:38:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= foo2zjs
|
2014-04-25 20:23:28 +00:00
|
|
|
PORTVERSION= 20140417
|
2006-05-07 11:38:51 +00:00
|
|
|
CATEGORIES= print
|
2009-06-16 22:06:10 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
2013-12-26 19:33:59 +00:00
|
|
|
${MASTER_SITE_LOCAL:S,$,bsam/${PORTNAME}/,} \
|
|
|
|
ftp://ftp.wart.ru/pub/FreeBSD/ports/distfiles/
|
2006-05-07 11:38:51 +00:00
|
|
|
|
2014-02-16 21:17:15 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-05-07 11:38:51 +00:00
|
|
|
COMMENT= Driver for printers that use the ZjStream wire protocol
|
|
|
|
|
2014-02-19 08:04:28 +00:00
|
|
|
LIB_DEPENDS= libcups.so:${PORTSDIR}/print/cups-client
|
2006-05-07 11:38:51 +00:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db \
|
2014-04-25 11:49:42 +00:00
|
|
|
foomatic-rip:${PORTSDIR}/print/foomatic-filters \
|
|
|
|
gsed:${PORTSDIR}/textproc/gsed
|
2006-05-07 11:38:51 +00:00
|
|
|
|
2009-06-16 22:06:10 +00:00
|
|
|
PROJECTHOST= bsdistfiles
|
|
|
|
USE_GHOSTSCRIPT=yes
|
2013-12-26 19:33:59 +00:00
|
|
|
USES= gmake shebangfix
|
|
|
|
SHEBANG_FILES= msexpand
|
2014-04-01 19:43:27 +00:00
|
|
|
SUB_FILES= pkg-message ${DEVDCONF_FILE}
|
2006-06-05 13:01:46 +00:00
|
|
|
EXTRAFILES= msexpand getweb
|
2014-04-01 19:43:27 +00:00
|
|
|
DEVDCONF_FILE= ${PORTNAME}.conf
|
2009-06-16 22:06:10 +00:00
|
|
|
|
2014-04-25 14:22:53 +00:00
|
|
|
MAKE_JOBS_UNSAFE= YES
|
|
|
|
|
2013-12-26 19:33:59 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2006-05-07 11:38:51 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
|
|
|
|
|
|
|
|
post-install:
|
2014-04-01 19:43:27 +00:00
|
|
|
cd ${WRKSRC} && \
|
2013-12-26 19:33:59 +00:00
|
|
|
${INSTALL_SCRIPT} ${EXTRAFILES} ${STAGEDIR}${PREFIX}/bin
|
2014-04-01 19:43:27 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}/etc/devd
|
|
|
|
cd ${WRKDIR} && \
|
|
|
|
${INSTALL_SCRIPT} ${DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd
|
2013-12-26 19:33:59 +00:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-04-01 09:46:05 +00:00
|
|
|
.for FILE in ChangeLog INSTALL README manual.pdf
|
2013-12-26 19:33:59 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
|
2006-05-07 11:38:51 +00:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|