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

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

1.149   ! atatat      1: # $NetBSD: Makefile,v 1.148 2003/01/15 23:41:31 rh Exp $
1.1       tsarna      2: #
                      3:
1.149   ! atatat      4: DISTNAME=      pkglint-3.44
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:
                     17: EXTRACT_ONLY=  # empty
1.109     agc        18: WRKSRC=                ${WRKDIR}
1.1       tsarna     19: NO_CHECKSUM=   yes
                     20: NO_CONFIGURE=  yes
                     21:
1.120     agc        22: MAKE_ENV=      PKGSRCDIR=${_PKGSRCDIR}
1.1       tsarna     23:
1.92      abs        24: DISTVER=       ${DISTNAME:S/pkglint-//}
                     25:
1.8       agc        26: .include "../../mk/bsd.prefs.mk"
                     27:
1.12      agc        28: .if ${OPSYS} == "SunOS"
1.74      tron       29: # This doesn't create readable manual pages. "mandoc" should be added
                     30: # to zoularis.
                     31: NROFF=         nroff -man
1.12      agc        32: .else
1.74      tron       33: NROFF=         nroff -mandoc
1.12      agc        34: .endif
                     35:
1.1       tsarna     36: do-build:
1.75      tron       37: .for FILE in pkglint lintpkgsrc plist-clash
1.1       tsarna     38:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
1.120     agc        39:                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
1.92      abs        40:                -e 's|@DISTVER@|${DISTVER}|g'           \
1.146     schmonz    41:                -e 's|@MAKE@|${MAKE}|g'                 \
1.75      tron       42:                < ${FILESDIR}/${FILE}.pl                \
                     43:                > ${WRKSRC}/${FILE}
1.9       abs        44: .endfor
1.75      tron       45: .for FILE in pkglint lintpkgsrc
1.1       tsarna     46:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
1.120     agc        47:                -e 's|@PORTSDIR@|${_PKGSRCDIR}|g'       \
1.146     schmonz    48:                -e 's|@MAKE@|${MAKE}|g'                 \
1.75      tron       49:                < ${FILESDIR}/${FILE}.1                 \
                     50:                > ${WRKSRC}/${FILE}.1
                     51:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        52: .endfor
1.1       tsarna     53:
                     54: do-install:
                     55:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     56:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     57:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        58:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     59:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     60:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     61:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     62:
                     63: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>