1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/games/gnono/Makefile
Baptiste Daroussin 3147bb6c6b Make libgnome and libgnomeui not implying esound dependency
It has been a while both does not depend anymore on esound, before this change
esound dependency was wrongly added to plenty of packages which actually does
not depend on it.

While here:

- audio/glame: remove esound support
- games/monkeybubble: add an explicit dependency on esound
- sysutils/gnome-schedule: add en explicit dependency on pkg-config
- comms/kb: add missing dependency on pkgconfig
- x11-toolkits/libgnomeui:
  * update to 2.4.5
  * use USES=localbase
2018-03-26 12:38:56 +00:00

37 lines
946 B
Makefile

# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= gnono
PORTVERSION= 1.9.1
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Uno card game
USE_GNOME= gtk20 libgnomeui intltool
USES= gettext gmake pkgconfig tar:bzip2
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -E -e \
's|-DG.*_DISABLE_DEPRECATED||g' -e 's|-Werror||g'
@${REINPLACE_CMD} -e 's|glib/garray.h|glib.h|g' \
-e 's|glib/gmessages.h|glib.h|g' \
-e 's|glib/gtypes.h|glib.h|g' \
-e 's|glib/gmem.h|glib.h|g' \
-e 's|glib/gmain.h|glib.h|g' \
${WRKSRC}/src/ai.[ch] \
${WRKSRC}/src/cards.[ch] \
${WRKSRC}/src/game.[ch] \
${WRKSRC}/src/interface.[ch] \
${WRKSRC}/src/main.c \
${WRKSRC}/src/players.[ch] \
${WRKSRC}/src/preferences.[ch]
.include <bsd.port.mk>