diff options
author | edwin <edwin@FreeBSD.org> | 2004-01-17 23:44:30 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2004-01-17 23:44:30 +0000 |
commit | 72cc695d4b4c9ebf5f2712e876c12c75f0ca3349 (patch) | |
tree | a918c59bed929b24f5972797f50d6c2d7afbd14e /net/isc-dhcp3-server | |
parent | 190dfe34a85d8c208b6f0ecc8564e9f278b2fd96 (diff) | |
download | FreeBSD-ports-72cc695d4b4c9ebf5f2712e876c12c75f0ca3349.zip FreeBSD-ports-72cc695d4b4c9ebf5f2712e876c12c75f0ca3349.tar.gz |
make portlint a little bit happier.
Diffstat (limited to 'net/isc-dhcp3-server')
-rw-r--r-- | net/isc-dhcp3-server/Makefile | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/net/isc-dhcp3-server/Makefile b/net/isc-dhcp3-server/Makefile index 0a60769..d7129c4 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 |