aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gnomecanvas/Makefile
blob: 55208d20fd3ac2bcb3516995d39a0fd1de388e0f (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
PORTREVISION=   1
CATEGORIES= graphics gnome

COMMENT=    A graphics library for GNOME

MASTERDIR=  ${.CURDIR}/../gdk-pixbuf
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

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"