mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
1ad09c8763
Reviewed by: knu
58 lines
2.1 KiB
Makefile
58 lines
2.1 KiB
Makefile
# New ports collection makefile for: XEmacs elisp packages for Games
|
|
# Date created: 03 June 2000
|
|
# Whom: KIRIYAMA Kazuhiko<kiri@pis.toba-cmt.ac.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xemacs-games-packages
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= editors elisp
|
|
MASTER_SITES= ${MASTER_SITE_XEMACS} \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= packages kiri
|
|
DISTFILES= \
|
|
cookie-1.13-pkg.tar.gz \
|
|
games-1.13-pkg.tar.gz \
|
|
mine-1.14-pkg.tar.gz \
|
|
misc-games-1.15-pkg.tar.gz
|
|
DIST_SUBDIR= xemacs
|
|
|
|
MAINTAINER= kiri@FreeBSD.org
|
|
|
|
NO_BUILD= yes
|
|
WRKSRC= ${WRKDIR}/${PACKAGES_SUBDIR}
|
|
|
|
XEMACSDIR= ${PREFIX}/lib/xemacs
|
|
PACKAGES_SUBDIR= xemacs-packages
|
|
|
|
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} -R ${WRKSRC} ${XEMACSDIR}
|
|
|
|
post-install:
|
|
@cd ${WRKDIR} && \
|
|
find ${PACKAGES_SUBDIR} -type f|sort|${SED} 's:^:lib/xemacs/:' >> ${TMPPLIST}; \
|
|
find ${PACKAGES_SUBDIR}/*/* -type d|sort -r|${SED} 's:^:@dirrm lib/xemacs/:'>> ${TMPPLIST}
|
|
@${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR}/* 2>/dev/null || true' >> ${TMPPLIST}
|
|
@${ECHO} '@unexec rmdir %D/lib/xemacs/${PACKAGES_SUBDIR} 2>/dev/null || true' >> ${TMPPLIST}
|
|
@${ECHO} '@unexec rmdir %D/lib/xemacs 2>/dev/null || true' >> ${TMPPLIST}
|
|
@${ECHO_MSG} " This is the set of the packages for xemacs with the games category. You can"
|
|
@${ECHO_MSG} "install other packages provided by XEmacs.org with editors/xemacs-*-packages"
|
|
@${ECHO_MSG} "ports. These ports are prepared for corresponding XEmacs packages except for"
|
|
@${ECHO_MSG} "xemacs-packages, xemacs-basic-packages and xemacs-additional-packages. Where"
|
|
@${ECHO_MSG} "xemacs-additional-packages is a meta ports for packages out of xemacs, xemacs"
|
|
@${ECHO_MSG} "mule-basic and xemacs mule category packages."
|
|
@${ECHO_MSG} " You can also install with running it as root and using the 'Manage Packages'"
|
|
@${ECHO_MSG} "menu within the 'Options' menu of the menubar. But using this xemacs package"
|
|
@${ECHO_MSG} "managing, you could not control under ports managing ;-)"
|
|
|
|
.include <bsd.port.mk>
|