freebsd-ports/www/opera-devel/Makefile
Sergei Kolobov f8fe361dd8 - Update to 7.50 Preview 2 (aka 20040218)
A changelog can be found here:
  http://people.opera.com/espen/changelog/changelog-7.50p2.html

PR:		ports/63079
Submitted by:	maintainer
2004-02-29 23:06:08 +00:00

83 lines
1.7 KiB
Makefile

# New ports collection makefile for: opera
# Date created: November 5th 2000
# Whom: des
#
# $FreeBSD$
#
PORTNAME= opera
PORTVERSION= ${OPERA_VER}.${OPERA_DATE}
CATEGORIES= www
MASTER_SITES= http://snapshot.opera.com/unix/${OPERA_VER}-${OPERA_REL}/intel-freebsd/en/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-${OPERA_VER}-${OPERA_DATE}.1-static-qt.i386.freebsd-en
MAINTAINER= avleeuwen@piwebs.com
COMMENT= A blazingly fast, full-featured, standards-compliant browser
LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png
OPERA_VER= 7.50
OPERA_REL= Preview-2
OPERA_DATE= 20040218
CONFLICTS= linux-opera-devel-*
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
NO_FILTER_SHLIBS=yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c_r.4:${PORTSDIR}/misc/compat4x
.endif
.if exists(/etc/X11/applnk)
PLIST_SUB+= APPLNK=""
.else
PLIST_SUB+= APPLNK="@comment "
.endif
.if exists(${X11BASE}/share/gnome)
PLIST_SUB+= GNOME=""
.else
PLIST_SUB+= GNOME="@comment "
.endif
.if exists(${X11BASE}/share/applnk/Internet)
PLIST_SUB+= KDE=""
.else
PLIST_SUB+= KDE="@comment "
.endif
.if exists(${X11BASE}/share/applnk/Networking)
PLIST_SUB+= KDE2=""
.else
PLIST_SUB+= KDE2="@comment "
.endif
.if exists(${X11BASE}/share/gnome/apps)
PLIST_SUB+= GNOMELNK=""
.else
PLIST_SUB+= GNOMELNK="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${X11BASE}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/install.sh
do-install:
(cd ${WRKSRC} && ./install.sh --prefix=${PREFIX})
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>