aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-03-29 02:34:20 +0800
committermarcus <marcus@FreeBSD.org>2003-03-29 02:34:20 +0800
commit352babee2b8b766177e9e7e216b4ee65c1d253fa (patch)
tree6bf1402a181b8d2a936310d84a951832e9a5c812 /x11-fonts
parent9078a69f26e83bb780d720cdea0b69bbe39873f8 (diff)
downloadfreebsd-ports-graphics-352babee2b8b766177e9e7e216b4ee65c1d253fa.tar.gz
freebsd-ports-graphics-352babee2b8b766177e9e7e216b4ee65c1d253fa.tar.zst
freebsd-ports-graphics-352babee2b8b766177e9e7e216b4ee65c1d253fa.zip
Make sure the include directory exists before trying to copy files into
it. PR: 50392 Submitted by: edwin
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/Xft/Makefile3
-rw-r--r--x11-fonts/libXft/Makefile3
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-fonts/Xft/Makefile b/x11-fonts/Xft/Makefile
index 6d8c227062c..48c87b152d5 100644
--- a/x11-fonts/Xft/Makefile
+++ b/x11-fonts/Xft/Makefile
@@ -40,6 +40,9 @@ BROKEN= Xft2 requires XFree86 4.x to build.
pre-patch:
@${REINPLACE_CMD} -e 's|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
+pre-install:
+ -${MKDIR} ${PREFIX}/include/X11/Xft
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/Xft.man ${PREFIX}/man/man3/Xft.3
diff --git a/x11-fonts/libXft/Makefile b/x11-fonts/libXft/Makefile
index 6d8c227062c..48c87b152d5 100644
--- a/x11-fonts/libXft/Makefile
+++ b/x11-fonts/libXft/Makefile
@@ -40,6 +40,9 @@ BROKEN= Xft2 requires XFree86 4.x to build.
pre-patch:
@${REINPLACE_CMD} -e 's|[(]LIBDIR[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
+pre-install:
+ -${MKDIR} ${PREFIX}/include/X11/Xft
+
post-install:
@${INSTALL_DATA} ${WRKSRC}/Xft.man ${PREFIX}/man/man3/Xft.3