summaryrefslogtreecommitdiff
path: root/japanese/p5-PDFJ/Makefile
blob: c781563ee6b2e1280c23f1e94f286beb3e917d88 (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
30
31
32
33
# $FreeBSD$

PORTNAME=	PDFJ
PORTVERSION=	0.90
PORTREVISION=	2
CATEGORIES=	japanese perl5
MASTER_SITES=	http://hp1.jonex.ne.jp/%7Enakajima.yasushi/archives/

MAINTAINER=	kuriyama@FreeBSD.org
COMMENT=	PDFJ module provides methods to generate Japanese PDF file

USES=		perl5
USE_ZIP=	YES
USE_PERL5=	configure
WRKSRC=		${WRKDIR}
EXTRACT_BEFORE_ARGS=	-qo -a

NO_STAGE=	yes
.include <bsd.port.pre.mk>

PKGNAMEPREFIX:=	${PKGNAMEPREFIX}p5-

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/util/xpdfj.pl ${PREFIX}/bin
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
	${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}
	${MKDIR} ${DATADIR}/macro
	${INSTALL_DATA} ${WRKSRC}/macro/*.inc ${DATADIR}/macro

.include <bsd.port.post.mk>