diff options
author | krion <krion@FreeBSD.org> | 2004-12-27 01:03:02 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-12-27 01:03:02 +0800 |
commit | da778e71779b69ffdffaeb12a9e15c04897286d0 (patch) | |
tree | 375a93b7f43c9af48cbbfd3eb22e8a92476cbb0e /comms | |
parent | 6b7b7fbcb3b94d91c11b345842bc011fadb30896 (diff) | |
download | freebsd-ports-gnome-da778e71779b69ffdffaeb12a9e15c04897286d0.tar.gz freebsd-ports-gnome-da778e71779b69ffdffaeb12a9e15c04897286d0.tar.zst freebsd-ports-gnome-da778e71779b69ffdffaeb12a9e15c04897286d0.zip |
Fix plist.
PR: ports/75498
Submitted by: maintainer
Diffstat (limited to 'comms')
-rw-r--r-- | comms/bforce-kst/Makefile | 19 | ||||
-rw-r--r-- | comms/bforce-kst/pkg-plist | 13 |
2 files changed, 15 insertions, 17 deletions
diff --git a/comms/bforce-kst/Makefile b/comms/bforce-kst/Makefile index ba2c9c9ebca2..4e5a9c42e875 100644 --- a/comms/bforce-kst/Makefile +++ b/comms/bforce-kst/Makefile @@ -21,8 +21,6 @@ USE_GMAKE= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGDIR= etc/fido/bforce - CONTRIBS= bfha/README bfha/bfha.pl bflan callout.sh outman timesync.tcl \ u-srif/conf/report.footer u-srif/conf/report.header u-srif/conf/u-srif.aliases \ u-srif/conf/u-srif.conf u-srif/conf/u-srif.dirs u-srif/lib/uconfig.py \ @@ -45,24 +43,23 @@ FIXME= include/bforce.h include/util.h include/logger.h \ bforce/u_plock.c bfutil/bfindex.c WRKSRC= ${WRKDIR}/${DISTNAME}/source -PLIST_SUB+= CONFIGDIR=${CONFIGDIR} pre-configure: ${MKDIR} ${WRKSRC}/bin post-patch: - @${REINPLACE_CMD} -e 's,/etc/bforce,/${CONFIGDIR},g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's,/etc/bforce,/etc/fido/bforce,g' ${WRKSRC}/Makefile.in .for i in ${FIXME} @${REINPLACE_CMD} -e 's,log(,bf_log(,g' ${WRKSRC}/${i} .endfor do-install: - ${MKDIR} ${PREFIX}/${CONFIGDIR} - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/${CONFIGDIR}/bforce.conf.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/${CONFIGDIR}/bforce.passwd.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/${CONFIGDIR}/bforce.subst.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/${CONFIGDIR}/freq.aliases.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/${CONFIGDIR}/freq.dirs.sample + ${MKDIR} ${PREFIX}/etc/fido/bforce + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/etc/fido/bforce/bforce.conf.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/etc/fido/bforce/bforce.passwd.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/etc/fido/bforce/bforce.subst.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/etc/fido/bforce/freq.aliases.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/etc/fido/bforce/freq.dirs.sample ${MKDIR} ${DATADIR} ${DATADIR}/bfha ${DATADIR}/u-srif/conf ${DATADIR}/u-srif/lib .for i in ${CONTRIBS} @@ -78,6 +75,6 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/nlookup ${PREFIX}/bin - @${SED} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%CONFIGDIR%%|${CONFIGDIR}|' ${PKGMESSAGE} + @${SED} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%CONFIGDIR%%|etc/fido/bforce|' ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/comms/bforce-kst/pkg-plist b/comms/bforce-kst/pkg-plist index 6d9f737d45d7..ad20a0b6d0ea 100644 --- a/comms/bforce-kst/pkg-plist +++ b/comms/bforce-kst/pkg-plist @@ -2,11 +2,11 @@ bin/bforce bin/bfindex bin/bfstat bin/nlookup -%%CONFIGDIR%%/bforce.conf.sample -%%CONFIGDIR%%/bforce.passwd.sample -%%CONFIGDIR%%/bforce.subst.sample -%%CONFIGDIR%%/freq.aliases.sample -%%CONFIGDIR%%/freq.dirs.sample +etc/fido/bforce/bforce.conf.sample +etc/fido/bforce/bforce.passwd.sample +etc/fido/bforce/bforce.subst.sample +etc/fido/bforce/freq.aliases.sample +etc/fido/bforce/freq.dirs.sample %%DATADIR%%/bfha/README %%DATADIR%%/bfha/bfha.pl %%DATADIR%%/bflan @@ -33,7 +33,8 @@ bin/nlookup %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/README.kst %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%CONFIGDIR%% +@dirrm etc/fido/bforce +@dirrm etc/fido @dirrm %%DATADIR%%/u-srif/lib @dirrm %%DATADIR%%/u-srif/conf @dirrm %%DATADIR%%/u-srif |