9ab26c50e7
how NetBSD's rc.d system interprets script names. Also add appropriate REQUIRE and PROVIDE sections to allow direct use in NetBSD's rc.d system.
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2000/09/20 05:14:10 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= hylafax-4.1beta2
|
|
PKGNAME= hylafax-4.1b2nb2
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ftp://ftp.hylafax.org/source/ \
|
|
ftp://ftp.sisis.de/pub/hylafax/source/ \
|
|
ftp://ftp.uni-bremen.de/pub/mirrors/ftp.hylafax.org/pub/hylafax/source/
|
|
|
|
PATCH_SITES= http://www.hylafax.org/patches/
|
|
PATCHFILES= tiff-3.5-interfaces.patch
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.hylafax.org/
|
|
|
|
DEPENDS+= tiff-*:../../graphics/tiff
|
|
DEPENDS+= jpeg-6b:../../graphics/jpeg
|
|
DEPENDS+= mawk>=1.2.2:../../lang/mawk
|
|
DEPENDS+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
|
|
|
|
DIST_SUBDIR= hylafax
|
|
|
|
CONFLICTS= mgetty-*
|
|
|
|
FAXUSER?= uucp
|
|
FAXGROUP?= dialer
|
|
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}" FAXUID="${FAXUSER}" FAXGID="${FAXGROUP}"
|
|
CONFIGURE_ARGS= --with-MAKE=${MAKE_PROGRAM} --with-INSTALL=""
|
|
MANCOMPRESSED= yes
|
|
|
|
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
|
|
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
|
|
|
post-install:
|
|
${CHOWN} ${FAXUSER} ${SUID_EXES}
|
|
${CHMOD} 4555 ${SUID_EXES}
|
|
|
|
post-build:
|
|
${SED} -e 's#@SSH_CONF_DIR@#${SSH_CONF_DIR}#g' \
|
|
-e 's#@PREFIX@#${PREFIX}#g' \
|
|
<${FILESDIR}/hylafax.sh >${WRKDIR}/hylafax.sh; \
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|