Bug-fix (rpm command was dealed with non-rpm files)

Obtained from: bento
This commit is contained in:
Satoshi Taoka 2001-03-09 05:17:00 +00:00
parent 945a70e7c7
commit a42cbff412
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39295

View file

@ -9,7 +9,7 @@ PORTNAME?= bjfiltercom
PORTVERSION?= 1.0
CATEGORIES= print linux
MASTER_SITES= ftp://www.canon-sales.co.jp/pub/driver/printer/BJ/linux/
DISTFILES= ${PORTNAME}-${PORTVERSION}-0.i386.rpm
DISTFILES= ${RPMFILES}
.if !defined(SLAVE_PORT)
DISTFILES+= ${DOC_DISTFILES}
.endif
@ -43,6 +43,7 @@ NO_BUILD= yes
NO_FILTER_SHLIBS= yes
NO_MTREE= yes
RPMFILES= ${PORTNAME}-${PORTVERSION}-0.i386.rpm
.if defined(SLAVE_PORT)
FILTER= ${FILESDIR}/filter
PAPERSIZE?= a4
@ -61,7 +62,7 @@ do-build:
${FILTER} > ${WRKDIR}/filter${PRTYPE}
do-install:
for R in ${DISTFILES}; do \
for R in ${RPMFILES}; do \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R; \
done
.for i in ${BIN_FILES}