1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-06 06:30:19 +00:00
freebsd-ports/print/ghostscript7/files/Makefile.epag
Hiroki Sato 858a1b4cd9 Major overhaul of Makefile:
- Use OPTIONS for driver selection.
- Split driver-specific procedure into files/Makefile.*
- Use configure script and Makefile.in.
- Fix installation directory of document files.
2008-06-20 18:07:50 +00:00

34 lines
957 B
Makefile

# $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
post-extract-epag:
${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/epag-3.09.tar.gz
pre-build-epag:
cd ${WRKSRC}/epag-3.09 && \
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} Makefile
${LN} -s -f ${WRKSRC}/epag-3.09/gdevepag.c ${WRKSRC}/src
post-install-epag:
${INSTALL_PROGRAM} ${WRKSRC}/epag-3.09/ert ${PREFIX}/bin
post-install-docs-epag:
${MKDIR} ${DOCSDIR}/epag
cd ${WRKSRC}/epag-3.09 \
&& ${INSTALL_DATA} ert.txt gdevepag.txt ChangeLog \
${DOCSDIR}/epag
cd ${WRKSRC}/epag-3.09 \
&& ${INSTALL_SCRIPT} psprint gsepagif.sh \
${DOCSDIR}/epag
post-extract: post-extract-epag
pre-build: pre-build-epag
post-install: post-install-epag
post-install-docs: post-install-docs-epag