1998-06-10 13:57:13 +00:00
|
|
|
# New ports collection makefile for: gimp-manual-1.0.0
|
|
|
|
# Version required: 1.0.0
|
|
|
|
# Date created: 5 June 1998
|
|
|
|
# Whom: Brett Taylor
|
|
|
|
#
|
1999-08-25 06:16:32 +00:00
|
|
|
# $FreeBSD$
|
1998-06-10 13:57:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= GimpUserManual-1.0.0
|
1998-06-16 11:29:43 +00:00
|
|
|
PKGNAME= GimpUserManual-${DOCFORMAT}-1.0.0
|
1998-06-10 13:57:13 +00:00
|
|
|
CATEGORIES= graphics
|
1999-04-09 17:19:21 +00:00
|
|
|
MASTER_SITES= ftp://manual.gimp.org/pub/manual/ \
|
1999-09-24 04:32:50 +00:00
|
|
|
ftp://peloton.runet.edu/pub/distfiles/
|
1998-06-10 13:57:13 +00:00
|
|
|
|
1999-09-09 03:03:19 +00:00
|
|
|
MAINTAINER= brett@peloton.runet.edu
|
1998-06-10 13:57:13 +00:00
|
|
|
|
|
|
|
.if !defined(DOCFORMAT)
|
|
|
|
DOCFORMAT=HTML
|
|
|
|
.else
|
|
|
|
.if ${DOCFORMAT} != "HTML" && ${DOCFORMAT} != "PDF" && ${DOCFORMAT} != "PS"
|
1998-11-20 04:15:15 +00:00
|
|
|
.BEGIN:
|
|
|
|
@${ECHO} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\""
|
|
|
|
@${ECHO} "Possible values are: HTML, PDF, PS."
|
|
|
|
@${FALSE}
|
1998-06-10 13:57:13 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
1998-10-30 11:21:54 +00:00
|
|
|
PLIST= ${PKGDIR}/PLIST_${DOCFORMAT}
|
|
|
|
|
1998-06-10 13:57:13 +00:00
|
|
|
pre-fetch:
|
|
|
|
@${ECHO} "This manual is available in three formats: HTML, PDF, and"
|
1998-10-30 11:21:54 +00:00
|
|
|
@${ECHO} "PS (PostScript). Note that the manual is pretty darn big."
|
1998-06-10 13:57:13 +00:00
|
|
|
@${ECHO} "The gzip'ed PS version is 44 MB (unpacks to 173 MB),"
|
|
|
|
@${ECHO} "the PDF version is 14 MB and the HTML tar-bzip'ed"
|
|
|
|
@${ECHO} "version is 16 MB (unpacks to 18.7 MB)."
|
|
|
|
|
|
|
|
.if ${DOCFORMAT} == "HTML"
|
|
|
|
EXTRACT_SUFX= -html.tar.bz2
|
1998-12-07 19:26:02 +00:00
|
|
|
WRKSRC= ${WRKDIR}/GimpUserManaul_v1.0.0
|
1998-06-10 13:57:13 +00:00
|
|
|
|
1999-02-03 11:12:01 +00:00
|
|
|
USE_BZIP2= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-06-10 13:57:13 +00:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gimp
|
|
|
|
@${CP} ${WRKSRC}/* ${PREFIX}/share/doc/gimp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${DOCFORMAT} == "PDF"
|
|
|
|
DISTFILES= GimpUserManual-1.0.0-pdf
|
|
|
|
|
1998-06-16 11:29:43 +00:00
|
|
|
EXTRACT_ONLY= #empty
|
1998-06-10 13:57:13 +00:00
|
|
|
NO_BUILD= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-06-10 13:57:13 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gimp
|
|
|
|
@${CP} ${DISTDIR}/GimpUserManual-1.0.0-pdf ${PREFIX}/share/doc/gimp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${DOCFORMAT} == "PS"
|
|
|
|
DISTNAME= GimpUserManual-1.0.0-ps
|
|
|
|
EXTRACT_SUFX= .gz
|
|
|
|
EXTRACT_CMD= ${GZIP_CMD}
|
|
|
|
EXTRACT_BEFORE_ARGS= -cd
|
|
|
|
EXTRACT_AFTER_ARGS= > ${DISTNAME}
|
|
|
|
|
1999-04-09 17:19:21 +00:00
|
|
|
NO_CDROM= "too big"
|
|
|
|
|
1998-06-10 13:57:13 +00:00
|
|
|
NO_BUILD= yes
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-06-10 13:57:13 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/gimp
|
|
|
|
@${CP} ${WRKDIR}/GimpUserManual-1.0.0-ps ${PREFIX}/share/doc/gimp
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|