aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-fontserver/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-fontserver/Makefile')
-rw-r--r--x11-servers/xorg-fontserver/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/x11-servers/xorg-fontserver/Makefile b/x11-servers/xorg-fontserver/Makefile
index 05a37a85afd4..3d63b4ba0f20 100644
--- a/x11-servers/xorg-fontserver/Makefile
+++ b/x11-servers/xorg-fontserver/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xorg-fontserver
PORTVERSION= 6.8.1
+PORTREVISION= 1
CATEGORIES= x11-servers
MASTER_SITES= ${MASTER_SITE_XORG}
MASTER_SITE_SUBDIR= X11R${PORTVERSION}/tars
@@ -28,7 +29,13 @@ XBUILD_DIRS= programs/xfs
XINCLUDE_DIRS= lib/xtrans
XMAN_DIRS= programs/xfs
+post-build:
+ @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \
+ -e 's|%%RC_SUBR%%|${RC_SUBR}|g' \
+ ${FILESDIR}/xfs.sh >${WRKDIR}/xfs.sh
+
post-install:
+ @${INSTALL_SCRIPT} ${WRKDIR}/xfs.sh ${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKSRC}/programs/xfs/config \
${PREFIX}/lib/X11/fs/config.default