mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
33 lines
919 B
Makefile
33 lines
919 B
Makefile
# $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 shebangfix zip:infozip
|
|
USE_PERL5= configure
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_BEFORE_ARGS= -qo -a
|
|
SHEBANG_FILES= util/xpdfj.pl
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}p5-
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/util/xpdfj.pl ${STAGEDIR}${PREFIX}/bin
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${EXAMPLESDIR}
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/macro
|
|
${INSTALL_DATA} ${WRKSRC}/macro/*.inc ${STAGEDIR}${DATADIR}/macro
|
|
|
|
.include <bsd.port.post.mk>
|