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

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

1.101   ! hubertf     1: # $NetBSD: Makefile,v 1.100 2001/06/09 15:36:12 wiz Exp $
1.1       tsarna      2: #
                      3:
1.100     wiz         4: DISTNAME=              pkglint-3.00
1.4       tron        5: CATEGORIES=            pkgtools devel
1.1       tsarna      6: MASTER_SITES=          # empty
                      7: DISTFILES=             # empty
                      8:
1.21      hubertf     9: MAINTAINER=            hubertf@netbsd.org
1.72      dent       10: HOMEPAGE=              ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt
1.79      wiz        11: COMMENT=               Verifier for NetBSD packages and complete pkgsrc tree
1.101   ! hubertf    12:
        !            13: DEPENDS+=              digest-2001*:../../pkgtools/digest
1.1       tsarna     14:
                     15: USE_PERL5=             YES
                     16:
                     17: EXTRACT_ONLY=  # empty
                     18: NO_WRKSUBDIR=  yes
                     19: NO_CHECKSUM=   yes
                     20: NO_PATCH=      yes
                     21: NO_CONFIGURE=  yes
                     22:
1.7       kim        23: PKGSRCDIR?=    ${.CURDIR}/../..
                     24: MAKE_ENV=      PKGSRCDIR=${PKGSRCDIR}
1.1       tsarna     25:
1.92      abs        26: DISTVER=       ${DISTNAME:S/pkglint-//}
                     27:
1.8       agc        28: .include "../../mk/bsd.prefs.mk"
                     29:
1.12      agc        30: .if ${OPSYS} == "SunOS"
1.74      tron       31: # This doesn't create readable manual pages. "mandoc" should be added
                     32: # to zoularis.
                     33: NROFF=         nroff -man
1.12      agc        34: .else
1.74      tron       35: NROFF=         nroff -mandoc
1.12      agc        36: .endif
                     37:
1.1       tsarna     38: do-build:
1.75      tron       39: .for FILE in pkglint lintpkgsrc plist-clash
1.1       tsarna     40:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     41:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.92      abs        42:                -e 's|@DISTVER@|${DISTVER}|g'           \
1.75      tron       43:                < ${FILESDIR}/${FILE}.pl                \
                     44:                > ${WRKSRC}/${FILE}
1.9       abs        45: .endfor
1.75      tron       46: .for FILE in pkglint lintpkgsrc
1.1       tsarna     47:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     48:                -e 's|@PORTSDIR@|${PKGSRCDIR}|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>