aboutsummaryrefslogtreecommitdiff
path: root/deskutils/mcatalog/Makefile
blob: 677948a3c38eaf78fc1fadd13d83ae8f3e95eaf4 (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:	mcatalog
# Date created:				24 October 2004
# Whom:					Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mcatalog
PORTVERSION=	0.0.4
CATEGORIES=	deskutils gnome
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	mcatalog

MAINTAINER=	bsd-sharp-list@forge.novell.com
COMMENT=	An application for catalogue films and books

BUILD_DEPENDS=	gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
LIB_DEPENDS=	sqlite.2:${PORTSDIR}/databases/sqlite
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_GNOME=	gnomeprefix gnomehack gconf2
USE_GMAKE=	yes
USE_X_PREFIX=   yes
USE_LIBTOOL_VER=15
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

.ifndef (NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>