diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-17 23:44:30 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2004-01-17 23:44:30 +0000 |
commit | 92719055110549470a1114f76ece4e2a20fb16dc (patch) | |
tree | 9e4a1f82469285b7e9fd01379382f5fd1065e9da /net/isc-dhcp3-server | |
parent | f9a28761a91b84fdb0e1beae19721f631017c03e (diff) | |
download | ports-92719055110549470a1114f76ece4e2a20fb16dc.tar.gz ports-92719055110549470a1114f76ece4e2a20fb16dc.zip |
Notes
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 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 |