1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/japanese/kanjipad/Makefile
John Marino 560d2eb0bf Explicitly link libraries on 10 unmaintained ports
The following ports will not build with a binutils 2.22+ linker built
with standard options.  This has been obvious with DPorts, but difficult
to see on FreeBSD.  However, setting the ports compiler as a recent gcc
(e.g lang/gcc48) is an excellent way to detect the unspecified but needed
libraries as these recent GCC compilers use the latest binutils linkers.
These patches were tested on FreeBSD 8.4 and DragonFly 3.5
2013-10-07 23:40:23 +00:00

35 lines
859 B
Makefile

# Created by: Christophe Juniet <cjuniet@entreview.com>
# $FreeBSD$
PORTNAME= kanjipad
PORTVERSION= 2.0.0
PORTREVISION= 7
CATEGORIES= japanese x11
MASTER_SITES= http://fishsoup.net/software/kanjipad/
MAINTAINER= ports@FreeBSD.org
COMMENT= Japanese Handwriting recognition
USES= perl5 gmake pkgconfig
USE_GNOME= gtk20
MAKE_ARGS= OPTIMIZE="${CFLAGS}" PREFIX="${PREFIX}" \
GTKINC="`pkg-config --cflags gtk+-2.0`"
LDFLAGS+= -lm
PORTDOCS= README
PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
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>