freebsd-ports/x11-toolkits/gtoolkit/Makefile
Dirk Meyer 78917e617a - Use libobjc.so
- Cleanup
- Use bsd.gnustep.mk
PR:		50479
2003-04-13 07:38:27 +00:00

45 lines
1.1 KiB
Makefile

# New ports collection makefile for: gtoolkit
# Date created: 13 Jan 2002
# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
#
# $FreeBSD$
#
PORTNAME= gtoolkit
PORTVERSION= 0.9.5
PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ftp://ftp.inf.uos.de/pub/elmar/gtk/objc-gtoolkit/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Obj-C wrapper for gtk, a x11 graphics library
PREFIX= ${LOCALBASE}/GNUstep
NO_MTREE= yes
USE_GMAKE= yes
USE_GNOMENG= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
MAKE_ARGS+= GNUSTEP_SYSTEM_ROOT=${PREFIX}/System
CONFIGURE_ARGS+= --with-gnustep
INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/GToolKit
CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
post-patch:
@${MV} ${CONFIGURE_WRKSRC}/configure ${CONFIGURE_WRKSRC}/configure.sed
${SED} -e 's#gtk-config#gtk12-config#g' \
${CONFIGURE_WRKSRC}/configure.sed \
> ${CONFIGURE_WRKSRC}/configure
${CHMOD} +x ${CONFIGURE_WRKSRC}/configure
.include <bsd.port.pre.mk>
USE_GNUSTEP_BASE= yes
USE_GNUSTEP_CONFIGURE= yes
USE_GNUSTEP_BUILD= yes
USE_GNUSTEP_INSTALL= yes
.include "${PORTSDIR}/devel/gnustep/bsd.gnustep.mk"
.include <bsd.port.post.mk>