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

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

1.92    ! abs         1: # $NetBSD: Makefile,v 1.91 2001/05/01 15:52:50 abs Exp $
1.1       tsarna      2: #
                      3:
1.92    ! abs         4: DISTNAME=              pkglint-2.50
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.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'              \
                     39:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.92    ! abs        40:                -e 's|@DISTVER@|${DISTVER}|g'           \
1.75      tron       41:                < ${FILESDIR}/${FILE}.pl                \
                     42:                > ${WRKSRC}/${FILE}
1.9       abs        43: .endfor
1.75      tron       44: .for FILE in pkglint lintpkgsrc
1.1       tsarna     45:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     46:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.75      tron       47:                < ${FILESDIR}/${FILE}.1                 \
                     48:                > ${WRKSRC}/${FILE}.1
                     49:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        50: .endfor
1.1       tsarna     51:
                     52: do-install:
                     53:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     54:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     55:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        56:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     57:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     58:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     59:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     60:
                     61: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>