aboutsummaryrefslogtreecommitdiffstats
path: root/devel/zendstudio/Makefile
blob: c03267bda7ef8953d7583a07d5ffc3cd4dcf7cdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Ports collection makefile for:  ZendStudio
# Date created:           24 February 2004
# Whom:               Gerrit Beine (<tux@pinguru.net>)
#
# $FreeBSD$
#

PORTNAME=   ZendStudio
PORTVERSION=    3.5.1
CATEGORIES= devel
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/./_/g}
MASTER_SITES=   http://www.zend.com/store/products/zend-studio.php
MAINTAINER= tux@pinguru.net
COMMENT=    A PHP IDE

USE_LINUX=  yes
NO_BUILD=   yes
RESTRICTED= "Redistribution is not permitted"
NO_PACKAGES=    ${RESTRICTED}
NO_CDROM=   ${RESTRICTED}

.include <bsd.port.pre.mk>

.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
Because of licensing restrictions, you must fetch the distribution manually.\n\
Please visit ${MASTER_SITES}\n\
and follow the \"Free Evaluation\" link.\n\
You have to register for using ZendStudio.\n\
After downloading the Client-package \"Linux glibc2.1\", place it into ${DISTDIR}.\n
.endif

pre-install:
    @if [ "`/sbin/mount | ${GREP} ^linprocfs`" = "" ]; \
        then \
        ${ECHO_MSG} "For installing and running ZendStudio " ; \
        ${ECHO_MSG} "you have to have LINPROCFS mounted before" ; \
        ${ECHO_MSG} "" ; \
        ${ECHO_MSG} "You may do it by following set of commands:" ; \
        ${ECHO_MSG} "" ; \
        ${ECHO_MSG} "# kldload linprocfs" ; \
        ${ECHO_MSG} "" ; \
        ${ECHO_MSG} "and" ; \
        ${ECHO_MSG} "" ; \
        ${ECHO_MSG} "# mount_linprocfs  linproc /compat/linux/proc" ; \
        ${ECHO_MSG} "" ; \
        exit 1 ; \
    fi

do-install:
    ${WRKSRC}/${DISTNAME}.bin

post-install:
    ${LN} -s ${PREFIX}/Zend/bin/ZDE ${PREFIX}/bin/ZDE

.include <bsd.port.post.mk>