mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
44 lines
985 B
Makefile
44 lines
985 B
Makefile
# New ports collection makefile for: libsvg
|
|
# Date created: 2004-10-06
|
|
# Whom: Michael Johnson <ahze@ahze.net>
|
|
#
|
|
# $FreeBSD$
|
|
# $MCom: ports/graphics/libsvg/Makefile,v 1.3 2005/07/04 00:11:29 marcus Exp $
|
|
#
|
|
|
|
PORTNAME= libsvg
|
|
PORTVERSION= 0.1.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://cairographics.org/snapshots/
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
COMMENT= A parser for SVG content in files or buffers
|
|
|
|
LIB_DEPENDS= fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg
|
|
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
USE_GNOME= libxml2 gnomehack gnometarget
|
|
USE_ICONV= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PLIST_FILES= include/svg.h \
|
|
lib/libsvg.a \
|
|
lib/libsvg.la \
|
|
lib/libsvg.so \
|
|
lib/libsvg.so.1 \
|
|
libdata/pkgconfig/libsvg.pc
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} < 500000
|
|
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
|
|
${WRKSRC}/src/svg_ascii.h
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|