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

Annotation of pkgsrc/news/knews/Makefile, Revision 1.61

1.61    ! wiz         1: # $NetBSD: Makefile,v 1.60 2012/03/04 07:45:02 tron Exp $
1.1       hubertf     2:
1.19      tron        3: DISTNAME=      knews-1.0b.1
1.36      hubertf     4: PKGNAME=       knews-1.0
1.57      wiz         5: PKGREVISION=   16
1.16      tron        6: CATEGORIES=    news x11
1.58      wiz         7: MASTER_SITES=  # http://www.matematik.su.se/~kjj/
1.1       hubertf     8:
1.51      tron        9: MAINTAINER=    pkgsrc-users@NetBSD.org
1.58      wiz        10: #HOMEPAGE=     http://www.matematik.su.se/~kjj/
1.27      wiz        11: COMMENT=       X11 newsreader with support for threading and MIME
1.1       hubertf    12:
1.52      joerg      13: PKG_DESTDIR_SUPPORT=   user-destdir
                     14:
1.19      tron       15: CONFLICTS=     knews-1.0b0
                     16:
1.26      tron       17: USE_IMAKE=     YES
1.20      agc        18:
1.50      jlam       19: BUILD_DEFS+=   KNEWS_DOMAIN_NAME KNEWS_DOMAIN_FILE
1.10      agc        20:
                     21: .include "../../mk/bsd.prefs.mk"
1.8       tron       22:
1.50      jlam       23: PKG_OPTIONS_VAR=       PKG_OPTIONS.knews
                     24: PKG_SUPPORTED_OPTIONS= inet6
1.61    ! wiz        25: PKG_SUGGESTED_OPTIONS= inet6
1.50      jlam       26:
                     27: .include "../../mk/bsd.options.mk"
                     28:
1.22      agc        29: # Set KNEWS_DOMAIN_NAME to a string appended to the "From:" header or
                     30: # KNEWS_DOMAIN_FILE to a file from which the domain name will be read.
1.2       hubertf    31: post-extract:
1.22      agc        32: .if !defined(KNEWS_DOMAIN_FILE) && !defined(KNEWS_DOMAIN_NAME)
                     33:        @${ECHO_MSG} "Type \"make KNEWS_DOMAIN_NAME=xyz\" to set the domain name."
                     34: .elif defined(KNEWS_DOMAIN_FILE)
                     35:        @${ECHO_MSG} "Reading \"From:\" domain from file \"${KNEWS_DOMAIN_FILE}\"."
1.1       hubertf    36: .else
1.22      agc        37:        @${ECHO_MSG} "Using \"${KNEWS_DOMAIN_NAME}\" as the \"From:\" domain name."
1.1       hubertf    38: .endif
                     39:
                     40: post-patch:
1.22      agc        41: .if defined(KNEWS_DOMAIN_FILE)
1.28      tron       42:        ${ECHO} >>${WRKSRC}/configure.h \
1.22      agc        43:        "#define DOMAIN_FILE \"${KNEWS_DOMAIN_FILE}\""
                     44: .elif defined(KNEWS_DOMAIN_NAME)
1.28      tron       45:        ${ECHO} >>${WRKSRC}/configure.h \
1.22      agc        46:        "#define DOMAIN_NAME \"${KNEWS_DOMAIN_NAME}\""
1.28      tron       47: .endif
1.50      jlam       48: .if !empty(PKG_OPTIONS:Minet6)
1.28      tron       49:        ${ECHO} >>${WRKSRC}/configure.h "#define USE_INET6 YES"
1.1       hubertf    50: .endif
                     51:
1.56      dsainty    52: .include "../../mk/jpeg.buildlink3.mk"
1.43      snj        53: .include "../../graphics/png/buildlink3.mk"
1.49      joerg      54: .include "../../mail/faces/buildlink3.mk"
1.48      joerg      55: .include "../../x11/libXpm/buildlink3.mk"
1.49      joerg      56: .include "../../x11/libXmu/buildlink3.mk"
                     57: .include "../../x11/libXt/buildlink3.mk"
1.6       agc        58: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>