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

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

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

CVSweb <webmaster@jp.NetBSD.org>