summaryrefslogtreecommitdiffstats
path: root/print/ghostscript7/files/Makefile.lips
blob: b7af5b527184086b5b258c6287ea5de18eb9f05a (plain)
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
# $FreeBSD$
# LIPS - additional driver for Canon LIPS II+/III/IVc/IV printers
# http://www.ucatv.ne.jp/~taeko/software/gs/

MASTER_SITES+=	http://www.ucatv.ne.jp/~taeko/software/gs/:lips
DISTFILES+=	gdevlips-2.4.0.tar.gz:lips
EXTRADEVMKFILE+=	${WRKSRC}/gdevlips-2.4.0/gdevlips.mak
PORTDOCS+=	lips

post-extract-lips:
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevlips-2.4.0.tar.gz
	${LN} -s -f ${WRKSRC}/gdevlips-2.4.0 ${WRKSRC}/lips

pre-build-lips:
	${LN} -s -f ${WRKSRC}/lips/gdevlips.[ch]			\
		${WRKSRC}/lips/gdevlprn.[ch] ${WRKSRC}/lips/gdevl4r.c	\
		${WRKSRC}/lips/gdevl4v.c ${WRKSRC}/lips/gdevespg.c	\
		${WRKSRC}/lips/gdevnpdl.c ${WRKSRC}/lips/gdevrpdl.c	\
		${WRKSRC}/src

post-install-docs-lips:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/lips
	${INSTALL_DATA} ${WRKSRC}/gdevlips-2.4.0/Gdevlips.htm	\
		${STAGEDIR}${DOCSDIR}/lips

post-extract: post-extract-lips
pre-build: pre-build-lips
post-install-docs: post-install-docs-lips
OpenPOWER on IntegriCloud