freebsd-ports/www/linuxpluginwrapper/Makefile
Pete Fritchman 188fd47f90 1. drop the RUN_DEPENDS on mozilla so the users can choose what mozilla
they want to install.
2. make the pkg-message refer to ${PREFIX}/lib/browser_plugins/

Suggested by:	obrien (a long time ago, sorry I forgot about this)  [1],
		marcus [2]
2003-01-09 06:13:17 +00:00

34 lines
858 B
Makefile

# New ports collection makefile for: flashpluginwrapper
# Date Created: 13 November 2002
# Whom: Pete Fritchman <petef@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= flashpluginwrapper
PORTVERSION= 0.20021113
CATEGORIES= www linux
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://absolutbsd.org/~petef/
MASTER_SITE_SUBDIR= petef
MAINTAINER= petef@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/lib/flash/libflashplayer.so:${PORTSDIR}/www/linux-flashplugin
USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
PKGMESSAGE= ${WRKDIR}/pkg-message
post-patch:
@${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},' \
-e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
post-install:
@${SED} -e 's,%%PREFIX%%,${PREFIX},' \
-e 's,%%LOCALBASE%%,${LOCALBASE},' \
-e 's,%%X11BASE%%,${X11BASE},' \
< ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>