094d906123
prevent massive PORTREVISION bumps. Bump dependent ports that have not been bumped since.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtktetcolor
|
|
DISTVERSION= 0.6.5pre3
|
|
PORTREVISION= 2
|
|
CATEGORIES= games gnome
|
|
MASTER_SITES= ftp://canopus.iacp.dvo.ru/pub/Games/gtktetcolor/ \
|
|
SF/nemysisfreebsdp/games/${PORTNAME}/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icons
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Game for GNOME that resembles well-known Tetris and Columns
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:textproc/p5-XML-Parser
|
|
|
|
USES= gmake pathfix pkgconfig tar:bzip2
|
|
USE_GNOME= gnomeprefix intlhack libgnomeui
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-D.*_DISABLE_DEPRECATED||g'
|
|
@${REINPLACE_CMD} -e 's|^Icon.*|Icon=${PORTNAME}|' \
|
|
${WRKSRC}/src/gtktetcolor.desktop.in
|
|
|
|
.if ! ${PORT_OPTIONS:MNLS}
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|po||g' ${WRKSRC}/Makefile.in
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|