c8f8bcdfe0
some fpc ports. - Added PORTREVISION for each port - Fixed pkg-plist on fpc-gtk2 and fpc-gtk ports - Fixed the gtk, glib and gdk libraries linking for fpc-gtk - Removed obsolete patches from fpc-gtk. Now it's using ${REINPLACE_CMD} - Removed post-extract from fpc-fcl. I just added it to makefiles.units file Approved by: garga (mentor)
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# New ports collection makefile for: fpc-gtk
|
|
# Date created: 2006-06-05
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTREVISION= 2
|
|
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}/*
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|gtk12|gtk-12|g' ${WRKDIR}/${WRKUNITDIR}/gtk/gtk.pp
|
|
@${REINPLACE_CMD} -e 's|glib12|glib-12|g' ${WRKDIR}/${WRKUNITDIR}/glib/glib.pp
|
|
@${REINPLACE_CMD} -e 's|gdk12|gdk-12|g' ${WRKDIR}/${WRKUNITDIR}/gdk/gdk.pp
|
|
|
|
.include "${MASTERDIR}/Makefile"
|