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

Annotation of pkgsrc/news/trn/Makefile, Revision 1.41

1.41    ! leot        1: # $NetBSD: Makefile,v 1.40 2015/06/12 10:50:55 wiz Exp $
1.1       tv          2:
1.41    ! leot        3: DISTNAME=              trn-4.0-test77
        !             4: PKGNAME=               trn-4.77
1.1       tv          5: CATEGORIES=            news
1.30      wiz         6: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=trn/}
1.1       tv          7:
1.31      wiz         8: MAINTAINER=            pkgsrc-users@NetBSD.org
1.9       dogcow      9: HOMEPAGE=              http://trn.sourceforge.net/
1.11      wiz        10: COMMENT=               Threaded version of rn, the classic news reader
1.12      jtb        11: LICENSE=               trn-license
1.3       agc        12:
1.18      kim        13: PKG_SYSCONFSUBDIR=     nntp
                     14:
1.24      wiz        15: .include "options.mk"
1.3       agc        16:
1.4       wiz        17: # TRN_HOSTBITS determines the number of "name segments" (x.y.z.com), counting
                     18: # from right to left, that TRN will match to allow cancels, with 0 requiring
                     19: # a perfect match.  For example, with TRN_HOSTBITS=3, x.y.z.com will match
                     20: # foo.y.z.com for the purposes of allowing cancels.
1.6       wiz        21: TRN_HOSTBITS?=         0
1.1       tv         22:
1.23      rillig     23: HAS_CONFIGURE=         yes
1.7       tron       24: CONFIGURE_SCRIPT=      ./Configure
1.25      wiz        25: CONFIGURE_ENV+=                PREFIX=${PREFIX:Q}
1.20      kristerw   26: USE_TOOLS+=            awk basename cat cp diff echo egrep expr grep mkdir mv
1.29      rillig     27: USE_TOOLS+=            perl:run rm sed tail tr yacc
1.25      wiz        28: CONFIGURE_ENV+=                TOOLS_AWK=${TOOLS_AWK:Q}
                     29: CONFIGURE_ENV+=                TOOLS_BASENAME=${TOOLS_BASENAME:Q}
                     30: CONFIGURE_ENV+=                TOOLS_CAT=${TOOLS_CAT:Q}
                     31: CONFIGURE_ENV+=                TOOLS_CP=${TOOLS_CP:Q}
                     32: CONFIGURE_ENV+=                TOOLS_DIFF=${TOOLS_DIFF:Q}
                     33: CONFIGURE_ENV+=                TOOLS_ECHO=${TOOLS_ECHO:Q}
                     34: CONFIGURE_ENV+=                TOOLS_EGREP=${TOOLS_EGREP:Q}
                     35: CONFIGURE_ENV+=                TOOLS_EXPR=${TOOLS_EXPR:Q}
                     36: CONFIGURE_ENV+=                TOOLS_GREP=${TOOLS_GREP:Q}
                     37: CONFIGURE_ENV+=                TOOLS_MKDIR=${TOOLS_MKDIR:Q}
                     38: CONFIGURE_ENV+=                TOOLS_MV=${TOOLS_MV:Q}
                     39: CONFIGURE_ENV+=                TOOLS_RM=${TOOLS_RM:Q}
                     40: CONFIGURE_ENV+=                TOOLS_SED=${TOOLS_SED:Q}
                     41: CONFIGURE_ENV+=                TOOLS_TAIL=${TOOLS_TAIL:Q}
                     42: CONFIGURE_ENV+=                TOOLS_TR=${TOOLS_TR:Q}
                     43: CONFIGURE_ARGS+=       -d -e -D bin=${PREFIX:Q}/bin \
                     44:                        -D binexp=${PREFIX:Q}/bin \
1.18      kim        45:                        -D phost=${PKG_SYSCONFDIR}'/domainname' \
1.25      wiz        46:                        -D filexp=${PREFIX:Q}'/share/trn/filexp' \
                     47:                        -D hostbits=${TRN_HOSTBITS:Q} \
1.32      obache     48:                        -D installbin=${DESTDIR:Q}${PREFIX:Q}'/bin' \
                     49:                        -D installmansrc=${DESTDIR:Q}${PREFIX:Q}'/man/man1' \
                     50:                        -D installprivlib=${DESTDIR:Q}${PREFIX:Q}'/share/trn' \
1.25      wiz        51:                        -D libpth=${PREFIX:Q}'/lib /usr/lib' \
1.32      obache     52:                        -D mansrc=${PREFIX:Q}/${PKGMANDIR:Q}'/man1' \
                     53:                        -D mansrcexp=${PREFIX:Q}/${PKGMANDIR:Q}'/man1' \
1.25      wiz        54:                        -D mimecap=${PREFIX:Q}'/etc/mimecap' \
1.18      kim        55:                        -D orgname=${PKG_SYSCONFDIR}'/organization' \
1.25      wiz        56:                        -D perl=${PERL5:Q} \
                     57:                        -D perlpath=${PERL5:Q} \
                     58:                        -D prefix=${PREFIX:Q} \
                     59:                        -D prefixexp=${PREFIX:Q} \
                     60:                        -D privlib=${PREFIX:Q}'/share/trn' \
                     61:                        -D privlibexp=${PREFIX:Q}'/share/trn' \
1.18      kim        62:                        -D servername=${PKG_SYSCONFDIR}'/server' \
1.8       jlam       63:                        -D d_nntp \
                     64:                        -U d_local \
                     65:                        -D libs=' ' \
                     66:                        -D usevfork=false \
1.25      wiz        67:                        -D inews=${PREFIX:Q}'/bin/inews' \
                     68:                        -D useinews=${PREFIX:Q}'/bin/inews'
1.1       tv         69:
                     70: post-install:
1.32      obache     71:        @${RM} -f ${DESTDIR}${PREFIX}/bin/rn ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rn.1 \
                     72:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rn.1.gz
                     73:        @${LN} -s trn ${DESTDIR}${PREFIX}/bin/rn
                     74:        @${LN} -s trn.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rn.1
1.1       tv         75:
1.33      agc        76: SUBST_CLASSES+=                pipe2
                     77: SUBST_STAGE.pipe2=     pre-configure
                     78: SUBST_FILES.pipe2=     filter.c
                     79: SUBST_SED.pipe2+=      -e 's|pipe2|trn_pipe2|g'
                     80:
1.39      dholland   81: INSTALLATION_DIRS+=    share/trn
                     82:
                     83: .include "../../mk/termcap.buildlink3.mk"
1.1       tv         84: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>