Fix PLIST and don't install unwanted files when option backend database

is pgsql, close PR 34230.
This commit is contained in:
obache 2006-12-10 04:36:30 +00:00
parent 6f0078ccc1
commit a740069e3a
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.54 2006/12/05 13:16:35 obache Exp $
# $NetBSD: Makefile,v 1.55 2006/12/10 04:36:30 obache Exp $
DISTNAME= dspam-3.6.8
PKGREVISION= 2
@ -139,7 +139,7 @@ post-install:
. if !empty(DSPAM_STORAGE_DRIVER:M${drv})
${INSTALL_DATA_DIR} ${DATADIR}/${drv}
cd ${WRKSRC}/src/tools.${drv}_drv && \
${PAX} -rwppm '-s|.*/Makefile.*$$||' . ${DATADIR}/${drv}
${PAX} -rwppm ./*.sql ${DATADIR}/${drv}
. endif
.endfor

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.15 2006/06/18 08:29:00 xtraeme Exp $
@comment $NetBSD: PLIST,v 1.16 2006/12/10 04:36:30 obache Exp $
${HASH}bin/cssstat
${HASH}bin/csscompress
${HASH}bin/cssclean
@ -14,6 +14,7 @@ bin/dspam_merge
bin/dspam_stats
bin/dspam_train
bin/dspamc
${PGSQL}bin/dspam_pg2int8
include/dspam/buffer.h
include/dspam/config.h
include/dspam/config_shared.h