aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-26 17:34:37 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-03-26 17:34:37 +0000
commit469addae1f56ccb7d25e3db8c8ba20cf69fec1e8 (patch)
tree67b07abceb3bfabd577f36a2e815f8c0adf7cf55 /x11
parentdbf1c5868e68f5b541458382259748a86c10a9ea (diff)
downloadports-469addae1f56ccb7d25e3db8c8ba20cf69fec1e8.tar.gz
ports-469addae1f56ccb7d25e3db8c8ba20cf69fec1e8.zip
install freetype-config.
This should solve build problem of freetype2 apprications.
Notes
Notes: svn path=/head/; revision=40407
Diffstat (limited to 'x11')
-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 c36ba6c8cade..ee0df8594a45 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 6143f28b5f88..893f0c488566 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