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

Annotation of pkgsrc/news/nn/Makefile, Revision 1.42

1.42    ! asau        1: # $NetBSD: Makefile,v 1.41 2012/07/08 10:16:32 sbd Exp $
1.1       tron        2:
1.30      schwarz     3: DISTNAME=      nn-6.7.3
1.41      sbd         4: PKGREVISION=   1
1.1       tron        5: CATEGORIES=    news
1.31      schwarz     6: MASTER_SITES=  ftp://ftp.nndev.org/pub/nn-6.7/
1.25      schwarz     7: EXTRACT_SUFX=  .tar.Z
1.2       tron        8:
1.28      jlam        9: MAINTAINER=    pkgsrc-users@NetBSD.org
1.37      obache     10: HOMEPAGE=      http://www.nndev.org/
1.15      wiz        11: COMMENT=       NN newsreader
1.1       tron       12:
1.22      kim        13: PKG_SYSCONFSUBDIR=     nntp
                     14:
1.7       agc        15: .include "../../mk/bsd.prefs.mk"
1.40      dholland   16: .include "../../mk/compiler.mk"
1.1       tron       17:
1.12      kim        18: .if ${OPSYS} == "SunOS"
                     19: SFILE=         s-sunos5.h
                     20: .elif ${OPSYS} == "Linux"
                     21: SFILE=         s-linux.h
                     22: .else
                     23: SFILE=         s-netbsd.h
                     24: .endif
                     25:
1.35      joerg      26: .if ${MACHINE_ARCH} == "i386"
1.12      kim        27: MFILE=         m-i80386.h
1.35      joerg      28: .elif ${MACHINE_ARCH} == "mipseb"
1.21      wiz        29: MFILE=         m-mipsel.h
1.12      kim        30: .else
                     31: MFILE=         m-${LOWER_ARCH}.h
                     32: .endif
                     33:
1.40      dholland   34: .if ${OPSYS} == "DragonFly" || !empty(CC_VERSION:Mgcc*)
1.29      joerg      35: CPP+=          -traditional
                     36: .endif
                     37:
1.32      schwarz    38: .if ${OPSYS} == "IRIX"
                     39: CPPFLAGS+=     -DHAVE_TERMIO_H
                     40: .endif
1.12      kim        41:
1.34      joerg      42: INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
                     43:
1.12      kim        44: post-patch:
                     45:        @${SED} -e ' \
                     46:            s#@PREFIX@#${PREFIX}#; \
1.22      kim        47:            s#@PKG_SYSCONFDIR@#${PKG_SYSCONFDIR}#; \
1.33      rillig     48:            s#@PKGMANDIR@#${PKGMANDIR}#; \
1.12      kim        49:            s#@BINOWN@#${BINOWN}#; \
                     50:            s#@BINGRP@#${BINGRP}#; \
                     51:            s#@MFILE@#${MFILE}#; \
                     52:            s#@SFILE@#${SFILE}#' \
                     53:            <${WRKSRC}/config.h-dist >${WRKSRC}/config.h
                     54:        @${CP} ${FILESDIR}/s-netbsd.h ${WRKSRC}/conf/s-netbsd.h
1.16      jmc        55:        @${CP} ${FILESDIR}/m-powerpc.h ${WRKSRC}/conf/m-powerpc.h
1.36      dholland   56:        @${CP} ${FILESDIR}/m-x86_64.h ${WRKSRC}/conf/m-x86_64.h
1.14      wiz        57:        @${CP} ${WRKSRC}/conf/m-m680x0.h ${WRKSRC}/conf/m-m68k.h
1.1       tron       58:
1.38      obache     59: SUBST_CLASSES+=                fix-dest
                     60: SUBST_STAGE.fix-dest=  post-build
                     61: SUBST_SED.fix-dest=    -e 's,${PREFIX},${DESTDIR}${PREFIX},'
                     62: SUBST_FILES.fix-dest=  inst
                     63:
                     64:
1.41      sbd        65: .include "../../devel/ncurses/buildlink3.mk"
1.7       agc        66: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>