aboutsummaryrefslogblamecommitdiff
path: root/lang/diveintopython/Makefile
blob: a15b7b0619a47cca860af96eee3d1f87f0db2606 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
           

                              
                   
                 
                           
                                                       
                 
                           
 
                                 
                                                                       
 
                    
 
                   

                   








                                                    
 




                                                                           
 
                              
 




                                  

           

                                                                   
 
                      
# Created by: Johann Visagie <johann@egenetics.com>
# $FreeBSD$

PORTNAME=	diveintopython
PORTVERSION=	5.4
PORTREVISION=	1
CATEGORIES=	lang python
MASTER_SITES=	http://www.diveintopython.net/download/
DISTFILES=	#
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Free Python tutorial book that is "not For Dummies(tm)"

LICENSE=	GFDL

USES=		zip
NO_BUILD=	yes

OPTIONS_DEFINE=	HTML HTML_FLAT PDF TEXT WORD
OPTIONS_DEFAULT=HTML PDF TEXT WORD
OPTIONS_SUB=	yes

HTML_DESC=	Dive Into Python in HTML form
HTML_FLAT_DESC=	Dive Into Python in single HTML page
PDF_DESC=	Dive Into Python in PDF form
TEXT_DESC=	Dive Into Python in plain text form
WORD_DESC=	Dive Into Python in MS Word doc form

HTML_DISTFILES=	${PORTNAME}-html-${PORTVERSION}${EXTRACT_SUFX}
HTML_FLAT_DISTFILES=	${PORTNAME}-html-flat-${PORTVERSION}${EXTRACT_SUFX}
PDF_DISTFILES=	${PORTNAME}-pdf-${PORTVERSION}${EXTRACT_SUFX}
TEXT_DISTFILES=	${PORTNAME}-text-${PORTVERSION}${EXTRACT_SUFX}
WORD_DISTFILES=	${PORTNAME}-word-${PORTVERSION}${EXTRACT_SUFX}

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MHTML*}
PLIST_SUB+=	IMAGES=""
.else
PLIST_SUB+=	IMAGES="@comment "
.endif

do-install:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>