1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/mail/firetray/Makefile
Beat Gaetzi 734349b51e - Move libxul 1.9.2 to www/libxul19
- Update www/libxul to 10.0.7
- Update all dependent ports to use www/libxul19 (no functional changes)
- Bump PORTREVISION on ports where libxul is a run dependency as the
  resulting package will change.

Submitted by:	Jan Beich <jbeich@tormail.org>
With hat:	gecko
2012-09-10 19:19:32 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: firetray
# Date created: 2010-08-27
# Whom: Andriy Gapon <avg@icyb.net.ua>
#
# $FreeBSD$
#
PORTNAME= firetray
DISTVERSION= 0.2.8
PORTREVISION= 2
CATEGORIES= mail www
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= avg@icyb.net.ua
COMMENT= System tray add-on for firefox, thunderbird, seamonkey, etc
PATCH_DEPENDS= nspr>=4.8:${PORTSDIR}/devel/nspr
BROKEN= does not build
USE_ZIP= yes
USE_GECKO= libxul19
USE_SCONS= yes
USE_PKGCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
EXTRACT_AFTER_ARGS= -d ${WRKSRC}
GECKO_CONFIG= ${LOCALBASE}/bin/pkg-config ${GECKO:S/19//}
BUILD_SH_FLAGS= --dynamic-linking \
--gecko-sdk-bin=`${DIRNAME} ${XPIDL:S/19//}` \
--gecko-sdk-lib=`${GECKO_CONFIG} --variable=sdkdir`/lib \
--gecko-sdk-idl=`${GECKO_CONFIG} --variable=idldir` \
--gecko-sdk-include=`${GECKO_CONFIG} --variable=includedir`
NSPR_INCLUDE= `${LOCALBASE}/bin/pkg-config nspr --variable=includedir`
PLIST_DIRS= ${DATADIR:S,${PREFIX}/,,}
PLIST_FILES= ${DATADIR:S,${PREFIX}/,,}/${PORTNAME}.xpi
post-patch:
@${REINPLACE_CMD} s,/usr/include/nspr,${NSPR_INCLUDE}, \
${WRKSRC}/components/SConscript
do-build:
cd ${WRKSRC} && ./build.sh ${BUILD_SH_FLAGS}
do-install:
${MKDIR} ${DATADIR} && \
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xpi ${DATADIR}
.include <bsd.port.mk>