5542206cba
pkgsrc. Instead, a new variable PKGREVISION is invented that can get bumped independent of DISTNAME and PKGNAME. Example #1: DISTNAME= foo-X.Y PKGREVISION= Z => PKGNAME= foo-X.YnbZ Example #2: DISTNAME= barthing-X.Y PKGNAME= bar-X.Y PKGREVISION= Z => PKGNAME= bar=X.YnbZ (!) On subsequent changes, only PKGREVISION needs to be bumped, no more risk of getting DISTNAME changed accidentally.
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2001/11/29 01:12:27 hubertf Exp $
|
|
#
|
|
|
|
DISTNAME= hylafax-4.1
|
|
PKGREVISION= 1
|
|
CATEGORIES= comms
|
|
MASTER_SITES= ftp://ftp.hylafax.org/source/ \
|
|
ftp://ftp.leo.org/pub/comp/os/unix/networking/fax/hylafax/source/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.hylafax.org/
|
|
COMMENT= Telecommunication and fax server system
|
|
|
|
DEPENDS+= tiff-[0-9]*:../../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-[0-9]*
|
|
|
|
FAXUSER?= uucp
|
|
FAXGROUP?= dialer
|
|
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_ENV= PREFIX="${PREFIX}" FAXUID="${FAXUSER}" FAXGID="${FAXGROUP}"
|
|
CONFIGURE_ARGS= --with-MAKE=${MAKE_PROGRAM} --with-INSTALL="" --nointeractive
|
|
MANCOMPRESSED= yes
|
|
|
|
SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
|
|
${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
|
|
|
|
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:
|
|
${CHOWN} ${FAXUSER} ${SUID_EXES}
|
|
${CHMOD} 4555 ${SUID_EXES}
|
|
${INSTALL_SCRIPT} ${WRKDIR}/hylafax.sh ${PREFIX}/etc/rc.d/hylafax
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|