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

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

1.179   ! wiz         1: # $NetBSD: Makefile,v 1.178 2004/02/19 21:22:02 markd Exp $
1.1       tsarna      2: #
                      3:
1.179   ! wiz         4: DISTNAME=      pkglint-3.68
1.112     zuntum      5: CATEGORIES=    pkgtools devel
                      6: MASTER_SITES=  # empty
                      7: DISTFILES=     # empty
1.1       tsarna      8:
1.163     grant       9: MAINTAINER=    hubertf@NetBSD.org
                     10: HOMEPAGE=      ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/Packages.txt
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.174     jlam       20: NO_BUILDLINK=  yes
1.1       tsarna     21: NO_CHECKSUM=   yes
                     22: NO_CONFIGURE=  yes
1.178     markd      23: USE_LANGUAGES= # empty
1.1       tsarna     24:
1.152     abs        25: MAKE_ENV=      PKGSRCDIR=${_PKGSRCDIR:Q}
1.1       tsarna     26:
1.92      abs        27: DISTVER=       ${DISTNAME:S/pkglint-//}
                     28:
1.174     jlam       29: INSTALLATION_DIRS=     bin man/cat1 man/man1
                     30:
1.8       agc        31: .include "../../mk/bsd.prefs.mk"
                     32:
1.12      agc        33: .if ${OPSYS} == "SunOS"
1.74      tron       34: # This doesn't create readable manual pages. "mandoc" should be added
                     35: # to zoularis.
                     36: NROFF=         nroff -man
1.12      agc        37: .else
1.74      tron       38: NROFF=         nroff -mandoc
1.12      agc        39: .endif
                     40:
1.151     atatat     41: do-extract:
                     42:        @${MKDIR} ${WRKSRC}/src
                     43: .for FILE in lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.pl plist-clash.pl
                     44:        ${CP} ${FILESDIR}/${FILE} ${WRKSRC}/src/${FILE}
                     45: .endfor
                     46:
1.1       tsarna     47: do-build:
1.75      tron       48: .for FILE in pkglint lintpkgsrc plist-clash
1.1       tsarna     49:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
1.120     agc        50:                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
1.92      abs        51:                -e 's|@DISTVER@|${DISTVER}|g'           \
1.146     schmonz    52:                -e 's|@MAKE@|${MAKE}|g'                 \
1.175     wiz        53:                -e 's|@PERL@|${PERL5}|g'                \
1.151     atatat     54:                < ${WRKSRC}/src/${FILE}.pl              \
1.75      tron       55:                > ${WRKSRC}/${FILE}
1.9       abs        56: .endfor
1.75      tron       57: .for FILE in pkglint lintpkgsrc
1.1       tsarna     58:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
1.120     agc        59:                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
1.146     schmonz    60:                -e 's|@MAKE@|${MAKE}|g'                 \
1.151     atatat     61:                < ${WRKSRC}/src/${FILE}.1               \
1.75      tron       62:                > ${WRKSRC}/${FILE}.1
                     63:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        64: .endfor
1.1       tsarna     65:
                     66: do-install:
                     67:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     68:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     69:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        70:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     71:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     72:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     73:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     74:
                     75: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>