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

Annotation of pkgsrc/mail/demime/Makefile, Revision 1.24

1.24    ! jlam        1: # $NetBSD: Makefile,v 1.23 2007/03/24 19:21:26 joerg Exp $
1.4       wiz         2: #
1.1       tron        3:
1.13      tv          4: DISTNAME=      demime-1.1d
1.1       tron        5: CATEGORIES=    mail textproc
1.13      tv          6: MASTER_SITES=  ${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/} \
                      7:                http://majordomo.squawk.com/njs/demime/ \
1.5       jlam        8:                http://scifi.squawk.com/
1.13      tv          9: DISTFILES=     ${DISTNAME:S/-/./} \
                     10:                demime_junkmail.cf
1.1       tron       11:
1.20      jlam       12: MAINTAINER=    pkgsrc-users@NetBSD.org
1.1       tron       13: HOMEPAGE=      http://scifi.squawk.com/demime.html
                     14: COMMENT=       Tool to scrub mime from mailing lists
                     15:
1.22      wiz        16: DEPENDS+=      p5-MIME-Base64-[0-9]*:../../converters/p5-MIME-Base64
                     17: DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
                     18: DEPENDS+=      p5-HTML-Format-[0-9]*:../../www/p5-HTML-Format
                     19: DEPENDS+=      p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
1.1       tron       20:
1.24    ! jlam       21: PKG_DESTDIR_SUPPORT=   user-destdir
        !            22:
1.11      tv         23: DIST_SUBDIR=   ${PKGNAME_NOREV}
1.17      jlam       24: USE_TOOLS+=    perl:run pod2man
1.1       tron       25:
1.2       tv         26: EGDIR=         ${PREFIX}/share/examples
                     27: CONF_FILES=    ${EGDIR}/demime_junkmail.cf ${PKG_SYSCONFDIR}/demime_junkmail.cf
                     28:
1.23      joerg      29: INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples
1.15      jlam       30:
1.1       tron       31: do-extract:
                     32:        @${MKDIR} ${WRKSRC}
1.13      tv         33:        @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME:S/-/./} ${WRKSRC}/demime.stable
1.1       tron       34:
1.18      jlam       35: do-build:
1.2       tv         36:        ${SED} -e 's|/usr/lib/majordomo/demime_junkmail.cf|${PKG_SYSCONFDIR}/demime_junkmail.cf|g' \
1.5       jlam       37:               -e 's|/usr/bin/perl|${PERL5}|g' \
1.1       tron       38:               ${WRKSRC}/demime.stable >${WRKSRC}/demime
1.18      jlam       39:        ${POD2MAN} ${WRKSRC}/demime > ${WRKSRC}/demime.1
1.1       tron       40:
                     41: do-install:
1.24    ! jlam       42:        ${INSTALL_SCRIPT} ${WRKSRC}/demime ${DESTDIR}${PREFIX}/bin/demime
        !            43:        ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/demime_junkmail.cf \
        !            44:                ${DESTDIR}${EGDIR}
        !            45:        ${INSTALL_MAN} ${WRKSRC}/demime.1 \
        !            46:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/demime.1
1.1       tron       47:
                     48: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>