freebsd-ports/lang/mdk/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

55 lines
1.3 KiB
Makefile

# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$
PORTNAME= mdk
PORTVERSION= 1.2.9
PORTREVISION= 7
CATEGORIES= lang gnome
MASTER_SITES= GNU/${PORTNAME}/v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Set of utilities for developing programs using MIX and MIXAL
LICENSE= GPLv3
USE_GNOME= glib20 intltool
USES= gettext gmake ncurses pkgconfig readline:port
GNU_CONFIGURE= yes
TEST_TARGET= check
INFO= mdk
PLIST_FILES= bin/mixasm \
bin/mixvm \
share/locale/de/LC_MESSAGES/mdk.mo \
%%DATADIR%%/mixal-mode.el \
%%DATADIR%%/mixvm.el
OPTIONS_DEFINE= GLADE GUILE
OPTIONS_DEFAULT=GLADE GUILE
GLADE_CONFIGURE_ENABLE= gui
GLADE_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
GLADE_USE= GNOME=cairo,gdkpixbuf2,libglade2
GLADE_PLIST_FILES= bin/gmixvm \
%%DATADIR%%/mixgtk.glade
GUILE_CONFIGURE_WITH= guile
GUILE_LIB_DEPENDS= libguile-2.0.so:lang/guile2 \
libgc-threaded.so:devel/boehm-gc-threaded
GUILE_PLIST_FILES= bin/mixguile \
%%DATADIR%%/mixguile.scm \
%%DATADIR%%/mixguile-commands.scm \
%%DATADIR%%/mixguile-vm-stat.scm
post-patch:
@${REINPLACE_CMD} -e 's|-D.*_DISABLE_DEPRECATED||g' \
${WRKSRC}/configure
post-patch-GLADE-on:
# Fix path in command for default external editor
@${REINPLACE_CMD} -e 's|/usr/bin|${PREFIX}/bin|' \
${WRKSRC}/mixgtk/Makefile.in
.include <bsd.port.mk>