aboutsummaryrefslogtreecommitdiffstats
path: root/net/freebsd-uucp
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-27 03:16:54 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-27 03:16:54 +0800
commit810b64b610ea7285ca008497f86e5b6b9e56e77f (patch)
tree4581a1df3b471ac1cce61d898e28406e96230cc4 /net/freebsd-uucp
parentdf096b05bf4ca121e071c345ffe49f40ed0fb7f5 (diff)
downloadfreebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.tar.gz
freebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.tar.zst
freebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.zip
- make PKGNAMESUFFIX more flexible
Diffstat (limited to 'net/freebsd-uucp')
-rw-r--r--net/freebsd-uucp/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile
index b6f25f2f052a..def6060c1e43 100644
--- a/net/freebsd-uucp/Makefile
+++ b/net/freebsd-uucp/Makefile
@@ -10,9 +10,7 @@ PORTVERSION= 1.07.2
CATEGORIES= net comms
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=dinoex
-.if defined(WITH_PAM)
-PKGNAMESUFFIX?= -pam
-.endif
+PKGNAMESUFFIX?= ${PAM_SUFFIX}${PKGNAMESUFFIX2}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= FreeBSD-modified Taylor UUCP (unix-to-unix copy program)
@@ -32,6 +30,7 @@ BPKGNAME= base-uucp-1.06.1
MAKE_ENV+= CSTD=gnu99
.if defined(WITH_PAM)
+PAM_SUFFIX= -pam
MAKE_ENV+= WITH_PAM=${WITH_PAM}
CONFLICTS?= freebsd-uucp-1.*
.else
@@ -83,7 +82,7 @@ post-install:
@if test "$$(pw usershow uucp)" != "uucp:*:66:66::0:0:UUCP pseudo-user:/var/spool/uucppublic:${PREFIX}/libexec/uucp/uucico"; then \
pw usermod uucp -s ${PREFIX}/libexec/uucp/uucico; fi
@pw usershow uucp
-.endif
+.endif
@${ECHO_MSG} "Use the 'make upgrade' command to copy your old configuration"
@${ECHO_MSG} "files from /etc/uucp to the new location in ${PREFIX}/etc/uucp"
@${ECHO_MSG}