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

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

1.76    ! wiz         1: # $NetBSD: Makefile,v 1.75 2001/01/25 08:45:46 tron Exp $
1.1       tsarna      2: #
                      3:
1.76    ! wiz         4: DISTNAME=              pkglint-2.35
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.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"
1.74      tron       26: # This doesn't create readable manual pages. "mandoc" should be added
                     27: # to zoularis.
                     28: NROFF=         nroff -man
1.12      agc        29: .else
1.74      tron       30: NROFF=         nroff -mandoc
1.12      agc        31: .endif
                     32:
1.1       tsarna     33: do-build:
1.75      tron       34: .for FILE in pkglint lintpkgsrc plist-clash
1.1       tsarna     35:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     36:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.75      tron       37:                < ${FILESDIR}/${FILE}.pl                \
                     38:                > ${WRKSRC}/${FILE}
1.9       abs        39: .endfor
1.75      tron       40: .for FILE in pkglint lintpkgsrc
1.1       tsarna     41:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     42:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
1.75      tron       43:                < ${FILESDIR}/${FILE}.1                 \
                     44:                > ${WRKSRC}/${FILE}.1
                     45:        ${NROFF} ${WRKSRC}/${FILE}.1 >${WRKSRC}/${FILE}.0
1.9       abs        46: .endfor
1.1       tsarna     47:
                     48: do-install:
                     49:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     50:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     51:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
1.9       abs        52:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.0 ${PREFIX}/man/cat1
                     53:        ${INSTALL_MAN} ${WRKSRC}/lintpkgsrc.1 ${PREFIX}/man/man1
                     54:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
1.1       tsarna     55:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     56:
                     57: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>