aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-imaging-handbook/Makefile
blob: ec7ce80b95a00e716d84f97c385ab6027d637290 (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
# New ports collection makefile for:    PIL handbook
# Date created:     18th October 1999
# Whom:         Jose Marques
#
# $FreeBSD$
#

PORTNAME=   imaging-handbook
PORTVERSION=    1.1.4
CATEGORIES= graphics
MASTER_SITES=   http://www.pythonware.com/library/pil/handbook/ \
        http://www.pythonware.com/images/ \
        http://www.pythonware.com/
PKGNAMEPREFIX=  py-
DISTFILES=  blank.gif blurb-works-1.2.gif concepts.htm \
        concept1.gif decoder.htm formats.htm \
        icon-works.gif image.htm imagechops.htm \
        imagecolor.htm imagecrackcode.htm imagedraw.htm \
        imageenhance.htm imagefile.htm imagefileio.htm imagefilter.htm \
        imagefont.htm imagegrab.htm imagemath.htm imageops.htm \
        imagepath.htm imagepalette.htm \
        imagesequence.htm imagestat.htm imagetk.htm \
        imagewin.htm index.htm introduction.htm license.htm \
        mailto-light.gif overview.htm \
        pilconvert.htm pildriver.htm pilfile.htm \
        pilfont.htm pilprint.htm preface.htm psdraw.htm pythonware.css \
        remote-light.gif support.htm tutorial.htm

MAINTAINER= ports@FreeBSD.org
COMMENT=    The Python Imaging Library Handbook

DIST_SUBDIR=    pil
EXTRACT_ONLY=

do-build:
.for file in ${DISTFILES}
    ${SED} 's|\.\./\.\./\.\./pythonware\.css|pythonware.css|g ; \
        s|\.\./\.\./\.\./images/||g' \
        ${DISTDIR}/${DIST_SUBDIR}/${file} > ${WRKDIR}/${file}
.endfor

do-install:
    @${MKDIR} ${PREFIX}/share/doc/PIL/handbook
    @cd ${WRKDIR} && ${INSTALL_DATA} ${DISTFILES} \
        ${PREFIX}/share/doc/PIL/handbook

.include <bsd.port.mk>