aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-libraries
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-03-27 01:34:37 +0800
committersf <sf@FreeBSD.org>2001-03-27 01:34:37 +0800
commit498498a22c498c27c6698e7203df12dee43ec190 (patch)
tree7c577598207c28964e506b4c70871ae70ea7bb9d /x11/XFree86-4-libraries
parentbb2b948c9b9e017ca7dae353f76a2877b1d78d42 (diff)
downloadfreebsd-ports-graphics-498498a22c498c27c6698e7203df12dee43ec190.tar.gz
freebsd-ports-graphics-498498a22c498c27c6698e7203df12dee43ec190.tar.zst
freebsd-ports-graphics-498498a22c498c27c6698e7203df12dee43ec190.zip
install freetype-config.
This should solve build problem of freetype2 apprications.
Diffstat (limited to 'x11/XFree86-4-libraries')
-rw-r--r--x11/XFree86-4-libraries/Makefile13
-rw-r--r--x11/XFree86-4-libraries/pkg-plist1
2 files changed, 11 insertions, 3 deletions
diff --git a/x11/XFree86-4-libraries/Makefile b/x11/XFree86-4-libraries/Makefile
index c36ba6c8cad..ee0df8594a4 100644
--- a/x11/XFree86-4-libraries/Makefile
+++ b/x11/XFree86-4-libraries/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libraries
PORTVERSION= 4.0.3
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
@@ -81,8 +82,7 @@ PLIST_SUB+= OSMESA:=""
.endif
.if ${HasXdmAuth} == DEFAULT || ${HasXdmAuth} == YES
-.if defined(USA_RESIDENT)
-.if ${USA_RESIDENT} == YES
+.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
pre-fetch:
@${ECHO}
@${ECHO} Assuming that you have fetched a USA-Legal Wraphelp.c.
@@ -95,9 +95,16 @@ DISTFILES+= Wraphelp.c
IGNOREFILES= Wraphelp.c
.endif
.endif
-.endif
do-configure:
cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure
+post-build:
+ cd ${WRKSRC}/extras/freetype2/builds/unix; \
+ ./configure --prefix=${PREFIX}
+
+post-install:
+ cd ${WRKSRC}/extras/freetype2/builds/unix; \
+ ${INSTALL_SCRIPT} freetype-config ${PREFIX}/bin
+
.include <bsd.port.post.mk>
diff --git a/x11/XFree86-4-libraries/pkg-plist b/x11/XFree86-4-libraries/pkg-plist
index 6143f28b5f8..893f0c48856 100644
--- a/x11/XFree86-4-libraries/pkg-plist
+++ b/x11/XFree86-4-libraries/pkg-plist
@@ -1,3 +1,4 @@
+bin/freetype-config
include/DPS/ColorSB.h
include/DPS/ColorSBP.h
include/DPS/DPSScrollW.h