blob: 2c74476df76c75c2c9ddd55866e7d071d85d00c8 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# New ports collection makefile for: foo2zjs
# Date created: 2006-03-17
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= foo2zjs
PORTVERSION= 20070120
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= http://foo2zjs.rkkda.com/ \
${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
DISTNAME= ${PORTNAME}
MAINTAINER= acm@FreeBSD.org
COMMENT= Driver for printers that use the ZjStream wire protocol
LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base
RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db \
foomatic-rip:${PORTSDIR}/print/foomatic-filters \
espgs:${PORTSDIR}/print/cups-pstoraster
USE_GHOSTSCRIPT= yes
USE_GMAKE= yes
SUB_FILES= pkg-message
MAN1= foo2hp.1 foo2oak-wrapper.1 foo2zjs-wrapper.1 oakdecode.1 foo2hp2600-wrapper.1 foo2oak.1 foo2zjs.1 zjsdecode.1
EXTRAFILES= msexpand getweb
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile
post-install:
@cd ${WRKSRC} && \
${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/ && \
${INSTALL_SCRIPT} ${EXTRAFILES} ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for FILE in ChangeLog README manual.pdf
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|