summaryrefslogtreecommitdiff
path: root/japanese/ja6/Makefile
blob: 91fb74b14370fb5400ef42a63f593fb10ca0a3d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Nicola Vitale	<nivit@email.it>
# $FreeBSD$

PORTNAME=	ja6
PORTVERSION=	2003.03.09.l
CATEGORIES=	japanese
MASTER_SITES=	http://members.tripod.com/~so_o2/ \
		http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
DISTVERSIONSUFFIX=	-bin

MAINTAINER=	nivit@FreeBSD.org
COMMENT=	A Japanese Symbols Trainer

NO_BUILD=	yes
ONLY_FOR_ARCHS=	i386 amd64

USE_LINUX=	yes

NO_STAGE=	yes
do-install:
	@${INSTALL} -d ${DATADIR}
	${CP} -Rp ${WRKSRC}/ ${DATADIR}/
	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}/
	@${CHMOD} -R a+rx,go-w ${DATADIR}/
	@${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/${PORTNAME}-run
	@${ECHO_CMD} 'exec ${DATADIR}/ja6 -p ${DATADIR} "$$@"' >> ${WRKDIR}/${PORTNAME}-run
	${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}-run ${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>