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

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

1.182   ! jmmv        1: # $NetBSD: Makefile,v 1.181 2004/04/12 01:02:19 salo Exp $
1.1       tsarna      2: #
                      3:
1.182   ! jmmv        4: DISTNAME=      pkglint-3.70
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.180     jschauma   31: SUBST_FILES=   lintpkgsrc.0 lintpkgsrc.1 lintpkgsrc.pl pkglint.1 pkglint.0
                     32: SUBST_FILES+=  pkglint.pl plist-clash.pl
                     33:
1.8       agc        34: .include "../../mk/bsd.prefs.mk"
                     35:
1.180     jschauma   36: do-build:
1.151     atatat     37:        @${MKDIR} ${WRKSRC}/src
1.180     jschauma   38: .for FILE in ${SUBST_FILES}
1.1       tsarna     39:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
1.120     agc        40:                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
1.92      abs        41:                -e 's|@DISTVER@|${DISTVER}|g'           \
1.146     schmonz    42:                -e 's|@MAKE@|${MAKE}|g'                 \
1.175     wiz        43:                -e 's|@PERL@|${PERL5}|g'                \
1.180     jschauma   44:                ${FILESDIR}/${FILE} > ${WRKSRC}/${FILE}
1.9       abs        45: .endfor
1.180     jschauma   46: .if ${OPSYS} == "SunOS" || ${OPSYS} == "AIX"
                     47:    # the pre-generated man-pages are 'mandoc';  these OS need 'man'
                     48: .  for FILE in lintpkgsrc pkglint
                     49:        nroff -man ${WRKSRC}/${FILE}.1 > ${WRKSRC}/${FILE}.0
                     50: .  endfor
                     51: .endif
1.1       tsarna     52:
                     53: do-install:
1.180     jschauma   54:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint.pl ${PREFIX}/bin/pkglint
                     55:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc.pl ${PREFIX}/bin/lintpkgsrc
                     56:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash.pl ${PREFIX}/bin/plist-clash
1.9       abs        57:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     58:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     59:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     60:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     61:
                     62: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>