[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / pkgtools / pkglint

Annotation of pkgsrc/pkgtools/pkglint/Makefile, Revision 1.233

1.233   ! wiz         1: # $NetBSD: Makefile,v 1.232 2005/05/07 15:10:24 rillig Exp $
1.1       tsarna      2: #
                      3:
1.232     rillig      4: DISTNAME=      pkglint-4.13
1.112     zuntum      5: CATEGORIES=    pkgtools devel
                      6: MASTER_SITES=  # empty
                      7: DISTFILES=     # empty
1.1       tsarna      8:
1.230     rillig      9: MAINTAINER=    rillig@NetBSD.org
1.233   ! wiz        10: HOMEPAGE=      ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
1.112     zuntum     11: COMMENT=       Verifier for NetBSD packages and complete pkgsrc tree
1.101     hubertf    12:
1.142     schmonz    13: DEPENDS+=      digest>=20010101:../../pkgtools/digest
1.1       tsarna     14:
1.174     jlam       15: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.1       tsarna     16:
1.174     jlam       17: USE_PERL5=     yes
                     18:
1.176     agc        19: WRKSRC=                ${WRKDIR}
1.1       tsarna     20: NO_CHECKSUM=   yes
                     21: NO_CONFIGURE=  yes
1.178     markd      22: USE_LANGUAGES= # empty
1.1       tsarna     23:
1.92      abs        24: DISTVER=       ${DISTNAME:S/pkglint-//}
                     25:
1.216     rillig     26: INSTALLATION_DIRS=     bin man/cat1 man/man1 share/pkglint
1.174     jlam       27:
1.207     wiz        28: SUBST_CLASSES+=                pkglint
                     29: SUBST_STAGE.pkglint=   pre-build
                     30: SUBST_FILES.pkglint+=  lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl
                     31: SUBST_FILES.pkglint+=  pkglint.0 pkglint.1 pkglint.pl
                     32: SUBST_FILES.pkglint+=  plist-clash.pl
                     33: SUBST_SED.pkglint+=    -e 's|@PREFIX@|${PREFIX}|g'
                     34: SUBST_SED.pkglint+=    -e 's|@PKGSRCDIR@|${PKGSRCDIR}|g'
                     35: SUBST_SED.pkglint+=    -e 's|@DISTVER@|${DISTVER}|g'
                     36: SUBST_SED.pkglint+=    -e 's|@MAKE@|${MAKE}|g'
                     37: SUBST_SED.pkglint+=    -e 's|@PERL@|${PERL5}|g'
1.216     rillig     38: SUBST_SED.pkglint+=    -e 's|@DATADIR@|${PREFIX}/share/pkglint|g'
1.180     jschauma   39:
1.8       agc        40: .include "../../mk/bsd.prefs.mk"
                     41:
1.186     jschauma   42: do-extract:
1.207     wiz        43: .for _f_ in ${SUBST_FILES.pkglint}
                     44:        @${CP} ${FILESDIR}/${_f_} ${WRKSRC}/${_f_}
1.186     jschauma   45: .endfor
                     46:
1.180     jschauma   47: do-build:
1.207     wiz        48:        @${DO_NADA}
1.180     jschauma   49: .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
                     50:    # the pre-generated man-pages are 'mandoc';  these OS need 'man'
                     51: .  for FILE in lintpkgsrc pkglint
                     52:        nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
                     53: .  endfor
                     54: .endif
1.1       tsarna     55:
                     56: do-install:
1.180     jschauma   57:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
                     58:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
                     59:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
1.9       abs        60:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     61:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     62:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     63:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
1.216     rillig     64:        ${INSTALL_DATA} ${FILESDIR}/makevars.map ${PREFIX}/share/pkglint/
1.232     rillig     65:        ${INSTALL_DATA} ${FILESDIR}/deprecated.map ${PREFIX}/share/pkglint/
1.1       tsarna     66:
                     67: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>