freebsd-ports/graphics/gimp-manual-html/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

66 lines
1.6 KiB
Makefile

# New ports collection makefile for: gimp-manual
# Date created: 5 June 1998
# Whom: Brett Taylor
#
# $FreeBSD$
#
PORTNAME= GimpUserManual
PORTVERSION= 2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://kefk.net/Open_Source/FS/GIMP/Download/GUM/ \
http://ftp.nluug.nl/ftp/graphics/gimp/manual/
PKGNAMESUFFIX= -${DOCFORMAT}
MAINTAINER= ports@FreeBSD.org
COMMENT= The user manual for the GNU Image Manipulation Program (GIMP)
.if !defined(DOCFORMAT)
DOCFORMAT=HTML
.else
.if ${DOCFORMAT} != "HTML" && ${DOCFORMAT} != "PDF"
.BEGIN:
@${ECHO_MSG} "ERROR: invalid value for DOCFORMAT: \"${DOCFORMAT}\""
@${ECHO_MSG} "Possible values are: HTML, PDF."
@${FALSE}
.endif
.endif
PLIST= ${PKGDIR}/pkg-plist_${DOCFORMAT}
pre-everything::
@${ECHO_MSG} "This manual is available in two formats: HTML and PDF."
@${ECHO_MSG} "Note that the manual is pretty darn big."
EXTRACT_ONLY= #empty
NO_BUILD= yes
.if ${DOCFORMAT} == "HTML"
DISTFILES= GimpUsersManual_SecondEdition-HTML_Color.tar.gz \
GimpUsersManual_SecondEdition-HTML_Search.tar.gz
do-install:
@${MKDIR} ${PREFIX}/share/doc/gimp
for file in ${DISTFILES} ; do \
cd ${PREFIX}/share/doc/gimp; \
${TAR} -zxf ${DISTDIR}/$${file}; \
${CHOWN} -R root:wheel ${PREFIX}/share/doc/gimp; \
done
.endif
.if ${DOCFORMAT} == "PDF"
DISTFILES= GimpUsersManual_SecondEdition-PDF_Color.pdf \
GimpUsersManual_SecondEdition-PDF.pdf
EXTRACT_ONLY= #empty
NO_BUILD= yes
do-install:
@${MKDIR} ${PREFIX}/share/doc/gimp
for file in ${DISTFILES} ; do \
${INSTALL_DATA} ${DISTDIR}/$${file} ${PREFIX}/share/doc/gimp/ ; \
done
.endif
.include <bsd.port.mk>