1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Compile and install the freetype extension.

This commit is contained in:
Jean-Marc Zucconi 2000-12-29 18:48:31 +00:00
parent 00ffe5b8dd
commit 9d0f3f17f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36444
5 changed files with 22 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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