freebsd-ports/x11-toolkits/wxd/Makefile
Rong-En Fan 28606cc8dc - Update to 0.10
- Switch to wx 2.8
- Use BROKEN instead of NOT_FOR_ARCHS for failed compliation
- Remove check for 4.x

PR:		ports/114393
Submitted by:	Jona Joachim <jaj at hcl-club.lu> (maintainer)
2007-07-14 06:36:53 +00:00

45 lines
1 KiB
Makefile

# New ports collection makefile for: wxd
# Date created: 29 August 2006
# Whom: Jona Joachim <walkingshadow@grummel.net>
#
# $FreeBSD$
#
PORTNAME= wxd
PORTVERSION= 0.10
CATEGORIES= x11-toolkits devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= jaj@hcl-club.lu
COMMENT= wxWidgets bindings for the D programming language
BUILD_DEPENDS= gdc:${PORTSDIR}/lang/gdc
USE_GMAKE= yes
USE_LDCONFIG= yes
USE_WX= 2.8
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS= UNICODE "Build the Unicode version" On
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= does not compile
.endif
.if !defined(WITHOUT_UNICODE)
WX_UNICODE= yes
.endif
pre-patch:
@${RM} ${WRKSRC}/Makefile
@${MV} ${WRKSRC}/GNUmakefile ${WRKSRC}/Makefile
@${RM} ${WRKSRC}/wxc/Makefile
@${MV} ${WRKSRC}/wxc/GNUmakefile ${WRKSRC}/wxc/Makefile
@${RM} ${WRKSRC}/wx/Makefile
@${MV} ${WRKSRC}/wx/GNUmakefile ${WRKSRC}/wx/Makefile
.include <bsd.port.post.mk>