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

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

1.70    ! wiz         1: # $NetBSD: Makefile,v 1.69 2000/11/17 12:45:30 abs Exp $
1.1       tsarna      2: #
                      3:
1.70    ! wiz         4: DISTNAME=              pkglint-2.32
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.3       tsarna     10: HOMEPAGE=              http://www.netbsd.org/Documentation/netbsd/Packages.txt
1.1       tsarna     11:
                     12: USE_PERL5=             YES
                     13:
                     14: EXTRACT_ONLY=  # empty
                     15: NO_WRKSUBDIR=  yes
                     16: NO_CHECKSUM=   yes
                     17: NO_PATCH=      yes
                     18: NO_CONFIGURE=  yes
                     19:
1.7       kim        20: PKGSRCDIR?=    ${.CURDIR}/../..
                     21: MAKE_ENV=      PKGSRCDIR=${PKGSRCDIR}
1.1       tsarna     22:
1.8       agc        23: .include "../../mk/bsd.prefs.mk"
                     24:
1.12      agc        25: .if ${OPSYS} == "SunOS"
                     26: NROFF=         gnroff
                     27: .else
                     28: NROFF=         nroff
                     29: .endif
                     30:
1.1       tsarna     31: do-build:
1.9       abs        32: .for file in pkglint lintpkgsrc plist-clash
1.1       tsarna     33:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     34:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.9       abs        35:                < ${FILESDIR}/${file}.pl                \
                     36:                > ${WRKSRC}/${file}
                     37: .endfor
                     38: .for file in pkglint lintpkgsrc
1.1       tsarna     39:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     40:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.9       abs        41:                < ${FILESDIR}/${file}.1                 \
                     42:                > ${WRKSRC}/${file}.1
1.12      agc        43:        ${NROFF} -mandoc ${WRKSRC}/${file}.1 >${WRKSRC}/${file}.0
1.9       abs        44: .endfor
1.1       tsarna     45:
                     46: do-install:
                     47:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     48:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     49:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        50:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     51:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     52:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     53:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     54:
                     55: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>