summaryrefslogtreecommitdiff
path: root/www/mozex
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-10-14 08:54:54 +0000
commit29747f458a1eb2ce23b4594b09d0256dd62760b8 (patch)
tree1b71ba5d9ffdd308b6c18130f7c116f5bab5dc12 /www/mozex
parent- Add goocanvas (diff)
Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed. Submitted by: mezz, ahze, pav, and many others Approved by: portmgr (implicit, kris)
Notes
Notes: svn path=/head/; revision=175261
Diffstat (limited to 'www/mozex')
-rw-r--r--www/mozex/Makefile5
-rw-r--r--www/mozex/Makefile.xpi6
-rw-r--r--www/mozex/pkg-install.xpi2
3 files changed, 6 insertions, 7 deletions
diff --git a/www/mozex/Makefile b/www/mozex/Makefile
index 8bac7822c053..fb274c784eb7 100644
--- a/www/mozex/Makefile
+++ b/www/mozex/Makefile
@@ -3,11 +3,12 @@
# Whom: Thierry Thomas (<thierry@pompo.net>)
#
# $FreeBSD$
+# $MCom: ports/www/mozex/Makefile,v 1.2 2006/09/22 19:52:59 mezz Exp $
#
PORTNAME= mozex
PORTVERSION= 1.07
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= www mail news ftp
MASTER_SITES= ${MASTER_SITE_MOZDEV}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,8 +16,6 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mozex allows users of ${GEKO} to use external programs for mail, news, etc.
-USE_X_PREFIX= yes # Cannot be included after <bsd.port.pre.mk>.
-
SUB_FILES= pkg-message
SUB_LIST= GECKO=${GECKO}
PKGMESSAGE= ${WRKDIR}/pkg-message
diff --git a/www/mozex/Makefile.xpi b/www/mozex/Makefile.xpi
index 2ad122c92d2f..434c9d0eb4ce 100644
--- a/www/mozex/Makefile.xpi
+++ b/www/mozex/Makefile.xpi
@@ -16,7 +16,7 @@ PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${PKGINSTALL}
MOZLDIR= lib/${GECKO}
-MOZDIR= ${X11BASE}/${MOZLDIR}
+MOZDIR= ${LOCALBASE}/${MOZLDIR}
PLIST_SUB= MOZDIR=${MOZLDIR}
pre-configure:
@@ -25,9 +25,9 @@ pre-configure:
> ${PKGINSTALL}
pre-install:
-.if ${PREFIX} != ${X11BASE}
+.if ${PREFIX} != ${LOCALBASE}
@${ECHO_MSG} ""
- @${ECHO_MSG} "${PREFIX} invalid - must be installed under ${X11BASE}."
+ @${ECHO_MSG} "${PREFIX} invalid - must be installed under ${LOCALBASE}."
@${ECHO_MSG} ""
@${FALSE}
.else
diff --git a/www/mozex/pkg-install.xpi b/www/mozex/pkg-install.xpi
index 2315d7a8490d..511847138987 100644
--- a/www/mozex/pkg-install.xpi
+++ b/www/mozex/pkg-install.xpi
@@ -13,7 +13,7 @@ PATH=/bin:/usr/bin
[ "x$2" = "xPRE-INSTALL" ] && exit 0
[ "x$2" = "xDEINSTALL" ] && exit 0
-PREFIX=${PKG_PREFIX:-/usr/X11R6}
+PREFIX=${PKG_PREFIX:-/usr/local}
PKG_NAME=${1%%-[0-9._]*}