summaryrefslogtreecommitdiff
path: root/japanese/p5-PDFJ/Makefile
blob: a90af7577eaec98dc1dca4e8380ee25e555775a0 (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
34
35
36
37
# New ports collection makefile for:	p5-PDFJ
# Date created:		Oct 22, 2002
# Whom:			kuriyama@FreeBSD.org
#
# $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

.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>