- Convert to USE_GECKO [1]

- Convert to USE_SQLITE [2]

PR:		89023 [2]
Submitted by:	mezz [1], Scot Hetzel <swhetzel@gmail.com> [2]
This commit is contained in:
Tom McLaughlin 2006-01-14 03:24:03 +00:00
parent 957238d301
commit d0b304ace0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153418

View File

@ -3,7 +3,7 @@
# Whom: Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
# $Id: Makefile,v 1.9 2005/10/22 06:02:34 tmclau02 Exp $
# $Id: Makefile,v 1.12 2006/01/11 00:29:46 tmclau02 Exp $
#
PORTNAME= mcatalog
@ -18,22 +18,13 @@ COMMENT= An application for catalogue films and books
BUILD_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
${X11BASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
${X11BASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite2
RUN_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
${X11BASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
${X11BASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
.if !defined(WITH_MOZILLA)
MOZILLA= mozilla
.else
.if ${WITH_MOZILLA}=="firefox"
MOZILLA= firefox
.else
MOZILLA= mozilla
.endif
.endif
USE_GECKO= mozilla firefox
USE_GNOME= gnomeprefix gnomehack gconf2 intlhack
USE_SQLITE= 2
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_AUTOTOOLS= libtool:15
@ -43,20 +34,12 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
GCONF_SCHEMAS= mcatalog.schemas
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} " By default ${PORTNAME} uses www/mozilla for html rendering, but you can"
@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
@${ECHO_MSG} ""
@${ECHO_MSG} " firefox "
@${ECHO_MSG} ""
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%%|${X11BASE}/lib/${MOZILLA}|g' \
@${REINPLACE_CMD} -e 's|%%MOZILLA%%|${X11BASE}/lib/${GECKO}|g' \
${WRKSRC}/src/mcatalog.in
.ifndef (NOPORTDOCS)
@ -68,4 +51,6 @@ post-install:
.endif
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
.include <bsd.port.post.mk>