Utilize PLIST_FILES, and portlint happy!

This commit is contained in:
Norikatsu Shigemura 2005-03-12 21:45:16 +00:00
parent cfeea34f05
commit 0fb2fe3b9c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=131040

View File

@ -16,12 +16,15 @@ DIST_SUBDIR?= openoffice1.1
MAINTAINER= openoffice@FreeBSD.org
COMMENT= OpenOffice.org 1.1 Impress Templates
PLIST= ${WRKDIR}/pkg-plist
RUN_DEPENDS= ${PREFIX}/${OPENOFFICE}/program/soffice:${PORTSDIR}/japanese/openoffice-1.1
RUN_DEPENDS= ${LOCALBASE}/${OPENOFFICE}/program/soffice:${PORTSDIR}/japanese/openoffice-1.1
NO_BUILD= yes
PLIST_FILES= ${OOTEMPLATES:S|^|${TEMPLATEDIR}/|}
OPENOFFICE= OpenOffice.org${OPENOFFICE_VER}
OPENOFFICE_VER= 1.1.4
TEMPLATEDIR= ${OPENOFFICE}/share/template/japanese/layout
OOTEMPLATES= \
A4-kariert.sti \
@ -108,14 +111,9 @@ OOTEMPLATES= \
sun4.sti \
templatecopyright
do-build:
.for FILE in ${OOTEMPLATES}
@${ECHO_CMD} ${OPENOFFICE}/share/template/japanese/layout/${FILE} >> ${PLIST}
.endfor
do-install:
.for FILE in ${OOTEMPLATES}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${OPENOFFICE}/share/template/japanese/layout/${FILE}
@${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/${TEMPLATEDIR}/${FILE}
.endfor
.include <bsd.port.mk>