summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-01-17 23:44:30 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-01-17 23:44:30 +0000
commit92719055110549470a1114f76ece4e2a20fb16dc (patch)
tree9e4a1f82469285b7e9fd01379382f5fd1065e9da /net
parentMaintainer update: isc-dhcp3 splitted to -server, -client, -relay and -devel ... (diff)
make portlint a little bit happier.
Notes
Notes: svn path=/head/; revision=98436
Diffstat (limited to 'net')
-rw-r--r--net/isc-dhcp3-server/Makefile48
-rw-r--r--net/isc-dhcp30-server/Makefile48
-rw-r--r--net/isc-dhcp31-server/Makefile48
-rw-r--r--net/isc-dhcp40-server/Makefile48
4 files changed, 92 insertions, 100 deletions
diff --git a/net/isc-dhcp3-server/Makefile b/net/isc-dhcp3-server/Makefile
index 0a60769d0d5a..d7129c4e52ff 100644
--- a/net/isc-dhcp3-server/Makefile
+++ b/net/isc-dhcp3-server/Makefile
@@ -111,8 +111,6 @@ RC_DIR= ${PREFIX}/etc/rc.d
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
DATADIR= /var/db
-STRIP_CMD?= strip
-
# Post-extract
#
@@ -162,53 +160,53 @@ post-install: strip-binary-files install-startup-files \
display-message
strip-binary-files:
-.for file in ${BIN_FILES}
-.if exists(${PREFIX}/bin/${file})
- @${STRIP_CMD} ${PREFIX}/bin/${file}
+.for f in ${BIN_FILES}
+.if exists(${PREFIX}/bin/${f})
+ @${STRIP_CMD} ${PREFIX}/bin/${f}
.endif
-.if exists(${PREFIX}/sbin/${file})
- @${STRIP_CMD} ${PREFIX}/sbin/${file}
+.if exists(${PREFIX}/sbin/${f})
+ @${STRIP_CMD} ${PREFIX}/sbin/${f}
.endif
.endfor
install-startup-files:
-.for file in ${RC_FILES}
-.if exists(${FILESDIR}/rc.${file}.conf${SAMP_SUFX})
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} ${CONF_DIR}
-.if !exists(${CONF_DIR}/rc.${file}.conf)
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} \
- ${CONF_DIR}/rc.${file}.conf
+.for f in ${RC_FILES}
+.if exists(${FILESDIR}/rc.${f}.conf${SAMP_SUFX})
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} ${CONF_DIR}
+.if !exists(${CONF_DIR}/rc.${f}.conf)
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} \
+ ${CONF_DIR}/rc.${f}.conf
.endif
.endif
-.if exists(${FILESDIR}/${file}.sh${SAMP_SUFX})
- @${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh${SAMP_SUFX} ${RC_DIR}
+.if exists(${FILESDIR}/${f}.sh${SAMP_SUFX})
+ @${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh${SAMP_SUFX} ${RC_DIR}
.endif
.endfor
install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for f in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
install-sample-files:
-.for file in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${CONF_DIR}/${file:T}${SAMP_SUFX}
+.for f in ${SAMP_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX}
.endfor
create-conf-files:
-.for file in ${CONF_FILES}
-.if !exists(${CONF_DIR}/${file})
- @${TOUCH} ${CONF_DIR}/${file}
+.for f in ${CONF_FILES}
+.if !exists(${CONF_DIR}/${f})
+ @${TOUCH} ${CONF_DIR}/${f}
.endif
.endfor
create-data-files:
-.for file in ${DATA_FILES}
-.if !exists(${DATADIR}/${file})
- @${TOUCH} ${DATADIR}/${file}
+.for f in ${DATA_FILES}
+.if !exists(${DATADIR}/${f})
+ @${TOUCH} ${DATADIR}/${f}
.endif
.endfor
diff --git a/net/isc-dhcp30-server/Makefile b/net/isc-dhcp30-server/Makefile
index 0a60769d0d5a..d7129c4e52ff 100644
--- a/net/isc-dhcp30-server/Makefile
+++ b/net/isc-dhcp30-server/Makefile
@@ -111,8 +111,6 @@ RC_DIR= ${PREFIX}/etc/rc.d
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
DATADIR= /var/db
-STRIP_CMD?= strip
-
# Post-extract
#
@@ -162,53 +160,53 @@ post-install: strip-binary-files install-startup-files \
display-message
strip-binary-files:
-.for file in ${BIN_FILES}
-.if exists(${PREFIX}/bin/${file})
- @${STRIP_CMD} ${PREFIX}/bin/${file}
+.for f in ${BIN_FILES}
+.if exists(${PREFIX}/bin/${f})
+ @${STRIP_CMD} ${PREFIX}/bin/${f}
.endif
-.if exists(${PREFIX}/sbin/${file})
- @${STRIP_CMD} ${PREFIX}/sbin/${file}
+.if exists(${PREFIX}/sbin/${f})
+ @${STRIP_CMD} ${PREFIX}/sbin/${f}
.endif
.endfor
install-startup-files:
-.for file in ${RC_FILES}
-.if exists(${FILESDIR}/rc.${file}.conf${SAMP_SUFX})
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} ${CONF_DIR}
-.if !exists(${CONF_DIR}/rc.${file}.conf)
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} \
- ${CONF_DIR}/rc.${file}.conf
+.for f in ${RC_FILES}
+.if exists(${FILESDIR}/rc.${f}.conf${SAMP_SUFX})
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} ${CONF_DIR}
+.if !exists(${CONF_DIR}/rc.${f}.conf)
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} \
+ ${CONF_DIR}/rc.${f}.conf
.endif
.endif
-.if exists(${FILESDIR}/${file}.sh${SAMP_SUFX})
- @${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh${SAMP_SUFX} ${RC_DIR}
+.if exists(${FILESDIR}/${f}.sh${SAMP_SUFX})
+ @${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh${SAMP_SUFX} ${RC_DIR}
.endif
.endfor
install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for f in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
install-sample-files:
-.for file in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${CONF_DIR}/${file:T}${SAMP_SUFX}
+.for f in ${SAMP_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX}
.endfor
create-conf-files:
-.for file in ${CONF_FILES}
-.if !exists(${CONF_DIR}/${file})
- @${TOUCH} ${CONF_DIR}/${file}
+.for f in ${CONF_FILES}
+.if !exists(${CONF_DIR}/${f})
+ @${TOUCH} ${CONF_DIR}/${f}
.endif
.endfor
create-data-files:
-.for file in ${DATA_FILES}
-.if !exists(${DATADIR}/${file})
- @${TOUCH} ${DATADIR}/${file}
+.for f in ${DATA_FILES}
+.if !exists(${DATADIR}/${f})
+ @${TOUCH} ${DATADIR}/${f}
.endif
.endfor
diff --git a/net/isc-dhcp31-server/Makefile b/net/isc-dhcp31-server/Makefile
index 0a60769d0d5a..d7129c4e52ff 100644
--- a/net/isc-dhcp31-server/Makefile
+++ b/net/isc-dhcp31-server/Makefile
@@ -111,8 +111,6 @@ RC_DIR= ${PREFIX}/etc/rc.d
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
DATADIR= /var/db
-STRIP_CMD?= strip
-
# Post-extract
#
@@ -162,53 +160,53 @@ post-install: strip-binary-files install-startup-files \
display-message
strip-binary-files:
-.for file in ${BIN_FILES}
-.if exists(${PREFIX}/bin/${file})
- @${STRIP_CMD} ${PREFIX}/bin/${file}
+.for f in ${BIN_FILES}
+.if exists(${PREFIX}/bin/${f})
+ @${STRIP_CMD} ${PREFIX}/bin/${f}
.endif
-.if exists(${PREFIX}/sbin/${file})
- @${STRIP_CMD} ${PREFIX}/sbin/${file}
+.if exists(${PREFIX}/sbin/${f})
+ @${STRIP_CMD} ${PREFIX}/sbin/${f}
.endif
.endfor
install-startup-files:
-.for file in ${RC_FILES}
-.if exists(${FILESDIR}/rc.${file}.conf${SAMP_SUFX})
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} ${CONF_DIR}
-.if !exists(${CONF_DIR}/rc.${file}.conf)
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} \
- ${CONF_DIR}/rc.${file}.conf
+.for f in ${RC_FILES}
+.if exists(${FILESDIR}/rc.${f}.conf${SAMP_SUFX})
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} ${CONF_DIR}
+.if !exists(${CONF_DIR}/rc.${f}.conf)
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} \
+ ${CONF_DIR}/rc.${f}.conf
.endif
.endif
-.if exists(${FILESDIR}/${file}.sh${SAMP_SUFX})
- @${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh${SAMP_SUFX} ${RC_DIR}
+.if exists(${FILESDIR}/${f}.sh${SAMP_SUFX})
+ @${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh${SAMP_SUFX} ${RC_DIR}
.endif
.endfor
install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for f in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
install-sample-files:
-.for file in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${CONF_DIR}/${file:T}${SAMP_SUFX}
+.for f in ${SAMP_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX}
.endfor
create-conf-files:
-.for file in ${CONF_FILES}
-.if !exists(${CONF_DIR}/${file})
- @${TOUCH} ${CONF_DIR}/${file}
+.for f in ${CONF_FILES}
+.if !exists(${CONF_DIR}/${f})
+ @${TOUCH} ${CONF_DIR}/${f}
.endif
.endfor
create-data-files:
-.for file in ${DATA_FILES}
-.if !exists(${DATADIR}/${file})
- @${TOUCH} ${DATADIR}/${file}
+.for f in ${DATA_FILES}
+.if !exists(${DATADIR}/${f})
+ @${TOUCH} ${DATADIR}/${f}
.endif
.endfor
diff --git a/net/isc-dhcp40-server/Makefile b/net/isc-dhcp40-server/Makefile
index 0a60769d0d5a..d7129c4e52ff 100644
--- a/net/isc-dhcp40-server/Makefile
+++ b/net/isc-dhcp40-server/Makefile
@@ -111,8 +111,6 @@ RC_DIR= ${PREFIX}/etc/rc.d
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
DATADIR= /var/db
-STRIP_CMD?= strip
-
# Post-extract
#
@@ -162,53 +160,53 @@ post-install: strip-binary-files install-startup-files \
display-message
strip-binary-files:
-.for file in ${BIN_FILES}
-.if exists(${PREFIX}/bin/${file})
- @${STRIP_CMD} ${PREFIX}/bin/${file}
+.for f in ${BIN_FILES}
+.if exists(${PREFIX}/bin/${f})
+ @${STRIP_CMD} ${PREFIX}/bin/${f}
.endif
-.if exists(${PREFIX}/sbin/${file})
- @${STRIP_CMD} ${PREFIX}/sbin/${file}
+.if exists(${PREFIX}/sbin/${f})
+ @${STRIP_CMD} ${PREFIX}/sbin/${f}
.endif
.endfor
install-startup-files:
-.for file in ${RC_FILES}
-.if exists(${FILESDIR}/rc.${file}.conf${SAMP_SUFX})
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} ${CONF_DIR}
-.if !exists(${CONF_DIR}/rc.${file}.conf)
- @${INSTALL_DATA} ${FILESDIR}/rc.${file}.conf${SAMP_SUFX} \
- ${CONF_DIR}/rc.${file}.conf
+.for f in ${RC_FILES}
+.if exists(${FILESDIR}/rc.${f}.conf${SAMP_SUFX})
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} ${CONF_DIR}
+.if !exists(${CONF_DIR}/rc.${f}.conf)
+ @${INSTALL_DATA} ${FILESDIR}/rc.${f}.conf${SAMP_SUFX} \
+ ${CONF_DIR}/rc.${f}.conf
.endif
.endif
-.if exists(${FILESDIR}/${file}.sh${SAMP_SUFX})
- @${INSTALL_SCRIPT} ${FILESDIR}/${file}.sh${SAMP_SUFX} ${RC_DIR}
+.if exists(${FILESDIR}/${f}.sh${SAMP_SUFX})
+ @${INSTALL_SCRIPT} ${FILESDIR}/${f}.sh${SAMP_SUFX} ${RC_DIR}
.endif
.endfor
install-doc-files:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.for f in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
install-sample-files:
-.for file in ${SAMP_FILES}
- @${INSTALL_DATA} ${WRKSRC}/${file} ${CONF_DIR}/${file:T}${SAMP_SUFX}
+.for f in ${SAMP_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${CONF_DIR}/${f:T}${SAMP_SUFX}
.endfor
create-conf-files:
-.for file in ${CONF_FILES}
-.if !exists(${CONF_DIR}/${file})
- @${TOUCH} ${CONF_DIR}/${file}
+.for f in ${CONF_FILES}
+.if !exists(${CONF_DIR}/${f})
+ @${TOUCH} ${CONF_DIR}/${f}
.endif
.endfor
create-data-files:
-.for file in ${DATA_FILES}
-.if !exists(${DATADIR}/${file})
- @${TOUCH} ${DATADIR}/${file}
+.for f in ${DATA_FILES}
+.if !exists(${DATADIR}/${f})
+ @${TOUCH} ${DATADIR}/${f}
.endif
.endfor