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

PORTNAME=   PDFJ
PORTVERSION=    0.84
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

USE_ZIP=    YES
PERL_CONFIGURE= YES
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>