aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2005-03-12 21:45:16 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2005-03-12 21:45:16 +0000
commit0fb2fe3b9cd865c3d7cffde81450a121b780e0a4 (patch)
tree30f90a910855673e45a72a9dc8943c4fbe26f3ae /japanese
parentcfeea34f058b7c3fb8ba30a097f072b7b0d12f36 (diff)
Utilize PLIST_FILES, and portlint happy!
Notes
Notes: svn path=/head/; revision=131040
Diffstat (limited to 'japanese')
-rw-r--r--japanese/openoffice-templates/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/japanese/openoffice-templates/Makefile b/japanese/openoffice-templates/Makefile
index dce8b9019308..8b8be1bd9cd3 100644
--- a/japanese/openoffice-templates/Makefile
+++ b/japanese/openoffice-templates/Makefile
@@ -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>