aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zoinks/Makefile
blob: 007afa77381bd3614fdced26ae3d9c862825daad (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
44
45
46
47
48
49
50
# New ports collection makefile for:    zoinks
# Date created:             26 July 2003
# Whom:                 Mike Lockwood <mike@mikelockwood.com>
#
# $FreeBSD$
#

PORTNAME=   zoinks
PORTVERSION=    0.3.7
PORTREVISION=   2
CATEGORIES= editors
MASTER_SITES=   http://zoinks.mikelockwood.com/download/
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER= mike@mikelockwood.com
COMMENT=    An X11 programmer's editor and development environment

.if defined(WITH_IMLIB)
USE_GNOME=  imlib
CONFIGURE_ARGS+=    --enable-imlib
.else
CONFIGURE_ARGS+=    --disable-imlib
.endif

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif

USE_XPM=    yes
GNU_CONFIGURE=  yes

pre-everything::
    @${ECHO_MSG} ""
    @${ECHO_MSG} "Zoinks can be built with optional support for calculating image sizes"
    @${ECHO_MSG} "and image thumbnail creation for HTML files."
    @${ECHO_MSG} "These features require the Gnome imlib library."
    @${ECHO_MSG} "Use WITH_IMLIB=yes to enable these features."
    @${ECHO_MSG} ""

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 700042
BROKEN=     Does not compile with GCC 4.2
.endif

.include <bsd.port.post.mk>