summaryrefslogtreecommitdiffstats
path: root/japanese/p5-nkf/Makefile
blob: 022c075e8cf1d701f410f1525c7eb820a53cd5d0 (plain)
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
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	p5-nkf
# Date created:		23 Feb 2000
# Whom:			max
#
# $FreeBSD$
#

PORTNAME=	nkf
PORTVERSION=	1.92
PORTREVISION=	1
CATEGORIES=	japanese perl5
MASTER_SITES=	ftp://ftp.ie.u-ryukyu.ac.jp/pub/software/kono/
PKGNAMEPREFIX=	ja-p5-
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX=	.shar

MAINTAINER=	max@FreeBSD.org

PERL_CONFIGURE=	yes

EXTRACT_CMD=	${SH}
EXTRACT_BEFORE_ARGS=	# Empty
EXTRACT_AFTER_ARGS=	> /dev/null
WRKSRC=		${WRKDIR}/NKF
MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=		NKF.3

do-extract:
	@${RM} -rf ${WRKDIR}
	@${MKDIR} ${WRKDIR}/NKF
	@for file in ${EXTRACT_ONLY}; do \
		if ! (cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS});\
		then \
			exit 1; \
		fi \
	done

.include <bsd.port.mk>
OpenPOWER on IntegriCloud