1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/www/xpi-conkeror/Makefile
Dennis Herrmann 533211e855 - Update to 20090821
- Take maintainership to Submitter [1]
- Connect to the build

PR:		ports/136010 ports/138022
Submitted by:	Anonymous <swell.k@gmail.com>
Submitted by:	Ashish SHUKLA <wahjava@gmail.com> [1]
2009-09-05 15:46:18 +00:00

56 lines
1.6 KiB
Makefile

# New ports collection makefile for: conkeror
# Date created: 27 April 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= conkeror
PORTVERSION= 20090821
CATEGORIES= www
MASTER_SITES= http://mirror.4bit.ws/ \
${MASTER_SITE_LOCAL} \
${MASTER_SITE_FREEBSD}
MASTER_SITE_SUBDIR= dhn
MAINTAINER= wahjava@gmail.com
COMMENT= A completely keyboard driven browser based on firefox
WRKSRC= ${WRKDIR}/conkeror
USE_GECKO= libxul
BUILD_ID=echo -n `whoami`@`hostname`_`date +%s`
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} -e "s/%%PREFIX%%/${PREFIX:S/\//\\\//g}/g" \
${WRKSRC}/conkeror && \
${MV} debian/conkeror.desktop . && \
${RM} -rf debian tests && \
${MKDIR} share && \
${MV} branding chrome components content \
contrib defaults locale modules search-engines help style share
do-build:
${MAKE} -C ${WRKSRC}
do-install:
${MKDIR} ${PREFIX}/libexec/conkeror
${MKDIR} ${DESKTOPDIR}
cd ${WRKSRC}/share && ${COPYTREE_SHARE} . ${DATADIR}
${SED} -e "s/BuildID=git/BuildID=$$(${BUILD_ID})/g" \
-e "s/^Version=\(.*\)$$/Version=\1 (FreeBSD-${OSREL})/g" \
<${WRKSRC}/application.ini >${DATADIR}/application.ini
${REINPLACE_CMD} -e "s/\\\$$CONKEROR_VERSION\\$$/`${GREP} \
'^Version=' ${WRKSRC}/application.ini |${SED} \
-e 's/^Version=//'` (FreeBSD-${OSREL})/g" ${DATADIR}/components/application.js
${INSTALL_SCRIPT} ${WRKSRC}/conkeror ${PREFIX}/bin/
${INSTALL_DATA} ${WRKSRC}/conkeror.desktop ${DESKTOPDIR}
${INSTALL_PROGRAM} ${WRKSRC}/conkeror-spawn-helper ${PREFIX}/libexec/conkeror/
${LN} -sf ${PREFIX}/libexec/conkeror/conkeror-spawn-helper ${DATADIR}/
post-install:
@-update-desktop-database
.include <bsd.port.mk>