mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Change according to xemacs21 version up
PR: 16807 Submitted by: maintainer
This commit is contained in:
parent
6c1c9af9a8
commit
da661c3988
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25984
@ -123,9 +123,9 @@ EMACS_SITELISPDIR= ${EMACS_LISPDIR}
|
||||
SITE_STARTUP_FILE= mew-xemacs-startup.el
|
||||
.elif (${EMACS_PORT_NAME} == "xemacs21")
|
||||
EMACS_NAME= xemacs
|
||||
EMACS_VER= 21.1.8
|
||||
EMACS_VER= 21.1.9
|
||||
EMACS_MAJOR_VER= 21
|
||||
EMACS_CMD= ${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_CMD= ${EMACS_NAME}${EMACS_MAJOR_VER}
|
||||
EMACS_LIBDIR= lib/${EMACS_NAME}
|
||||
EMACS_LIBDIR_WITH_VER= lib/${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_PKGDIR= ${EMACS_LIBDIR}/site-packages
|
||||
@ -139,9 +139,9 @@ EMACS_LISPDIR= ${EMACS_PKG_LISPDIR}
|
||||
EMACS_INFODIR= ${EMACS_PKG_INFODIR}
|
||||
.elif (${EMACS_PORT_NAME} == "xemacs21-mule")
|
||||
EMACS_NAME= xemacs
|
||||
EMACS_VER= 21.1.8
|
||||
EMACS_VER= 21.1.9
|
||||
EMACS_MAJOR_VER= 21
|
||||
EMACS_CMD= ${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_CMD= ${EMACS_NAME}${EMACS_MAJOR_VER}-mule
|
||||
EMACS_LIBDIR= lib/${EMACS_NAME}
|
||||
EMACS_LIBDIR_WITH_VER= lib/${EMACS_NAME}-${EMACS_VER}
|
||||
EMACS_PKGDIR= ${EMACS_LIBDIR}/site-packages
|
||||
@ -214,23 +214,23 @@ post-install:
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
# for make DESCR,COMMENT and PLIST (only maintainer use)
|
||||
arrange:
|
||||
${MKDIR} ${PKGDIR}
|
||||
${ECHO} ${COMMENT_TEXT} > ${PKGDIR}/COMMENT
|
||||
${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=DESCR \
|
||||
${SH} ${FILESDIR}/tmpl2file.sh
|
||||
${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} ${SH} ${FILESDIR}/message.sh
|
||||
${CHOWN} kiri:staff ${PKGDIR} ${PKGDIR}/COMMENT ${PKGDIR}/DESCR ${PKGDIR}/MESSAGE
|
||||
.if (${EMACS_NAME} == "xemacs") && ${EMACS_MAJOR_VER} > 20
|
||||
${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS} EMACS_INFODIR=${EMACS_INFODIR}" \
|
||||
DIRRM2RMDIRS="${EMACS_ETCDIR} ${EMACS_LISPDIR} ${EMACS_INFODIR} ${EMACS_PKGDIR} ${EMACS_PKG_MANDIR} ${EMACS_PKG_PKGINFODIR}" \
|
||||
DIRRMDEPTH=2 plist
|
||||
.else
|
||||
${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS} EMACS_INFODIR=${EMACS_INFODIR}" \
|
||||
DIRRM2RMDIRS="${EMACS_ETCDIR} ${EMACS_LISPDIR} ${EMACS_INFODIR} ${EMACS_PKGDIR} ${EMACS_PKG_MANDIR} ${EMACS_PKG_PKGINFODIR}" \
|
||||
INFOFILES=mew.info DIRRMDEPTH=2 plist
|
||||
.endif
|
||||
${INSTALL} -c -m 644 -o kiri -g staff ${WRKPLIST} ${PLIST}
|
||||
## for make DESCR,COMMENT and PLIST (only maintainer use)
|
||||
#arrange:
|
||||
# ${MKDIR} ${PKGDIR}
|
||||
# ${ECHO} ${COMMENT_TEXT} > ${PKGDIR}/COMMENT
|
||||
# ${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} TMPL_FILES=DESCR \
|
||||
# ${SH} ${FILESDIR}/tmpl2file.sh
|
||||
# ${ENV} ${SCRIPTS_ENV} WRKTMPDIR=${PKGDIR} ${SH} ${FILESDIR}/message.sh
|
||||
# ${CHOWN} kiri:staff ${PKGDIR} ${PKGDIR}/COMMENT ${PKGDIR}/DESCR ${PKGDIR}/MESSAGE
|
||||
#.if (${EMACS_NAME} == "xemacs") && ${EMACS_MAJOR_VER} > 20
|
||||
# ${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS} EMACS_INFODIR=${EMACS_INFODIR}" \
|
||||
# DIRRM2RMDIRS="${EMACS_ETCDIR} ${EMACS_LISPDIR} ${EMACS_INFODIR} ${EMACS_PKGDIR} ${EMACS_PKG_MANDIR} ${EMACS_PKG_PKGINFODIR}" \
|
||||
# DIRRMDEPTH=2 plist
|
||||
#.else
|
||||
# ${MAKE} PLIST_SUB_EXCLS="${PLIST_SUB_EXCLS} EMACS_INFODIR=${EMACS_INFODIR}" \
|
||||
# DIRRM2RMDIRS="${EMACS_ETCDIR} ${EMACS_LISPDIR} ${EMACS_INFODIR} ${EMACS_PKGDIR} ${EMACS_PKG_MANDIR} ${EMACS_PKG_PKGINFODIR}" \
|
||||
# INFOFILES=mew.info DIRRMDEPTH=2 plist
|
||||
#.endif
|
||||
# ${INSTALL} -c -m 644 -o kiri -g staff ${WRKPLIST} ${PLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user