2002-09-19 22:27:06 +02:00
|
|
|
PORTNAME= lingoteach
|
2003-11-18 05:28:01 +01:00
|
|
|
PORTVERSION= 0.3.9
|
2016-12-08 20:52:19 +01:00
|
|
|
PORTREVISION= 16
|
2020-11-20 08:16:06 +01:00
|
|
|
CATEGORIES= misc education
|
2014-06-11 01:19:36 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/OldFiles:src
|
|
|
|
DISTFILES= ${PORTNAME}-ui-${PORTVERSION}.tar.gz:src
|
2002-09-11 16:38:15 +02:00
|
|
|
|
2013-12-01 11:33:35 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-06-11 01:19:36 +02:00
|
|
|
COMMENT= Language teaching program with sound
|
2002-09-11 16:38:15 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
LIB_DEPENDS= liblingoteach.so:textproc/liblingoteach
|
2003-04-17 04:07:54 +02:00
|
|
|
|
2003-11-18 05:28:01 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-ui-${PORTVERSION}
|
2002-09-11 16:38:15 +02:00
|
|
|
|
2003-04-17 04:07:54 +02:00
|
|
|
USE_GNOME= gtk20
|
2002-09-19 22:27:06 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2019-11-08 15:06:27 +01:00
|
|
|
USES= gmake gnome libtool pkgconfig
|
2002-09-11 16:38:15 +02:00
|
|
|
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib `pkg-config --libs gmodule-2.0`
|
2003-11-18 05:28:01 +01:00
|
|
|
|
|
|
|
# sound version
|
2014-06-11 01:19:36 +02:00
|
|
|
SOUNDV= 0.3.9
|
2003-04-29 05:42:13 +02:00
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
PORTDATA= *
|
|
|
|
PORTDOCS= *
|
2003-04-29 05:42:13 +02:00
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
OPTIONS_DEFINE= NLS SOUND DEBUG DOCS
|
|
|
|
OPTIONS_SUB= yes
|
2002-09-19 22:27:06 +02:00
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
SOUND_DESC= Download additional sounds
|
|
|
|
NLS_USES= gettext
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
DEBUG_CONFIGURE_ENABLE= debug
|
2002-09-19 22:27:06 +02:00
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MSOUND}
|
|
|
|
MASTER_SITES+= SF/${PORTNAME}/${PORTNAME}-sound/${SOUNDV}:sound
|
|
|
|
DISTFILES+= ${PORTNAME}-sound-${SOUNDV}.tar.gz:sound
|
|
|
|
.endif
|
2002-09-19 22:27:06 +02:00
|
|
|
|
2003-11-18 05:28:01 +01:00
|
|
|
post-patch::
|
2014-06-11 01:19:36 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${REINPLACE_CMD} -e 's|^SUBDIRS = intl src po data doc|SUBDIRS = src po data doc|g' \
|
2003-11-18 05:28:01 +01:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.else
|
2014-06-11 01:19:36 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|^SUBDIRS = intl src po data doc|SUBDIRS = src po data|g' \
|
2003-11-18 05:28:01 +01:00
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
.if ${PORT_OPTIONS:MSOUND}
|
2002-09-11 16:38:15 +02:00
|
|
|
post-install::
|
2003-11-18 05:28:01 +01:00
|
|
|
cd ${WRKDIR}/${PORTNAME}-sound-${SOUNDV}/data; \
|
2016-10-21 14:51:40 +02:00
|
|
|
${RM} Make*; \
|
2014-06-11 01:19:36 +02:00
|
|
|
${CP} -R ${WRKDIR}/${PORTNAME}-sound-${SOUNDV}/data \
|
|
|
|
${STAGEDIR}${DATADIR};
|
2002-09-19 22:27:06 +02:00
|
|
|
.endif
|
|
|
|
|
2014-06-11 01:19:36 +02:00
|
|
|
.include <bsd.port.mk>
|