diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-30 14:58:36 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-05-30 14:58:36 +0000 |
commit | 6aa0e9c0b62bf039f657e1f1498cdb3c8dca941d (patch) | |
tree | aa07198d48e97506bba4f65309cc7f6c552f9118 /comms/bforce-kst | |
parent | 336a2222ef55e07b29e6ceb200eb52a7bc1ac106 (diff) | |
download | ports-6aa0e9c0b62bf039f657e1f1498cdb3c8dca941d.tar.gz ports-6aa0e9c0b62bf039f657e1f1498cdb3c8dca941d.zip |
Notes
Diffstat (limited to 'comms/bforce-kst')
-rw-r--r-- | comms/bforce-kst/Makefile | 20 | ||||
-rw-r--r-- | comms/bforce-kst/pkg-plist | 12 |
2 files changed, 17 insertions, 15 deletions
diff --git a/comms/bforce-kst/Makefile b/comms/bforce-kst/Makefile index 4a583d6476a4..1a6ec2eb24c8 100644 --- a/comms/bforce-kst/Makefile +++ b/comms/bforce-kst/Makefile @@ -7,12 +7,13 @@ PORTNAME= bforce PORTVERSION= 0.22.8.7 +PORTREVISION= 1 CATEGORIES= comms MASTER_SITES= http://kst.spb.ru/bforce/ PKGNAMESUFFIX= -kst DISTNAME= ${PORTNAME}-0.22.8.kst7 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= vasallia@ukr.net COMMENT= Simple ifcico like Fidonet technology mailer USE_BZIP2= yes @@ -20,7 +21,7 @@ USE_GMAKE= yes USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGDIR= /etc/fido/bforce +CONFIGDIR= etc/fido/bforce FIXME= include/bforce.h include/util.h include/logger.h \ bforce/bforce.c bforce/conf_proc.c bforce/conf_read.c bforce/daemon.c \ @@ -37,23 +38,24 @@ 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,/${CONFIGDIR},g' ${WRKSRC}/Makefile.in .for i in ${FIXME} @${REINPLACE_CMD} -e 's,log(,bf_log(,g' ${WRKSRC}/${i} .endfor do-install: - ${MKDIR} ${PREFIX}/etc/bforce - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/etc/bforce/bforce.conf.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/etc/bforce/bforce.passwd.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/etc/bforce/bforce.subst.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/etc/bforce/freq.aliases.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/etc/bforce/freq.dirs.sample + ${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 ${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin diff --git a/comms/bforce-kst/pkg-plist b/comms/bforce-kst/pkg-plist index 6b6920dca75e..09dcd52e34c2 100644 --- a/comms/bforce-kst/pkg-plist +++ b/comms/bforce-kst/pkg-plist @@ -2,9 +2,9 @@ bin/bforce bin/bfindex bin/bfstat bin/nlookup -etc/bforce/bforce.conf.sample -etc/bforce/bforce.passwd.sample -etc/bforce/bforce.subst.sample -etc/bforce/freq.aliases.sample -etc/bforce/freq.dirs.sample -@dirrm etc/bforce +%%CONFIGDIR%%/bforce.conf.sample +%%CONFIGDIR%%/bforce.passwd.sample +%%CONFIGDIR%%/bforce.subst.sample +%%CONFIGDIR%%/freq.aliases.sample +%%CONFIGDIR%%/freq.dirs.sample +@dirrm %%CONFIGDIR%% |