summaryrefslogtreecommitdiffstats
path: root/net/isc-dhcp30-server/Makefile
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-07-06 00:57:13 +0000
committerpav <pav@FreeBSD.org>2004-07-06 00:57:13 +0000
commit4fe2be3162e15d7e942985772eb444919973070d (patch)
treef9a2b8caa702fecb57c01aa7501bb1ceb5b05cc6 /net/isc-dhcp30-server/Makefile
parent8efae78fc56cb8f21e32c08b00f3ca40025664e9 (diff)
downloadFreeBSD-ports-4fe2be3162e15d7e942985772eb444919973070d.zip
FreeBSD-ports-4fe2be3162e15d7e942985772eb444919973070d.tar.gz
- minor changes:
Makefile configure-package added to post-install .ORDER added files/isc-dhcpd.sh.sample some debug() added precious() test inverted lsmod() added safe_chmod() fixed (don't chown .../dev if mounted) safe_mkdir() fixed (don't create .../dev if mounted) check_chuser() fixed (-z "${var}" instead of -z ${var}) setup_umask() fixed (dhcpd_umask -> dhcpd_withumask) dhcpd_stop() fixed (sh $0 force... instead of $0 ...) _dhcpd__uninstall() added dhcpd_uninstall() recursively called to handle all the combinations of dhcpd_chuser_enable and dhcpd_chroot_enable $__dhcpd_uninstall added $_dhcpd_piddir and $_dhcpd_leaddir -> $__dhcpd_* Closes PR: ports/68647 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> (maintainer)
Diffstat (limited to 'net/isc-dhcp30-server/Makefile')
-rw-r--r--net/isc-dhcp30-server/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile
index e31d9f6..e939a10 100644
--- a/net/isc-dhcp30-server/Makefile
+++ b/net/isc-dhcp30-server/Makefile
@@ -8,7 +8,7 @@
PORTNAME= dhcp
PORTVERSION= 3.0.1.r14
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_ISC}
MASTER_SITE_SUBDIR= dhcp dhcp/dhcp-3.0-history
@@ -42,6 +42,7 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS= --subsys ${SUBSYS}
ALL_TARGET= all.${SUBSYS}
INSTALL_TARGET= install.${SUBSYS}
+SCRIPTS_ENV+= PKG_PREFIX=${PREFIX}
.if ${SUBSYS} == client
MAN5= dhclient.conf.5 dhclient.leases.5
@@ -209,10 +210,14 @@ patch-pkgmessage:
# Post-install
#
-post-install: strip-binary-files install-startup-files \
- install-doc-files install-sample-files \
- create-conf-files create-data-files \
- display-message
+POST-INSTALL= parallel-post-install configure-package display-message
+.ORDER: ${POST-INSTALL}
+post-install: ${POST-INSTALL}
+
+parallel-post-install: \
+ strip-binary-files install-startup-files \
+ install-doc-files install-sample-files \
+ create-conf-files create-data-files
strip-binary-files:
.for f in ${BIN_FILES}
@@ -256,6 +261,9 @@ create-data-files:
.endif
.endfor
+configure-package:
+ @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
+
display-message:
.if ${SUBSYS} != devel
@${ECHO_MSG}
OpenPOWER on IntegriCloud