summaryrefslogtreecommitdiffstats
path: root/devel/gnome-js-common/Makefile
blob: 553f1765549115c33897d75e7763a5072a7dcf85 (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
# New ports collection makefile for:    gnome-js-common
# Date created:             19 July 2009
# Whom:                 Alexander Logvinov <avl@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/devel/gnome-js-common/Makefile,v 1.1 2009/07/30 02:40:56 avl Exp $
#

PORTNAME=   gnome-js-common
PORTVERSION=    0.1.2
CATEGORIES= devel gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME JavaScript common modules and tests

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GETTEXT=    yes
USE_GNOME=  gnomehack intltool

PORTDOCS=   AUTHORS COPYING INSTALL NEWS README ChangeLog

post-patch:
    @${REINPLACE_CMD} -e 's|== x|= x|g' \
        ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
    @${REINPLACE_CMD} -e 's|$${prefix}/share/doc/gnome_js_common|${DOCSDIR}|' \
        ${WRKSRC}/Makefile.in
.else
    @${REINPLACE_CMD} -e 's|install-gnome_js_commondocDATA ||g' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>