aboutsummaryrefslogtreecommitdiffstats
path: root/www/amyc/Makefile
blob: 75396bfbf813594c20dbb7ee312439326f49a36d (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
# New ports collection makefile for:    amyc
# Date Created:             10 June 2001
# Whom:                 Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=   amyc
PORTVERSION=    0.9.159
PORTREVISION=   1
CATEGORIES= www
MASTER_SITES=   http://www.crevola.com/about/current/

MAINTAINER= petef@FreeBSD.org

LIB_DEPENDS=    intl.1:${PORTSDIR}/devel/gettext

USE_AUTOCONF=   yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        CFLAGS="${CFLAGS} -I${LOCALBASE}/include"

WANT_GTK=   yes

.include <bsd.port.pre.mk>

.if defined(HAVE_GTK)
PLIST_SUB=  WITH_GTK=""
USE_GTK=    yes
.else
PLIST_SUB=  WITH_GTK="@comment "
.endif

post-patch:
    @${PERL} -pi -e 's!\(datadir\)/locale!(prefix)/share/locale!' \
        ${WRKSRC}/po/Makefile.in.in

.include <bsd.port.post.mk>