summaryrefslogtreecommitdiff
path: root/print/ghostscript7-base/files/Makefile.alps
blob: e30c5e7939120262bdaca01737b7bb3f7caca754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$
# ALPS - additional driver for Alps MD-5000

DISTFILES+=	gdevalps-0.21.tar.gz:ports_jp_gs
EXTRADEVMKFILE+=	${WRKSRC}/alps/gdevalps.mak-5.50
PORTDOCS+=	alps

post-extract-alps:
	${TAR} -C ${WRKSRC} -xzf ${DISTDIR}/${DIST_SUBDIR}/gdevalps-0.21.tar.gz
	${LN} -s -f gdevalps-0.2 ${WRKSRC}/alps

pre-build-alps:
	${LN} -s -f ${WRKSRC}/alps/gdevalps.c ${WRKSRC}/src

post-install-docs-alps:
	${MKDIR} ${STAGEDIR}${DOCSDIR}/alps
	${INSTALL_DATA} ${WRKSRC}/alps/README.gdevalps \
	    ${STAGEDIR}${DOCSDIR}/alps

post-extract: post-extract-alps
pre-build: pre-build-alps
post-install-docs: post-install-docs-alps