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

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

1.86    ! abs         1: # $NetBSD: Makefile,v 1.85 2001/04/02 19:02:33 wiz Exp $
1.1       tsarna      2: #
                      3:
1.86    ! abs         4: DISTNAME=              pkglint-2.44
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.1       tsarna     12:
                     13: USE_PERL5=             YES
                     14:
                     15: EXTRACT_ONLY=  # empty
                     16: NO_WRKSUBDIR=  yes
                     17: NO_CHECKSUM=   yes
                     18: NO_PATCH=      yes
                     19: NO_CONFIGURE=  yes
                     20:
1.7       kim        21: PKGSRCDIR?=    ${.CURDIR}/../..
                     22: MAKE_ENV=      PKGSRCDIR=${PKGSRCDIR}
1.1       tsarna     23:
1.8       agc        24: .include "../../mk/bsd.prefs.mk"
                     25:
1.12      agc        26: .if ${OPSYS} == "SunOS"
1.74      tron       27: # This doesn't create readable manual pages. "mandoc" should be added
                     28: # to zoularis.
                     29: NROFF=         nroff -man
1.12      agc        30: .else
1.74      tron       31: NROFF=         nroff -mandoc
1.12      agc        32: .endif
                     33:
1.1       tsarna     34: do-build:
1.75      tron       35: .for FILE in pkglint lintpkgsrc plist-clash
1.1       tsarna     36:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     37:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.75      tron       38:                < ${FILESDIR}/${FILE}.pl                \
                     39:                > ${WRKSRC}/${FILE}
1.9       abs        40: .endfor
1.75      tron       41: .for FILE in pkglint lintpkgsrc
1.1       tsarna     42:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     43:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.75      tron       44:                < ${FILESDIR}/${FILE}.1                 \
                     45:                > ${WRKSRC}/${FILE}.1
                     46:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        47: .endfor
1.1       tsarna     48:
                     49: do-install:
                     50:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     51:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     52:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        53:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     54:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     55:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     56:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     57:
                     58: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>