pkgsrc/games/freeciv-share/suppress_installation.mk

28 lines
1.4 KiB
Makefile

# $NetBSD: suppress_installation.mk,v 1.2 2013/05/23 15:02:53 joerg Exp $
# Makefile snippet to be included by freeciv-client and freeciv-server to
# prevent files installed by freeciv-share from being installed again.
SUBST_CLASSES+= installmanfix
SUBST_STAGE.installmanfix= pre-configure
SUBST_FILES.installmanfix= Makefile.in
SUBST_SED.installmanfix+= -e 's|po doc||g'
SUBST_MESSAGE.installmanfix= Suppressing installation of man pages and localization files already in freeciv-share.
SUBST_CLASSES+= installfix
SUBST_STAGE.installfix= pre-configure
SUBST_FILES.installfix= common/Makefile.in
SUBST_SED.installfix+= -e 's|^install-exec-am: install-libLTLIBRARIES|install-exec-am: \# install-libLTLIBRARIES|'
SUBST_MESSAGE.installfix= Suppressing installation of libs already in freeciv-share.
SUBST_CLASSES+= installmanfix2
SUBST_STAGE.installmanfix2= post-configure
SUBST_FILES.installmanfix2= Makefile
SUBST_SED.installmanfix2+= -e 's|po doc||g'
SUBST_MESSAGE.installmanfix2= Suppressing installation of man pages and localization files already in freeciv-share.
SUBST_CLASSES+= installfix2
SUBST_STAGE.installfix2= post-configure
SUBST_FILES.installfix2= common/Makefile
SUBST_SED.installfix2+= -e 's|^install-exec-am: install-libLTLIBRARIES|install-exec-am: \# install-libLTLIBRARIES|'
SUBST_MESSAGE.installfix2= Suppressing installation of libs already in freeciv-share.