66 lines
1.8 KiB
Makefile
66 lines
1.8 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2002/06/17 00:33:29 naddy Exp $
|
|
|
|
#
|
|
# What port/package will be created
|
|
#
|
|
VERSION= 2002-05-22
|
|
PKGNAME= xemacs-sumo-21.${VERSION:S/-//g}
|
|
DISTFILES= xemacs-sumo-${VERSION}.tar.gz
|
|
|
|
CATEGORIES= editors
|
|
NEED_VERSION= 1.531
|
|
|
|
HOMEPAGE= http://www.xemacs.org/
|
|
|
|
COMMENT= "complete set of supported XEmacs packages"
|
|
# where to send bitches about this port
|
|
#
|
|
MAINTAINER= Jean-Yves Burlett <jean-yves@burlett.org>
|
|
|
|
# GNU GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
# where the source files and patches can be fetched
|
|
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/packages/ \
|
|
ftp://ftp.oleane.net/pub/xemacs/packages/ \
|
|
ftp://ftp.pasteur.fr/pub/computing/xemacs/packages/ \
|
|
ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/ftp.xemacs.org/xemacs/packages/ \
|
|
ftp://ftp.usyd.edu.au/pub/Xemacs/packages/ \
|
|
ftp://ftp.lab.kdd.co.jp/xemacs/packages/ \
|
|
ftp://ftp.th-darmstadt.de/pub/editors/xemacs/packages/
|
|
|
|
# Dependencies
|
|
#
|
|
# It is quite impossible to find a reliable cookie
|
|
# to tell whether xemacs21 is installed or not and is
|
|
# mule-compliant or not. it does not matter anyway.
|
|
|
|
# build/configuration variables
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
FLAVORS=mule
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mmule}
|
|
DISTFILES+= xemacs-mule-sumo-${VERSION}.tar.gz
|
|
.endif
|
|
|
|
EXTRACT_ONLY=
|
|
NO_BUILD= Yes
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
|
|
.for archive in ${DISTFILES}
|
|
tar -C ${PREFIX}/lib/xemacs -xzf ${FULLDISTDIR}/${archive}
|
|
.endfor
|
|
# XXX for some reason the file rights are incorrect in the archive
|
|
chmod 0644 ${PREFIX}/lib/xemacs/xemacs-packages/lisp/edit-utils/avoid.el
|
|
# cruft in the main archive ... (GNU tar, GNU as in 'compatible' - with itself)
|
|
rm -f ${PREFIX}/lib/xemacs/@LongLink
|
|
|
|
.include <bsd.port.mk>
|