aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/liblingoteach/Makefile
blob: fb9760f523a8a882b332652ee3ca268c78fcb324 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:   liblingoteach
# Date created:        14 October 2003
# Whom:                Marcus von Appen
#
# $FreeBSD$
#

PORTNAME=   liblingoteach
PORTVERSION=    0.2.1
PORTREVISION=   1
CATEGORIES= textproc
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= lingoteach

MAINTAINER= mva@sysfault.org
COMMENT=    A library for parsing lesson files based on the LingoTeach DTD

USE_GMAKE=      yes
USE_GNOME=      gnomehack gnometarget libxml2
USE_LIBTOOL_VER=    13
INSTALLS_SHLIB=     yes

.if defined(WITH_COMP)
CONFIGURE_ARGS+=    --with-compression
.endif

.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=    --enable-debug
.endif

pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} "liblingoteach can be used with the following switches:"
    @${ECHO_MSG} ""
    @${ECHO_MSG} "      WITH_COMP=yes   Enables zlib compression of"
    @${ECHO_MSG} "              the lesson files"
    @${ECHO_MSG} "      WITH_DEBUG=yes  Enables additional debugging"
    @${ECHO_MSG} "              information and output"
    @${ECHO_MSG} ""

.include <bsd.port.mk>