New variables CONF_FILES and CONF_DIRS are to be introduced

to bsd.port.mk.

PR:		ports/157158
Submitted by:	Chris Rees <utisoft__at__gmail.com>
This commit is contained in:
Hajimu UMEMOTO 2011-06-03 17:31:55 +00:00
parent 5d057ef07a
commit fe3c933766
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275040

View File

@ -42,7 +42,7 @@ RUN_DEPENDS= dhcp6ctl:${PORTSDIR}/net/dhcp6 \
${MPD_NAME}:${PORTSDIR}/net/${MPD_NAME}
CONF_DIR?= etc/${MPD_NAME}
CONF_FILES= dhcp6c.conf.in rtadvd.conf
MPD_CONF_FILES= dhcp6c.conf.in rtadvd.conf
SCRIPT_FILES= dhcp6c_pd.sh linkdown.sh linkup.sh
SECRET_FILES= mpd.secret
@ -92,7 +92,7 @@ do-install:
.else
@${INSTALL_DATA} ${WRKDIR}/mpd5.conf ${PREFIX}/${CONF_DIR}/mpd.conf
.endif
.for f in ${CONF_FILES}
.for f in ${MPD_CONF_FILES}
@${INSTALL_DATA} ${WRKDIR}/${f} ${PREFIX}/${CONF_DIR}/${f}
.endfor
@${INSTALL_DATA} ${WRKDIR}/mpd ${PREFIX}/${CONF_DIR}/${MPD_NAME}