mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
6f32add9a7
FreeBSD. The official GNOME 2.22 release notes can be found at http://library.gnome.org/misc/release-notes/2.22/ . On the FreeBSD front, this release features an updated hal port with support for video4linux devices, DRM (Direct Rendering), and better support of removable media. Work is also underway to tie webkit more closely into GNOME. As part of the GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well. Be sure to consult UPDATING on the proper steps to upgrade all of your GNOME ports. This release would not have been possible without the contributions and testing efforts of the following people: Pawel Worach kan edwin Peter Ulrich Kruppa J. W. Ballantine Yasuda Keisuke Andriy Gapon
92 lines
2.6 KiB
Makefile
92 lines
2.6 KiB
Makefile
# New ports collection makefile for: vips
|
|
# Date created: 19 December 2003
|
|
# Whom: Lev Serebryakov <lev@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= vips
|
|
PORTVERSION= 7.12.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.vips.ecs.soton.ac.uk/vips-${PORTVERSION:R}/
|
|
|
|
MAINTAINER= mi@aldan.algebra.com
|
|
COMMENT= Free image processing system
|
|
|
|
OPTIONS= MAGICK "Use ImageMagick for more image-types" ${IMPRESENT}
|
|
OPTIONS+= LIBOIL "Use liboil for CPU-optimized primitives" on
|
|
# Making Python a proper option awaits portmgr's resolving the current
|
|
# chicken-and-egg problem of OPTIONS vs. USE_* knobs
|
|
#OPTIONS+= PYTHON "Create Python bindings" ${PYPRESENT}
|
|
|
|
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
|
|
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
|
|
jpeg:${PORTSDIR}/graphics/jpeg \
|
|
tiff:${PORTSDIR}/graphics/tiff \
|
|
IlmImf:${PORTSDIR}/graphics/OpenEXR \
|
|
png:${PORTSDIR}/graphics/png \
|
|
lcms:${PORTSDIR}/graphics/lcms
|
|
|
|
IMPRESENT!= which mogrify > /dev/null && echo on || echo off
|
|
PYPRESENT!= which python > /dev/null && echo on || echo off
|
|
USE_GMAKE= yes
|
|
USE_GETTEXT= yes
|
|
USE_PERL5_BUILD= yes
|
|
USE_GNOME= gnomehack glib20 pkgconfig pango libxml2
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
ALL_TARGET= -j`${SYSCTL} -n hw.ncpu`
|
|
.if defined(NOPORTDOCS)
|
|
# Don't extract doc/ subdirectory - the simplest way:
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xpf - --exclude doc
|
|
post-install:
|
|
${RMDIR} ${DOCSDIR}
|
|
.else
|
|
# Don't extract html-ized man-pages in either case:
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xpf - --exclude doc/html/man
|
|
.endif
|
|
PLIST_SUB+= VERSION=${PORTVERSION:R}
|
|
|
|
CONFIGURE_ARGS= --without-x --mandir=${PREFIX}/man
|
|
|
|
# This is used to generate the list of man-pages and MLINKS. It
|
|
# looks through the available man-pages and filters out those,
|
|
# which consist of ``.so another/page''. Instead of installing
|
|
# these stubs, we handle them as MLINKS.
|
|
# Only use this target, if upgrading the port.
|
|
.PHONY: Makefile.man
|
|
Makefile.man:
|
|
@${ECHO_MSG} "# This file is auto-generated" > $@
|
|
${FIND} ${WRKSRC} -name '*.[13]' | ${XARGS} ${AWK} ' \
|
|
/\.so/ { \
|
|
page=substr($$2, 6, 100); \
|
|
sub(".*/", "", FILENAME); \
|
|
print "MLINKS+=\t" page "\t" FILENAME; \
|
|
nextfile; \
|
|
} { \
|
|
sub(".*/", "", FILENAME); \
|
|
ext = FILENAME; \
|
|
sub(".*\\.", "", ext); \
|
|
print "MAN" ext "+=\t" FILENAME; \
|
|
nextfile; \
|
|
}' >> $@
|
|
|
|
.include "Makefile.man"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_MAGICK)
|
|
LIB_DEPENDS+= Magick:${PORTSDIR}/graphics/ImageMagick
|
|
.else
|
|
CONFIGURE_ARGS+= --without-magick
|
|
.endif
|
|
|
|
.if defined(WITH_LIBOIL)
|
|
LIB_DEPENDS+= oil:${PORTSDIR}/devel/liboil
|
|
.else
|
|
CONFIGURE_ARGS+= --without-liboil
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|