aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fpc-gtk/Makefile
blob: f159156adeaf5cc493637f2c7907121b069bf4f9 (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
# New ports collection makefile for:    fpc-gtk
# Date created:     2006-06-05
# Whom:         Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#

CATEGORIES= x11-toolkits lang
PKGNAMESUFFIX=  -gtk

MAINTAINER= acm@FreeBSD.org
COMMENT=    Free Pascal interface to the GTK libraries

BUILD_DEPENDS=  ppc386:${PORTSDIR}/lang/fpc \
        fpcmake:${PORTSDIR}/lang/fpc-utils \
        ${UNITSDIR}/gtk2/Package.fpc:${PORTSDIR}/x11-toolkits/fpc-gtk2 \
        ${UNITSDIR}/x11/Package.fpc:${PORTSDIR}/x11/fpc-x11 \
        ${UNITSDIR}/opengl/Package.fpc:${PORTSDIR}/graphics/fpc-opengl

USE_GNOME=  gtk12

UNITSDIR=   ${LOCALBASE}/lib/fpc/${PORTVERSION}/units/${BUILDNAME}
MASTERDIR=  ${.CURDIR}/../../lang/fpc
WRKUNITDIR= ${PORTNAME}/packages/extra/${PKGNAMESUFFIX:S/-//}
EXTRACTUNITDIR+=    ${WRKUNITDIR}
HAVE_EXAMPLES=  true
OPT=-CX -Fu${WRKDIR}/${WRKUNITDIR}/*

.include "${MASTERDIR}/Makefile"