1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/flashpluginwrapper/Makefile
Edwin Groothuis 81ffcb71c5 Update www/flashpluginwrapper: needs USE_XLIB
Noticed on: bento

PR:		ports/47641
Submitted by:	Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
2003-02-03 13:56:53 +00:00

36 lines
872 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_XLIB= yes
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>