summaryrefslogtreecommitdiff
path: root/comms/hylafax/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'comms/hylafax/Makefile')
-rw-r--r--comms/hylafax/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/comms/hylafax/Makefile b/comms/hylafax/Makefile
index ad7dbb92a2d..bfae15b087f 100644
--- a/comms/hylafax/Makefile
+++ b/comms/hylafax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2010/01/18 09:58:41 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2010/01/29 16:44:13 joerg Exp $
VERS= 4.2.5
DISTNAME= hylafax-${VERS}
@@ -8,6 +8,8 @@ MASTER_SITES_BETA= ftp://ftp.hylafax.org/source/BETA/
MASTER_SITES_RELEASE= ftp://ftp.hylafax.org/source/
MASTER_SITES= ${MASTER_SITES_RELEASE}
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAINTAINER= hallmann@ahatec.de
HOMEPAGE= http://www.hylafax.org/
COMMENT= Telecommunication and fax server system
@@ -38,8 +40,10 @@ MAKE_JOBS_SAFE= NO
INSTALLATION_DIRS= libdata/hylafax
-SUID_EXES= ${PREFIX}/libexec/faxgetty ${PREFIX}/sbin/faxq \
- ${PREFIX}/bin/faxrm ${PREFIX}/bin/faxalter
+SPECIAL_PERMS+= bin/faxalter ${SETUID_ROOT_PERMS} \
+ bin/faxrm ${SETUID_ROOT_PERMS} \
+ libexec/faxgetty ${SETUID_ROOT_PERMS} \
+ sbin/faxq ${SETUID_ROOT_PERMS}
PKG_OPTIONS_VAR= PKG_OPTIONS.hylafax
PKG_SUPPORTED_OPTIONS= pam
@@ -59,10 +63,6 @@ CONFIGURE_ARGS+= --disable-pam
CONFIGURE_ENV+= MACHDEPLIBS=-lrt
.endif
-post-install:
- chown ${FAXUSER} ${SUID_EXES}
- chmod 4555 ${SUID_EXES}
-
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"