44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.13 2013/03/11 11:44:43 espie Exp $
|
|
|
|
SHARED_ONLY = Yes
|
|
|
|
COMMENT = load programs inside browser to view movies, pdfs, etc
|
|
DISTNAME = mozplugger-1.14.2
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://mozplugger.mozdev.org/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = X11 c
|
|
|
|
MASTER_SITES = ${HOMEPAGE}files/
|
|
|
|
USE_GROFF = Yes
|
|
NO_TEST = Yes
|
|
ALL_TARGET = openbsd
|
|
|
|
FLAVORS = debug
|
|
FLAVOR ?=
|
|
|
|
# set TMPDIR before starting browser. A 'mozdebug'
|
|
# file is generated in that location.
|
|
.if ${FLAVOR} == "debug"
|
|
DEBUG = -g
|
|
CFLAGS += -DDEBUG
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mozplugger-helper ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mozplugger-controller ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/mozplugger-linker ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/mozilla/plugins
|
|
${INSTALL_DATA} ${WRKBUILD}/mozplugger.so ${PREFIX}/lib/mozilla/plugins
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mozplugger
|
|
${INSTALL_DATA} ${WRKSRC}/mozpluggerrc \
|
|
${PREFIX}/share/examples/mozplugger
|
|
${INSTALL_MAN} ${WRKSRC}/mozplugger.7 ${PREFIX}/man/man7
|
|
|
|
.include <bsd.port.mk>
|