openbsd-ports/www/conkeror/Makefile
joshe 96f8c3664e Import www/conkeror: keyboard-oriented Mozilla-based browser
Conkeror is a keyboard-oriented, highly-customizable, highly-extensible
web browser based on Mozilla XULRunner, written mainly in JavaScript,
and inspired by exceptional software such as Emacs and vi. Conkeror
features a sophisticated keyboard system, allowing users to run
commands and interact with content in powerful and novel ways. It is
self-documenting, featuring a powerful interactive help system.
2010-12-21 20:47:48 +00:00

56 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2010/12/21 20:47:48 joshe Exp $
COMMENT = keyboard-oriented Mozilla-based browser
DATE = 20101215
GITREV = d81cecae9ec9bde209e2cfa0cd4d98a97428d380
DISTNAME = conkeror-0.9.3.${DATE}
CATEGORIES = www
HOMEPAGE = http://conkeror.org/
MAINTAINER = Joshua Elsasser <joshe@openbsd.org>
# mozilla public license
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m pthread stdc++
MASTER_SITES = http://www.elsasser.org/openbsd/distfiles/
BUILD_DEPENDS = devel/xulrunner/1.9,-devel \
shells/bash \
archivers/zip
RUN_DEPENDS = devel/xulrunner/1.9
MAKE_ENV = CONKEROR_DATE=${DATE} \
CONKEROR_GITREV=${GITREV} \
XULRUNNER=xulrunner1.9
NO_REGRESS = Yes
pre-configure:
@${SUBST_CMD} ${WRKSRC}/contrib/man/conkeror.1
@${SUBST_CMD} -c ${FILESDIR}/conkeror ${WRKSRC}/conkeror-wrapper.sh
do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${LOCALBASE}/bin/bash contrib/build.sh xulapp
do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${LOCALBASE}/bin/bash contrib/install.sh
rm -f ${PREFIX}/bin/conkeror
${INSTALL_SCRIPT} ${WRKSRC}/conkeror-wrapper.sh ${PREFIX}/bin/conkeror
${INSTALL_DATA} ${WRKSRC}/contrib/man/conkeror.1 ${PREFIX}/man/man1/
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/conkeror
.for file in COPYING CREDITS
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/conkeror/
.endfor
.include <bsd.port.mk>