summaryrefslogtreecommitdiff
path: root/editors/xemacs-basic-mule-packages/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/xemacs-basic-mule-packages/Makefile')
-rw-r--r--editors/xemacs-basic-mule-packages/Makefile26
1 files changed, 19 insertions, 7 deletions
diff --git a/editors/xemacs-basic-mule-packages/Makefile b/editors/xemacs-basic-mule-packages/Makefile
index d38f8f181330..efc4a086b426 100644
--- a/editors/xemacs-basic-mule-packages/Makefile
+++ b/editors/xemacs-basic-mule-packages/Makefile
@@ -20,10 +20,9 @@ MASTER_SITES= \
# These are not smallest set of packages but mostly usage of packages for
# many `Mule' users.
DISTFILES= \
- mule-base-1.32-pkg.tar.gz locale-1.14-pkg.tar.gz \
- apel-1.15-pkg.tar.gz mew-1.08-pkg.tar.gz \
- skk-1.14-pkg.tar.gz elib-1.05-pkg.tar.gz \
- egg-its-1.20-pkg.tar.gz ps-print-ja-1.01-pkg.tar.gz
+ mule-base-1.34-pkg.tar.gz locale-1.15-pkg.tar.gz \
+ skk-1.15-pkg.tar.gz elib-1.06-pkg.tar.gz \
+ egg-its-1.22-pkg.tar.gz ps-print-ja-1.01-pkg.tar.gz
MAINTAINER= kiri@pis.toba-cmt.ac.jp
@@ -31,13 +30,20 @@ DIST_SUBDIR= xemacs
MASTER_SITE_SUBDIR=${DIST_SUBDIR}
NO_BUILD= yes
-NO_WRKSUBDIR= yes
+WRKSRC= ${WRKDIR}/mule-packages
-XEMACSDIR= ${PREFIX}/lib/xemacs/mule-packages
+XEMACSDIR= ${PREFIX}/lib/xemacs
+
+do-extract:
+ @${MKDIR} ${WRKSRC}
+.for f in ${DISTFILES}
+ @${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DIST_SUBDIR}/${f} \
+ ${EXTRACT_AFTER_ARGS} -C ${WRKSRC}
+.endfor
do-install:
${MKDIR} ${XEMACSDIR}
- ${CP} -Rp ${WRKDIR}/* ${XEMACSDIR}
+ ${CP} -Rp ${WRKDIR}/mule-packages ${XEMACSDIR}
post-install:
@${ECHO_MSG} "This is only a subset of the available packages for xemacs"
@@ -48,4 +54,10 @@ post-install:
@${ECHO_MSG} "To install all packages with mule, consider using the"
@${ECHO_MSG} "xemacs-sumo-packages and xemacs-mule-sumo-packages ports."
+# for make PLIST (only maintainer use)
+# arrange:
+# ${MAKE} DIRRM2RMDIRS="lib/xemacs/mule-packages/pkginfo lib/xemacs/mule-packages/man lib/xemacs/mule-packages/lisp lib/xemacs/mule-packages/info lib/xemacs/mule-packages/etc lib/xemacs/mule-packages" \
+# DIRRMDEPTH=2 plist
+# ${INSTALL} -c -m 644 -o kiri -g staff ${WRKPLIST} ${PLIST}
+
.include <bsd.port.mk>