1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00

- Convert to USE_GECKO

This commit is contained in:
Michael Johnson 2005-11-30 08:03:10 +00:00
parent 9fe20c282f
commit 1786f84dcb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150009

View File

@ -15,41 +15,16 @@ MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= gnome@FreeBSD.org
COMMENT= Text editor widget based on Mozilla's editing functionality
BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/${MOZILLA}-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/${MOZILLA}${HEADERS_SUFX}
RUN_DEPENDS= ${X11BASE}/libdata/pkgconfig/${MOZILLA}-plugin${HEADERS_SUFX}.pc:${PORTSDIR}/www/${MOZILLA}${HEADERS_SUFX}
USE_BZIP2= yes
USE_REINPLACE= yes
WITH_MOZILLA?= firefox
INSTALLS_SHLIB= yes
USE_AUTOTOOLS= libtool:15
USE_GNOME= gnomehack
USE_GECKO= firefox mozilla
.include <bsd.port.pre.mk>
.if !defined(WITH_MOZILLA)
MOZILLA= firefox
HEADERS_SUFX=
.elif ${WITH_MOZILLA}=="mozilla"
MOZILLA= mozilla
HEADERS_SUFX=
.else
MOZILLA= firefox
HEADERS_SUFX=
.endif
.if ${WITH_MOZILLA}=="firefox"
CONFIGURE_ARGS+= --with-firefox
.endif
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} " By default the port uses www/firefox for gecko support, but you can"
@${ECHO_MSG} " change this by defining WITH_MOZILLA to one of the following values:"
@${ECHO_MSG}
@${ECHO_MSG} " mozilla "
# @${ECHO_MSG} " mozilla-devel "
@${ECHO_MSG} ""
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
post-patch:
@${REINPLACE_CMD} -e 's|firefox-nspr|firefox-xpcom|' \