summaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2000-12-29 18:48:31 +0000
committerjmz <jmz@FreeBSD.org>2000-12-29 18:48:31 +0000
commit63ba5c6fec079e5b6657a374e523f16d6c973552 (patch)
treeb2a591426291710a0c2e620732f6c07124981600 /x11/XFree86-4
parentea06cdd2a15bf2e3fe92aa4039adec3154af3494 (diff)
downloadFreeBSD-ports-63ba5c6fec079e5b6657a374e523f16d6c973552.zip
FreeBSD-ports-63ba5c6fec079e5b6657a374e523f16d6c973552.tar.gz
Compile and install the freetype extension.
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r--x11/XFree86-4/Makefile8
-rw-r--r--x11/XFree86-4/pkg-plist4
-rw-r--r--x11/XFree86-4/pkg-plist.alpha4
-rw-r--r--x11/XFree86-4/pkg-plist.pc984
-rw-r--r--x11/XFree86-4/scripts/configure7
5 files changed, 22 insertions, 5 deletions
diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile
index bf17ffe..36f5b9f 100644
--- a/x11/XFree86-4/Makefile
+++ b/x11/XFree86-4/Makefile
@@ -7,7 +7,7 @@
PORTNAME= XFree86
PORTVERSION= 4.0.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -85,10 +85,16 @@ post-patch:
${WRKSRC}/include/Xarch.h; fi
.endif
+pre-build:
+ @cd ${WRKSRC}/extras/freetype2 && make -f Makefile.freetype
pre-install:
${MKDIR} ${PREFIX}
post-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/extras/freetype2/lib/libfreetype.a ${PREFIX}/lib
+ ${INSTALL_PROGRAM} ${WRKSRC}/extras/freetype2/lib/libfreetype.so.6 ${PREFIX}/lib
+ ln -sf ${PREFIX}/lib/libfreetype.so.6 ${PREFIX}/lib/libfreetype.so
+
.ifndef DISTRIB
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.endif
diff --git a/x11/XFree86-4/pkg-plist b/x11/XFree86-4/pkg-plist
index 88b77ef..96cc4a6 100644
--- a/x11/XFree86-4/pkg-plist
+++ b/x11/XFree86-4/pkg-plist
@@ -273,6 +273,7 @@ include/X11/Xcms.h
include/X11/Xdefs.h
include/X11/Xdmcp.h
include/X11/Xft/Xft.h
+include/X11/Xft/XftFreetype.h
include/X11/Xfuncproto.h
include/X11/Xfuncs.h
include/X11/Xlib.h
@@ -3252,6 +3253,9 @@ lib/libdpstk.a
lib/libdpstk.so
lib/libdpstk.so.1
lib/libfntstubs.a
+lib/libfreetype.a
+lib/libfreetype.so
+lib/libfreetype.so.6
lib/liboldX.a
lib/liboldX.so
lib/liboldX.so.6
diff --git a/x11/XFree86-4/pkg-plist.alpha b/x11/XFree86-4/pkg-plist.alpha
index dfedad8..03418e5 100644
--- a/x11/XFree86-4/pkg-plist.alpha
+++ b/x11/XFree86-4/pkg-plist.alpha
@@ -272,6 +272,7 @@ include/X11/Xcms.h
include/X11/Xdefs.h
include/X11/Xdmcp.h
include/X11/Xft/Xft.h
+include/X11/Xft/XftFreetype.h
include/X11/Xfuncproto.h
include/X11/Xfuncs.h
include/X11/Xlib.h
@@ -3249,6 +3250,9 @@ lib/libdpstk.a
lib/libdpstk.so
lib/libdpstk.so.1
lib/libfntstubs.a
+lib/libfreetype.a
+lib/libfreetype.so
+lib/libfreetype.so.6
lib/liboldX.a
lib/liboldX.so
lib/liboldX.so.6
diff --git a/x11/XFree86-4/pkg-plist.pc98 b/x11/XFree86-4/pkg-plist.pc98
index 88b77ef..96cc4a6 100644
--- a/x11/XFree86-4/pkg-plist.pc98
+++ b/x11/XFree86-4/pkg-plist.pc98
@@ -273,6 +273,7 @@ include/X11/Xcms.h
include/X11/Xdefs.h
include/X11/Xdmcp.h
include/X11/Xft/Xft.h
+include/X11/Xft/XftFreetype.h
include/X11/Xfuncproto.h
include/X11/Xfuncs.h
include/X11/Xlib.h
@@ -3252,6 +3253,9 @@ lib/libdpstk.a
lib/libdpstk.so
lib/libdpstk.so.1
lib/libfntstubs.a
+lib/libfreetype.a
+lib/libfreetype.so
+lib/libfreetype.so.6
lib/liboldX.a
lib/liboldX.so
lib/liboldX.so.6
diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure
index 5796511..0507e32d 100644
--- a/x11/XFree86-4/scripts/configure
+++ b/x11/XFree86-4/scripts/configure
@@ -294,10 +294,9 @@ echo
yesno YES "Do you want to compile with PAM support?"
echo "#define HasPam $answ" >> $F
-echo
-echo
-echo "End of configuration questions. No more user input required"
-echo
+cp $FILESDIR/Makefile.freetype $WRKDIR/xc/extras/freetype2
+(cd $WRKDIR/xc/extras/freetype2; ln -s obj lib; cd include; ln -s ../include freetype2 )
+echo "#define Freetype2Dir $WRKDIR/xc/extras/freetype2" >> $F
}
configure
OpenPOWER on IntegriCloud