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

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

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

CVSweb <webmaster@jp.NetBSD.org>