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

Annotation of pkgsrc/comms/hylafax/Makefile, Revision 1.54

1.54    ! rillig      1: # $NetBSD: Makefile,v 1.53 2006/05/15 19:02:47 joerg Exp $
1.1       rh          2:
1.50      adrianp     3: VERS=          4.2.5
1.45      wiz         4: DISTNAME=      hylafax-${VERS}
1.53      joerg       5: PKGREVISION=   3
1.1       rh          6: CATEGORIES=    comms
1.45      wiz         7: MASTER_SITES_BETA=     ftp://ftp.hylafax.org/source/BETA/
1.54    ! rillig      8: MASTER_SITES_RELEASE=  ftp://ftp.hylafax.org/source/ \
        !             9:        ftp://ftp.leo.org/pub/comp/os/unix/networking/fax/hylafax/source/
        !            10: MASTER_SITES=  ${MASTER_SITES_RELEASE}
1.11      abs        11:
1.45      wiz        12: MAINTAINER=    hallmann@ahatec.de
1.1       rh         13: HOMEPAGE=      http://www.hylafax.org/
1.16      wiz        14: COMMENT=       Telecommunication and fax server system
1.1       rh         15:
1.5       jlam       16: DEPENDS+=      mawk>=1.2.2:../../lang/mawk
1.1       rh         17:
1.45      wiz        18: CONFLICTS=     hylafax-devel-[0-9]* mgetty-[0-9]*
1.1       rh         19:
1.54    ! rillig     20: BUILD_DEFS+=   FAXUSER FAXGROUP VARBASE
        !            21:
1.42      adam       22: USE_LANGUAGES=         c c++
1.46      jlam       23: USE_TOOLS+=            gs:run
1.42      adam       24: HAS_CONFIGURE=         yes
1.48      rillig     25: CONFIGURE_ARGS+=       --with-MAKE=${MAKE_PROGRAM:Q}
1.42      adam       26: CONFIGURE_ARGS+=       --with-INSTALL="" --nointeractive
                     27: CONFIGURE_ARGS+=       --with-ZLIBINC=-I${BUILDLINK_PREFIX.zlib}/include
                     28: CONFIGURE_ARGS+=       --with-LIBZ="-L${BUILDLINK_PREFIX.zlib}/lib -lz"
1.54    ! rillig     29: CONFIGURE_ENV+=                PREFIX=${PREFIX:Q} OPTIMIZER=${CFLAGS:Q}
1.47      rillig     30: CONFIGURE_ENV+=                FAXUID=${FAXUSER:Q} FAXGID=${FAXGROUP:Q}
1.52      markd      31: CONFIGURE_ENV+=                VARBASE=${VARBASE:Q}
1.42      adam       32: MANCOMPRESSED=         yes
1.29      jlam       33:
1.1       rh         34: FAXUSER?=      uucp
                     35: FAXGROUP?=     dialer
1.26      abs        36: RCD_SCRIPTS=   hylafax
1.1       rh         37:
                     38: SUID_EXES=     ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
                     39:                ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
                     40:
1.54    ! rillig     41: PKG_OPTIONS_VAR=       PKG_OPTIONS.hylafax
        !            42: PKG_SUPPORTED_OPTIONS= pam
1.45      wiz        43: #pam doesn't work right now, so disabled by default
                     44: #PKG_SUGGESTED_OPTIONS=       pam
                     45: .include "../../mk/bsd.options.mk"
                     46:
                     47: .if !empty(PKG_OPTIONS:Mpam)
                     48: .include "../../mk/pam.buildlink3.mk"
                     49: .else
                     50: CONFIGURE_ARGS+=       --disable-pam
                     51: .endif
                     52:
1.11      abs        53: post-install:
1.54    ! rillig     54:        chown ${FAXUSER} ${SUID_EXES}
        !            55:        chmod 4555 ${SUID_EXES}
1.1       rh         56:
1.38      recht      57: .include "../../devel/zlib/buildlink3.mk"
1.36      wiz        58: .include "../../graphics/jpeg/buildlink3.mk"
                     59: .include "../../graphics/tiff/buildlink3.mk"
1.42      adam       60:
1.1       rh         61: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>