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

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

1.144   ! schmonz     1: # $NetBSD: Makefile,v 1.143 2002/12/10 12:42:40 wiz Exp $
1.1       tsarna      2: #
                      3:
1.144   ! schmonz     4: DISTNAME=      pkglint-3.39
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_PATCH=      yes
                     21: NO_CONFIGURE=  yes
                     22:
1.120     agc        23: MAKE_ENV=      PKGSRCDIR=${_PKGSRCDIR}
1.1       tsarna     24:
1.92      abs        25: DISTVER=       ${DISTNAME:S/pkglint-//}
                     26:
1.8       agc        27: .include "../../mk/bsd.prefs.mk"
                     28:
1.12      agc        29: .if ${OPSYS} == "SunOS"
1.74      tron       30: # This doesn't create readable manual pages. "mandoc" should be added
                     31: # to zoularis.
                     32: NROFF=         nroff -man
1.12      agc        33: .else
1.74      tron       34: NROFF=         nroff -mandoc
1.12      agc        35: .endif
                     36:
1.1       tsarna     37: do-build:
1.75      tron       38: .for FILE in pkglint lintpkgsrc plist-clash
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.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.75      tron       48:                < ${FILESDIR}/${FILE}.1                 \
                     49:                > ${WRKSRC}/${FILE}.1
                     50:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        51: .endfor
1.1       tsarna     52:
                     53: do-install:
                     54:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     55:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     56:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${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>