diff options
Diffstat (limited to 'japanese/kanjipad/Makefile')
-rw-r--r-- | japanese/kanjipad/Makefile | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/japanese/kanjipad/Makefile b/japanese/kanjipad/Makefile index a11c5fc90730..381915f7cfde 100644 --- a/japanese/kanjipad/Makefile +++ b/japanese/kanjipad/Makefile @@ -6,21 +6,32 @@ # PORTNAME= kanjipad -PORTVERSION= 1.2.1 -PORTREVISION= 1 +PORTVERSION= 2.0.0 CATEGORIES= japanese x11 -MASTER_SITES= ftp://ftp.gtk.org/pub/users/otaylor/kanjipad/ +MASTER_SITES= http://fishsoup.net/software/kanjipad/ MAINTAINER= ports@FreeBSD.org COMMENT= Japanese Handwriting recognition USE_X_PREFIX= yes -USE_XLIB= yes -USE_GNOME= gtk12 +USE_GNOME= gtk20 USE_PERL5= yes +USE_GMAKE= yes +MAKE_ARGS= OPTIMIZE="${CFLAGS}" PREFIX="${PREFIX}" \ + GTKINC="`pkg-config --cflags gtk+-2.0`" -post-install: - strip ${PREFIX}/bin/kanjipad - strip ${PREFIX}/bin/kpengine +PORTDOCS= README +PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat +PLIST_DIRS= %%DATADIR%% + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/kanjipad ${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/kpengine ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/jdata.dat ${DATADIR} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif .include <bsd.port.mk> |