openbsd-ports/japanese/kanjipad/Makefile

33 lines
770 B
Makefile

# $OpenBSD: Makefile,v 1.5 2007/09/16 00:33:57 merdely Exp $
COMMENT=japanese handwriting recognition
CATEGORIES=japanese
HOMEPAGE=http://www.gtk.org/~otaylor/kanjipad/
DISTNAME=kanjipad-1.2.1
PKGNAME=${DISTNAME}p0
MASTER_SITES=ftp://ftp.gtk.org/pub/users/otaylor/kanjipad/
# GPL
PERMIT_PACKAGE_FTP=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_DISTFILES_CDROM=Yes
LIB_DEPENDS=gmodule,gtk,gdk::x11/gtk+ \
glib::devel/glib
MODULES= devel/gettext
WANTLIB= c Xext Xi X11 m
USE_X11= Yes
MAKE_FLAGS=OPTIMIZE='${CFLAGS}' PREFIX=${PREFIX}
FAKE_FLAGS=PREFIX=${WRKINST}${TRUEPREFIX} OPTIMIZE='${CFLAGS}'
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/kanjipad
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/kanjipad
.include <bsd.port.mk>