mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
242b394646
- Upstream have fixed some of the FreeBSD problems but not all, hence some of our patches are no longer required Submitted by: portscout@
43 lines
959 B
Makefile
43 lines
959 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= unixcw
|
|
PORTVERSION= 3.3.0
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
|
DISTNAME= unixcw_3.3.0.orig
|
|
|
|
MAINTAINER= db@FreeBSD.org
|
|
COMMENT= Libs for cw on unix
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
|
|
--libdir="${LOCALBASE}/lib" \
|
|
--disable-alsa --disable-pulseaudio
|
|
|
|
.if defined(WITH_XCWCP)
|
|
USE_QT4= gui moc_build qmake_build rcc_build uic_build designer
|
|
USE_AUTOTOOLS= autoconf
|
|
PLIST_SUB+= XCWCP=""
|
|
CONFIGURE_ARGS+= --enable-xcwcp
|
|
.else
|
|
PLIST_SUB+= XCWCP="@comment "
|
|
CONFIGURE_ARGS+= --disable-xcwcp
|
|
.endif
|
|
USE_LDCONFIG= yes
|
|
USE_GMAKE= yes
|
|
USE_CSTD= gnu99
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
pre-extract:
|
|
.if !defined(WITH_XCWCP)
|
|
@${ECHO_CMD}
|
|
@${ECHO_CMD} "****** To build xcwcp, interrupt the build ******"
|
|
@${ECHO_CMD} "****** now, set WITH_XCWCP and start again. ******"
|
|
@${ECHO_CMD}
|
|
@sleep 3
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|