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

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

1.7     ! kim         1: # $NetBSD: Makefile,v 1.6 1999/02/18 12:27:27 frueauf Exp $
1.1       tsarna      2: #
                      3:
1.6       frueauf     4: DISTNAME=              pkglint-1.68
1.4       tron        5: CATEGORIES=            pkgtools devel
1.1       tsarna      6: MASTER_SITES=          # empty
                      7: DISTFILES=             # empty
                      8:
1.2       frueauf     9: MAINTAINER=            packages@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:
                     23: do-build:
                     24:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     25:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
                     26:                < ${FILESDIR}/pkglint.pl                \
                     27:                > ${WRKSRC}/pkglint
                     28:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     29:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
                     30:                < ${FILESDIR}/lintpkgsrc.sh             \
                     31:                > ${WRKSRC}/lintpkgsrc
                     32:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     33:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
                     34:                < ${FILESDIR}/plist-clash.pl            \
                     35:                > ${WRKSRC}/plist-clash
                     36:        ${SED} -e 's|@PREFIX@|${PREFIX}|g'              \
                     37:                -e 's|@PORTSDIR@|${PKGSRCDIR}|g'        \
                     38:                < ${FILESDIR}/pkglint.1         \
                     39:                > ${WRKSRC}/pkglint.1
                     40:        nroff -mandoc ${WRKSRC}/pkglint.1 >${WRKSRC}/pkglint.0
                     41:
                     42: do-install:
                     43:        ${INSTALL_SCRIPT} ${WRKSRC}/pkglint ${PREFIX}/bin/pkglint
                     44:        ${INSTALL_SCRIPT} ${WRKSRC}/lintpkgsrc ${PREFIX}/bin/lintpkgsrc
                     45:        ${INSTALL_SCRIPT} ${WRKSRC}/plist-clash ${PREFIX}/bin/plist-clash
                     46:        ${INSTALL_MAN} ${WRKSRC}/pkglint.1 ${PREFIX}/man/man1
                     47:        ${INSTALL_MAN} ${WRKSRC}/pkglint.0 ${PREFIX}/man/cat1
                     48:
                     49: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>