2012-12-19 00:09:07 +01:00
|
|
|
# Created by: joerg
|
2008-05-31 06:21:34 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= xcpc
|
|
|
|
PORTVERSION= 20070122
|
2014-07-24 00:33:59 +02:00
|
|
|
PORTREVISION= 10
|
2008-05-31 06:21:34 +02:00
|
|
|
CATEGORIES= emulators
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2008-05-31 06:21:34 +02:00
|
|
|
|
|
|
|
MAINTAINER= pixel@hugbox.org
|
2013-07-10 08:55:28 +02:00
|
|
|
COMMENT= Portable Amstrad 464&/664/6128 emulator
|
2008-05-31 06:21:34 +02:00
|
|
|
|
|
|
|
HAS_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2008-05-31 06:21:34 +02:00
|
|
|
CONFIGURE_ARGS+=--prefix=${PREFIX}
|
|
|
|
|
|
|
|
USE_XORG= ice
|
2013-04-27 10:50:46 +02:00
|
|
|
USE_GNOME= glib20
|
|
|
|
USES= gettext iconv pkgconfig
|
2008-05-31 06:21:34 +02:00
|
|
|
|
2014-02-07 12:44:08 +01:00
|
|
|
LIB_DEPENDS+= libicui18n.so:${PORTSDIR}/devel/icu \
|
|
|
|
libpcre.so:${PORTSDIR}/devel/pcre \
|
|
|
|
libdsk.so:${PORTSDIR}/emulators/libdsk
|
2008-05-31 06:21:34 +02:00
|
|
|
|
2013-04-28 23:20:28 +02:00
|
|
|
OPTIONS_DEFINE= MOTIF ATHENA XSHM DEBUG
|
|
|
|
OPTIONS_DEFAULT= MOTIF XSHM
|
|
|
|
MOTIF_DESC= With Motif widget set
|
|
|
|
ATHENA_DESC= With Athen widget set
|
|
|
|
XSHM_DESC= With XShm support
|
2008-05-31 06:21:34 +02:00
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
.include <bsd.port.options.mk>
|
2008-05-31 06:21:34 +02:00
|
|
|
|
2013-04-28 23:20:28 +02:00
|
|
|
.if ${PORT_OPTIONS:MDEBUG}
|
2008-05-31 06:21:34 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-debug
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-debug
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 23:20:28 +02:00
|
|
|
.if ${PORT_OPTIONS:MXSHM}
|
2008-05-31 06:21:34 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-xshm
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-xshm
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 23:20:28 +02:00
|
|
|
.if ${PORT_OPTIONS:MMOTIF}
|
2013-07-10 08:55:28 +02:00
|
|
|
USES+= motif
|
2008-05-31 06:21:34 +02:00
|
|
|
CONFIGURE_ARGS+=--with-motif1
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-motif1
|
|
|
|
.endif
|
|
|
|
|
2013-04-28 23:20:28 +02:00
|
|
|
.if ${PORT_OPTIONS:MATHENA}
|
2014-06-01 19:24:23 +02:00
|
|
|
LIB_DEPENDS+= libXaw.so:${PORTSDIR}/x11-toolkits/libXaw
|
2008-05-31 06:21:34 +02:00
|
|
|
CONFIGURE_ARGS+=--with-athena
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-athena
|
|
|
|
.endif
|
|
|
|
|
2013-07-10 08:55:28 +02:00
|
|
|
.include <bsd.port.mk>
|