summaryrefslogtreecommitdiff
path: root/graphics/gnomecanvas/Makefile
blob: e114baf6cebc3169cb7c285a1714ee04fca1ca27 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# New ports collection makefile for:	gnomecanvas
# Date created:				18 May 2001
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	gnomecanvas
CATEGORIES=	graphics gnome

MASTERDIR=	${.CURDIR}/../gdk-pixbuf

COMMENT=	A graphics library for GNOME
DESCR=		${.CURDIR}/pkg-descr
PLIST=		${.CURDIR}/pkg-plist

USE_GNOMENG=	yes
USE_GNOME=	gdkpixbuf gnomelibs

BUILD_CANVAS=	yes

NAME=	gnomecanvaspixbuf

do-install:
	${INSTALL_DATA} ${WRKSRC}/${NAME}Conf.sh ${PREFIX}/etc
	cd ${WRKSRC}/gdk-pixbuf/.libs && \
		${MKDIR} ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
		${INSTALL_DATA} ../gnome-canvas-pixbuf.h ${PREFIX}/include/gdk-pixbuf-1.0/gdk-pixbuf && \
		${INSTALL_DATA} lib${NAME}.a ${PREFIX}/lib && \
		${INSTALL_PROGRAM} lib${NAME}.so.1 ${PREFIX}/lib && \
		${LN} -sf lib${NAME}.so.1 ${PREFIX}/lib/lib${NAME}.so

.include "${MASTERDIR}/Makefile"