blob: 53a4ccdd625fe90834f452b9f7c1a54f378e3853 (
plain)
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
51
52
53
54
|
# New ports collection makefile for: mcatalog
# Date created: 24 October 2004
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.17 2006/11/14 04:11:38 tmclau02 Exp $
#
PORTNAME= mcatalog
PORTVERSION= 0.2
PORTREVISION= 6
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.mcatalog.net/releases/
MAINTAINER= bsd-sharp-list@forge.novell.com
COMMENT= An application for catalogue films and books
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
${LOCALBASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
USE_GECKO= firefox mozilla
USE_GNOME= gnomeprefix gnomehack gconf2 intlhack gnomesharp20
USE_SQLITE= 2
USE_GMAKE= yes
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS= mcatalog.schemas
post-patch:
@${REINPLACE_CMD} -e 's|/pixmaps/mcatalog|/pixmaps|g' \
${WRKSRC}/images/Makefile.in
@${REINPLACE_CMD} -e 's|@prefix@/share|${PREFIX}/share/gnome|g' \
${WRKSRC}/mcatalog.desktop.in
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${LOCALBASE}/lib/${GECKO}|g' \
${WRKSRC}/src/mcatalog.in
.ifndef (NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
.include <bsd.port.post.mk>
|