Lines 1-43
Link Here
|
1 |
# New ports collection makefile for: linux-flashplugin6 |
1 |
# New ports collection makefile for: linux-flashplugin6 |
2 |
# Date created: 23 February 2003 |
2 |
# Date created: 23 February 2003 |
3 |
# Whom: Brandon D. Valentine <ports@geekpunk.net> |
3 |
# Whom: Brandon D. Valentine <ports@brandon.dvalentine.com> |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/www/linux-flashplugin6/Makefile,v 1.2 2003/06/19 02:18:51 nork Exp $ |
5 |
# $FreeBSD: ports/www/linux-flashplugin6/Makefile,v 1.2 2003/06/19 02:18:51 nork Exp $ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= flashplugin |
8 |
PORTNAME= flashplugin |
9 |
PORTVERSION= 6.0r79 |
9 |
PORTVERSION= 6.0r79 |
|
|
10 |
PORTREVISION= 1 |
10 |
CATEGORIES= www multimedia linux |
11 |
CATEGORIES= www multimedia linux |
11 |
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/ |
12 |
MASTER_SITES= http://download.macromedia.com/pub/shockwave/flash/english/linux/${PORTVERSION}/ |
12 |
PKGNAMEPREFIX= linux- |
13 |
PKGNAMEPREFIX= linux- |
13 |
DISTNAME= install_flash_player_6_linux |
14 |
DISTNAME= install_flash_player_6_linux |
14 |
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} |
15 |
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION} |
15 |
|
16 |
|
16 |
MAINTAINER= ports@geekpunk.net |
17 |
MAINTAINER= ports@brandon.dvalentine.com |
17 |
COMMENT= The official Macromedia Flash Player for Linux Mozilla and Netscape 6+ |
18 |
COMMENT= The official Macromedia Flash Player for Linux Mozilla and Netscape 6+ |
18 |
|
19 |
|
19 |
ONLY_FOR_ARCHS= i386 |
20 |
ONLY_FOR_ARCHS= i386 |
20 |
USE_LINUX= yes |
21 |
USE_LINUX= yes |
21 |
NO_CDROM= "Redistribution not allowed" |
22 |
|
|
|
23 |
NO_PACKAGE= "Redistribution not allowed" |
24 |
RESTRICTED= "Redistribution not allowed" |
25 |
|
22 |
NO_BUILD= yes |
26 |
NO_BUILD= yes |
23 |
WRKSRC= ${WRKDIR}/install_flash_player_6_linux |
27 |
WRKSRC= ${WRKDIR}/install_flash_player_6_linux |
|
|
28 |
LATEST_LINK= flash6 |
24 |
|
29 |
|
25 |
PLUGINSDIR= lib/linux-mozilla/plugins |
30 |
PLUGINSDIR= lib/linux-mozilla/plugins |
26 |
LIBFILES= libflashplayer.so flashplayer.xpt |
31 |
LIBFILES= libflashplayer.so flashplayer.xpt |
27 |
|
32 |
|
|
|
33 |
DOCSDIR?= ${PREFIX}/share/doc/${UNIQUENAME} |
34 |
|
28 |
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" |
35 |
PLIST_SUB= PLUGINSDIR="${PLUGINSDIR}" |
29 |
|
36 |
|
30 |
do-install: |
37 |
do-install: |
31 |
@${MKDIR} ${PREFIX}/lib/linux-flashplugin6 |
38 |
@${MKDIR} ${PREFIX}/lib/linux-flashplugin6 |
32 |
@${MKDIR} ${PREFIX}/share/doc/linux-flashplugin6 |
|
|
33 |
@${MKDIR} ${PREFIX}/${PLUGINSDIR} |
34 |
.for f in ${LIBFILES} |
39 |
.for f in ${LIBFILES} |
35 |
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6/ |
40 |
@${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/lib/linux-flashplugin6 |
36 |
@${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR}/ |
41 |
.if exists(${PLUGINSDIR}) |
|
|
42 |
@${LN} -sf ${PREFIX}/lib/linux-flashplugin6/${f} ${PREFIX}/${PLUGINSDIR} |
43 |
.endif |
37 |
.endfor |
44 |
.endfor |
38 |
.if !defined(NOPORTDOCS) |
45 |
.if !defined(NOPORTDOCS) |
39 |
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${PREFIX}/share/doc/linux-flashplugin6/ |
46 |
@${MKDIR} ${DOCSDIR} |
40 |
@${INSTALL_DATA} ${WRKSRC}/readme.htm ${PREFIX}/share/doc/linux-flashplugin6/ |
47 |
@${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} |
|
|
48 |
@${INSTALL_DATA} ${WRKSRC}/readme.htm ${DOCSDIR} |
41 |
.endif |
49 |
.endif |
42 |
|
50 |
|
43 |
.include <bsd.port.mk> |
51 |
.include <bsd.port.mk> |