Lines 27-40
Link Here
|
27 |
|
27 |
|
28 |
MAINTAINER= kiri@kiri.toba-cmt.ac.jp |
28 |
MAINTAINER= kiri@kiri.toba-cmt.ac.jp |
29 |
|
29 |
|
30 |
BUILD_DEPENDS= ${PREFIX}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \ |
30 |
BUILD_DEPENDS= ${LOCALBASE}/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xemacs-devel:${PORTSDIR}/editors/xemacs-packages \ |
31 |
${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages \ |
31 |
${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages \ |
32 |
${BUILD_INPUT_METHOD} |
32 |
${BUILD_INPUT_METHOD} |
33 |
.if defined(MULE_SLAVE) |
33 |
.if defined(MULE_SLAVE) |
34 |
RUN_DEPENDS= ${PREFIX}/lib/xemacs-${XEMACS_VER}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs${XEMACS_MAJOR_VER}-mule-common \ |
34 |
RUN_DEPENDS= ${LOCALBASE}/lib/xemacs-${XEMACS_VER}/lisp/x-win-xfree86.elc:${PORTSDIR}/editors/xemacs${XEMACS_MAJOR_VER}-mule-common \ |
35 |
${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages |
35 |
${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages |
36 |
.else |
36 |
.else |
37 |
RUN_DEPENDS= ${PREFIX}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages |
37 |
RUN_DEPENDS= ${LOCALBASE}/lib/xemacs/mule-packages/pkginfo/MANIFEST.skk:${PORTSDIR}/editors/xemacs-mule-packages |
38 |
.endif |
38 |
.endif |
39 |
LIB_DEPENDS= compface.1:${PORTSDIR}/mail/faces \ |
39 |
LIB_DEPENDS= compface.1:${PORTSDIR}/mail/faces \ |
40 |
${LIB_INPUT_METHOD} |
40 |
${LIB_INPUT_METHOD} |
Lines 70-75
Link Here
|
70 |
STRIP= |
70 |
STRIP= |
71 |
INSTALL_TARGET?=install-arch-dep |
71 |
INSTALL_TARGET?=install-arch-dep |
72 |
FILESDIR= ${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/files |
72 |
FILESDIR= ${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/files |
|
|
73 |
PATCHDIR= ${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/patches |
73 |
PLIST?= ${PKGLDIR}/PLIST |
74 |
PLIST?= ${PKGLDIR}/PLIST |
74 |
|
75 |
|
75 |
XEMACS_MAJOR_VER?= 21 |
76 |
XEMACS_MAJOR_VER?= 21 |
Lines 104-148
Link Here
|
104 |
post-package: |
105 |
post-package: |
105 |
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE} |
106 |
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE} |
106 |
|
107 |
|
107 |
# for make DESCR and COMMENT (only maintainer use) |
108 |
## for make DESCR and COMMENT (only maintainer use) |
108 |
pre-arrange:: |
109 |
#pre-arrange:: |
109 |
@${MKDIR} ${PKGDIR} |
110 |
# @${MKDIR} ${PKGDIR} |
110 |
@${ECHO} "${COMMENT_TEXT}" > ${COMMENT} |
111 |
# @${ECHO} "${COMMENT_TEXT}" > ${COMMENT} |
111 |
.if (${PKGNAMEEXT} == "-canna") || (${PKGNAMEEXT} == "-mule") || (${PKGNAMEEXT} == "-mule-common") |
112 |
#.if (${PKGNAMEEXT} == "-canna") || (${PKGNAMEEXT} == "-mule") || (${PKGNAMEEXT} == "-mule-common") |
112 |
@${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \ |
113 |
# @${SED} -e "s/%%XEMACS_VER%%/${XEMACS_VER}/g" \ |
113 |
-e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \ |
114 |
# -e "s/%%XEMACS_REL%%/${XEMACS_REL}/g" \ |
114 |
-e "s/%%XEMACS_MAJOR_VER%%/${XEMACS_MAJOR_VER}/g" \ |
115 |
# -e "s/%%XEMACS_MAJOR_VER%%/${XEMACS_MAJOR_VER}/g" \ |
115 |
${DESCR_TMPL} > ${DESCR} |
116 |
# ${DESCR_TMPL} > ${DESCR} |
116 |
.endif |
117 |
#.endif |
117 |
${CHOWN} kiri:staff ${COMMENT} ${DESCR} |
118 |
# ${CHOWN} kiri:staff ${COMMENT} ${DESCR} |
118 |
|
119 |
# |
119 |
# for make PLIST (only maintainer use) |
120 |
## for make PLIST (only maintainer use) |
120 |
arrange:: |
121 |
#arrange:: |
121 |
.if (${PKGNAMEEXT} == "-mule")||(${PKGNAMEEXT} == "-mule-common") |
122 |
#.if (${PKGNAMEEXT} == "-mule")||(${PKGNAMEEXT} == "-mule-common") |
122 |
${RM} -f ${PLIST} |
123 |
# ${RM} -f ${PLIST} |
123 |
.if (${PKGNAMEEXT} == "-mule") |
124 |
#.if (${PKGNAMEEXT} == "-mule") |
124 |
${MAKE} DIRRM2RMDIRS="lib/xemacs/mule-packages/etc lib/xemacs/mule-packages lib/xemacs/mule-packages/etc/app-defaults" \ |
125 |
# ${MAKE} DIRRM2RMDIRS="lib/xemacs/mule-packages/etc lib/xemacs/mule-packages lib/xemacs/mule-packages/etc/app-defaults" \ |
125 |
DIRRMDEPTH=2 plist |
126 |
# DIRRMDEPTH=2 plist |
126 |
.endif |
127 |
#.endif |
127 |
.if (${PKGNAMEEXT} == "-mule-common") |
128 |
#.if (${PKGNAMEEXT} == "-mule-common") |
128 |
${MAKE} DIRRM2RMDIRS="lib/xemacs-${XEMACS_VER} etc/rc.d" DIRRMDEPTH=1 plist |
129 |
# ${MAKE} DIRRM2RMDIRS="lib/xemacs-${XEMACS_VER} etc/rc.d" DIRRMDEPTH=1 plist |
129 |
.for dirp in site mule xemacs |
130 |
#.for dirp in site mule xemacs |
130 |
.for dir in etc info man pkginfo |
131 |
#.for dir in etc info man pkginfo |
131 |
${ECHO} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${PLIST} |
132 |
# ${ECHO} "@exec mkdir -p %D/lib/xemacs/${dirp}-packages/${dir}" >> ${PLIST} |
132 |
${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${PLIST} |
133 |
# ${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages/${dir} 2>/dev/null || true" >> ${PLIST} |
133 |
.endfor |
134 |
#.endfor |
134 |
${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${PLIST} |
135 |
# ${ECHO} "@unexec rmdir %D/lib/xemacs/${dirp}-packages 2>/dev/null || true" >> ${PLIST} |
135 |
.endfor |
136 |
#.endfor |
136 |
${ECHO} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${PLIST} |
137 |
# ${ECHO} "@exec mkdir -p /var/run/emacs/lock ; chmod 1777 /var/run/emacs/lock" >> ${PLIST} |
137 |
.endif |
138 |
# ${CAT} ${WRKPLIST} >> ${PLIST} |
138 |
${CAT} ${WRKPLIST} >> ${PLIST} |
139 |
# ${CHOWN} kiri:staff ${PLIST} |
139 |
${CHOWN} kiri:staff ${PLIST} |
140 |
#.endif |
140 |
.endif |
141 |
#.endif |
141 |
|
142 |
# |
142 |
.if (${PKGNAMEEXT} != "-mule-common") |
143 |
#.if (${PKGNAMEEXT} != "-mule-common") |
143 |
pre-plist: |
144 |
#pre-plist: |
144 |
${MKDIR} ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults |
145 |
# @${ECHO} "===> pre-plist of ${PKGNAME}" |
145 |
.endif |
146 |
# ${MKDIR} ${PREFIX}/lib/xemacs/mule-packages/etc/app-defaults |
146 |
|
147 |
#.endif |
147 |
|
148 |
|
148 |
.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/Makefile" |
149 |
.include "${.CURDIR}/../../editors/xemacs${XEMACS_MAJOR_VER}/Makefile" |