[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / p5-mobiperl

Annotation of pkgsrc/textproc/p5-mobiperl/Makefile, Revision 1.14

1.14    ! wiz         1: # $NetBSD: Makefile,v 1.13 2017/06/05 14:25:01 ryoon Exp $
1.1       wiz         2: #
                      3:
                      4: DISTNAME=      mobiperl-0.0.43
                      5: PKGNAME=       p5-${DISTNAME}
1.13      ryoon       6: PKGREVISION=   10
1.1       wiz         7: CATEGORIES=    textproc
                      8: # no https support in pkgsrc
                      9: MASTER_SITES=  # https://dev.mobileread.com/dist/tompe/mobiperl/
                     10: EXTRACT_SUFX=  .tar
                     11:
                     12: MAINTAINER=    pkgsrc-users@NetBSD.org
1.14    ! wiz        13: #HOMEPAGE=     https://dev.mobileread.com/trac/mobiperl/wiki
1.1       wiz        14: COMMENT=       Tools for generating and manipulating MobiPocket files
                     15: LICENSE=       gnu-gpl-v3
                     16:
                     17: DEPENDS+=      p5-Palm-[0-9]*:../../databases/p5-Palm
                     18: DEPENDS+=      p5-Getopt-Mixed-[0-9]*:../../devel/p5-Getopt-Mixed
                     19: DEPENDS+=      p5-GD-[0-9]*:../../graphics/p5-GD
                     20: DEPENDS+=      p5-Image-Size-[0-9]*:../../graphics/p5-Image-Size
                     21: DEPENDS+=      p5-Image-BMP-[0-9]*:../../graphics/p5-Image-BMP
1.10      wiz        22: #DEPENDS+=     {perl>=5.7.3,p5-Encode-[0-9]*}:../../textproc/p5-Encode
1.1       wiz        23: DEPENDS+=      p5-XML-Parser-Lite-Tree-[0-9]*:../../textproc/p5-XML-Parser-Lite-Tree
                     24: DEPENDS+=      p5-TimeDate-[0-9]*:../../time/p5-TimeDate
                     25: DEPENDS+=      p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
                     26:
                     27: INSTALLATION_DIRS=     bin ${PERL5_INSTALLVENDORLIB}/MobiPerl
                     28: INSTALLATION_DIRS+=    ${PERL5_INSTALLVENDORLIB}/Palm
                     29: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     30:
                     31: REPLACE_PERL=          *mobi*
                     32: USE_TOOLS+=            pod2man
                     33:
                     34: do-build:
                     35:        cd ${WRKSRC} && \
                     36:        pod2man mobi2mobi > mobi2mobi.1; \
                     37:        pod2man mobils > mobils.1; \
                     38:        pod2man mobi2html > mobi2html.1; \
                     39:        pod2man lit2mobi > lit2mobi.1; \
                     40:        pod2man opf2mobi > opf2mobi.1; \
                     41:        pod2man html2mobi > html2mobi.1
                     42:
                     43: do-install:
                     44:        ${INSTALL_DATA} ${WRKSRC}/MobiPerl/* ${DESTDIR}${PERL5_INSTALLVENDORLIB}/MobiPerl
                     45:        ${INSTALL_DATA} ${WRKSRC}/Palm/* ${DESTDIR}${PERL5_INSTALLVENDORLIB}/Palm
                     46: .for file in html2mobi lit2mobi mobi2html mobi2mobi mobils opf2mobi
                     47:        ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/bin
                     48: .endfor
                     49:        ${INSTALL_DATA} ${WRKSRC}/*.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
                     50:
                     51: .include "../../lang/perl5/buildlink3.mk"
                     52: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>