1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/games/gtkatlantic/Makefile
Rusmir Dusko c5c27f87fe - Update to 0.4.4
- Change master sites and add icons
- Take maintainership
- Remove leading article from COMMENT
- Remove USES gmake, build good without
- Add licenses (GPLv2)
- Disable all warnings with -w
- Support STAGEDIR
- Add DOCS and Option
- Add Desktop entry file
- Remove obsolete REINPLACE,
- Add REINPLACE, make CFLAGS safe [1]
- Remove obsolete patches

PR:		ports/173352 ports/185932
Submitted by:	nemysis (self), KATO Tsuguru <tkato432@yahoo.com> [1]
2014-01-31 11:41:42 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtkatlantic
PORTVERSION= 0.4.4
CATEGORIES= games
MASTER_SITES= http://download.tuxfamily.org/gtkatlantic/downloads/v0.4/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}_icons${EXTRACT_SUFX}:icons
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Game like Monopoly(tm)
LICENSE= GPLv2
USE_BZIP2= yes
USES= pkgconfig
USE_GNOME= gtk20
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -w
LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= AUTHORS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS
INSTALLS_ICONS= yes
ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128
DESKTOP_ENTRIES="GtkAtlantic" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/s|-ggdb|$$CFLAGS|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|mkdir |$$(mkdir_p) |g' ${WRKSRC}/Makefile.in
post-install:
.for s in ${ICON_SIZES}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png
.endfor
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>