aboutsummaryrefslogtreecommitdiff
path: root/graphics/ming/Makefile
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 06:15:07 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2021-08-07 06:15:07 +0000
commit600b48f2d263963f1d0b30849ae7eed6dd0ab8dc (patch)
treee82e1227920c5be0ba91e99b842c1a5fc467e98b /graphics/ming/Makefile
parent26620b919510c8af4b9bb47e44d764dd9f5989d9 (diff)
Diffstat (limited to 'graphics/ming/Makefile')
-rw-r--r--graphics/ming/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/ming/Makefile b/graphics/ming/Makefile
index 2b294d4ebb3c..270af1bf4025 100644
--- a/graphics/ming/Makefile
+++ b/graphics/ming/Makefile
@@ -17,7 +17,7 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libgif.so:graphics/giflib \
libpng.so:graphics/png
-USES= autoreconf bison gmake libtool localbase pathfix shebangfix
+USES= autoreconf bison gmake libtool localbase pathfix pkgconfig shebangfix
CFLAGS+= -fcommon # https://github.com/libming/libming/issues/55
CONFIGURE_ARGS= --includedir=${PREFIX}/include/ming
@@ -40,6 +40,8 @@ SHEBANG_FILES= util/cws2fws
OPTIONS_DEFINE= DOCS
+BINARY_ALIAS= freetype-config=true
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/include/ming/ ${STAGEDIR}${PREFIX}/include/ming/blocks/ ${STAGEDIR}${PREFIX}/include/ming/util/
cd ${WRKSRC}/util/ && ${INSTALL_SCRIPT} cws2fws ming-config ${STAGEDIR}${PREFIX}/bin/