summaryrefslogtreecommitdiffstats
path: root/deskutils/glabels/Makefile
blob: 13f7d556b7fb56ddb6aee190b29d6cdaffc30ad6 (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
42
43
# New ports collection makefile for:    glabels
# Date created:     29 September 2002
# Whom:         Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
#
# $FreeBSD$
#   $MCom: ports/deskutils/glabels/Makefile,v 1.9 2010/02/18 21:13:06 ahze Exp $
#

PORTNAME=   glabels
PORTVERSION=    2.2.7
CATEGORIES= deskutils
MASTER_SITES=   GNOME

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A program to create labels and business cards

USE_GMAKE=  yes
USE_GNOME=  gnomehack gnomeprefix gnometarget libgnomeui \
        desktopfileutils intlhack ltverhack
WANT_GNOME= yes
USE_GETTEXT=    yes
INSTALLS_OMF=   yes
USE_LDCONFIG=   yes
USE_AUTOTOOLS=  libtool:22
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       glabels.1

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mevolutiondataserver}!=""
USE_GNOME+=     evolutiondataserver
CONFIGURE_ARGS+=    --with-libebook
.else
CONFIGURE_ARGS+=    --without-libebook
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|malloc\.h|stdlib\.h|g' \
        ${WRKSRC}/iec16022-0.2.1/*.c

.include <bsd.port.post.mk>