blob: c89b0092860c097f67fc9dcdd6dd020a8028c4c3 (
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
29
30
31
32
33
34
35
36
37
38
|
# $FreeBSD$
# EPAG - additional driver for Epson ESC/Page printers
# http://www.humblesoft.com/gdevepag.html
MASTER_SITES+= http://www.humblesoft.com/pub/:epag
DISTFILES+= epag-3.09.tar.gz:epag
EXTRADEVMKFILE+= ${FILESDIR}/epag.contrib.mak
PORTDOCS+= epag
EPAG_BASE= epag
EPAG_SRCS= ${EPAG_BASE}-3.09.tar.gz
EPAG_NAME= ${EPAG_SRCS:S,.tar.gz$,,}
post-extract-epag:
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EPAG_SRCS}
${LN} -s -f ${EPAG_NAME} ${WRKSRC}/${EPAG_BASE}
pre-build-epag:
cd ${WRKSRC}/epag-3.09 && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} Makefile
${LN} -s -f ${WRKSRC}/epag-3.09/gdevepag.c ${WRKSRC}/src
post-install-epag:
${INSTALL_PROGRAM} ${WRKSRC}/epag-3.09/ert ${STAGEDIR}${PREFIX}/bin
post-install-docs-epag:
${MKDIR} ${STAGEDIR}${DOCSDIR}/epag
cd ${WRKSRC}/epag-3.09 \
&& ${INSTALL_DATA} ert.txt gdevepag.txt ChangeLog \
${STAGEDIR}${DOCSDIR}/epag
cd ${WRKSRC}/epag-3.09 \
&& ${INSTALL_SCRIPT} psprint gsepagif.sh \
${STAGEDIR}${DOCSDIR}/epag
post-extract: post-extract-epag
pre-build: pre-build-epag
post-install: post-install-epag
post-install-docs: post-install-docs-epag
|