2004-03-28 17:57:00 +00:00
|
|
|
# New ports collection makefile for: kanatest
|
|
|
|
# Date created: 2004-03-27
|
|
|
|
# Whom: S H A N <shanali@yahoo.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kanatest
|
2010-11-26 21:40:06 +00:00
|
|
|
PORTVERSION= 0.4.8
|
2004-03-28 17:57:00 +00:00
|
|
|
CATEGORIES= games
|
2010-11-26 21:40:06 +00:00
|
|
|
MASTER_SITES= http://clayo.org/kanatest/
|
2004-03-28 17:57:00 +00:00
|
|
|
|
2009-08-27 18:38:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-11-26 21:40:06 +00:00
|
|
|
COMMENT= A Japanese kana (Hiragana and Katakana) simple flashcard tool
|
2010-10-01 09:53:30 +00:00
|
|
|
|
2004-03-28 17:57:00 +00:00
|
|
|
USE_GMAKE= yes
|
2010-11-26 21:40:06 +00:00
|
|
|
USE_GETTEXT= yes
|
|
|
|
USE_GNOME= gtk20 libxml2
|
2004-03-28 17:57:00 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2010-11-26 21:40:06 +00:00
|
|
|
INSTALLS_ICONS= yes
|
|
|
|
MAKE_ENV+= LIBINTL="-lintl"
|
2004-03-28 17:57:00 +00:00
|
|
|
|
2010-11-26 21:40:06 +00:00
|
|
|
post-patch: .SILENT
|
|
|
|
${REINPLACE_CMD} '/LIBS/s|-lxml|-L${LOCALBASE}/lib &|' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
${REINPLACE_CMD} -e '/^%.mo:/,/^$$/s/test[^;]*/${TRUE}/' \
|
|
|
|
-e '\|/usr/bin| { s||${LOCALBASE}/bin|; s|=|?=|; }' \
|
|
|
|
${WRKSRC}/po/Makefile.in
|
|
|
|
${REINPLACE_CMD} -e '/GTK_WIDGET_SET_FLAGS/ { \
|
|
|
|
s//gtk_widget_set_can_default/; \
|
|
|
|
s/GTK_CAN_DEFAULT/TRUE/; }' \
|
|
|
|
-e '/GTK_WIDGET_UNSET_FLAGS/ { \
|
|
|
|
s//gtk_widget_set_can_focus/; \
|
|
|
|
s/GTK_CAN_FOCUS/FALSE/; }' \
|
|
|
|
${WRKSRC}/src/about.c \
|
|
|
|
${WRKSRC}/src/chart.c \
|
|
|
|
${WRKSRC}/src/gui.c \
|
|
|
|
${WRKSRC}/src/options.c \
|
|
|
|
${WRKSRC}/src/stats.c
|
|
|
|
post-install:
|
|
|
|
-update-desktop-database ${PREFIX}/share/applications
|
2004-03-29 15:02:17 +00:00
|
|
|
|
2004-03-28 17:57:00 +00:00
|
|
|
.include <bsd.port.mk>
|