2002-10-06 14:12:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2002/10/06 12:12:05 magick Exp $
|
1999-07-05 18:26:40 +02:00
|
|
|
# FreeBSD Id: Makefile,v 1.1.1.1 1999/06/22 22:16:53 gj Exp
|
|
|
|
|
|
|
|
DISTNAME= xemacs-packages
|
2002-10-06 14:12:05 +02:00
|
|
|
PKGNAME= xemacs-packages-1.9
|
1999-07-05 18:26:40 +02:00
|
|
|
CATEGORIES= editors
|
1999-07-05 20:13:34 +02:00
|
|
|
MASTER_SITES= ftp://ftp.xemacs.org/pub/xemacs/packages/ \
|
1999-07-05 18:26:40 +02:00
|
|
|
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/ \
|
2001-05-03 18:00:02 +02:00
|
|
|
ftp://ftp.th-darmstadt.de/pub/editors/xemacs/packages/ \
|
2002-03-21 14:19:57 +01:00
|
|
|
${MASTER_SITE_BACKUP:C|$|${DIST_SUBDIR}/|}
|
2002-10-06 14:08:59 +02:00
|
|
|
DISTFILES= xemacs-base-1.68-pkg.tar.gz xemacs-devel-1.48-pkg.tar.gz \
|
|
|
|
c-support-1.16-pkg.tar.gz cc-mode-1.30-pkg.tar.gz \
|
|
|
|
debug-1.15-pkg.tar.gz dired-1.12-pkg.tar.gz \
|
|
|
|
edit-utils-1.93-pkg.tar.gz efs-1.29-pkg.tar.gz \
|
|
|
|
fsf-compat-1.11-pkg.tar.gz gnus-1.62-pkg.tar.gz \
|
|
|
|
mail-lib-1.49-pkg.tar.gz \
|
|
|
|
mailcrypt-2.11-pkg.tar.gz mule-base-1.42-pkg.tar.gz \
|
|
|
|
net-utils-1.28-pkg.tar.gz os-utils-1.28-pkg.tar.gz \
|
|
|
|
prog-modes-1.65-pkg.tar.gz psgml-1.33-pkg.tar.gz \
|
|
|
|
sgml-1.08-pkg.tar.gz sh-script-1.15-pkg.tar.gz \
|
|
|
|
texinfo-1.20-pkg.tar.gz text-modes-1.52-pkg.tar.gz \
|
|
|
|
textools-1.12-pkg.tar.gz time-1.12-pkg.tar.gz \
|
|
|
|
vc-1.33-pkg.tar.gz vc-cc-1.21-pkg.tar.gz \
|
|
|
|
viper-1.34-pkg.tar.gz
|
1999-07-05 20:13:34 +02:00
|
|
|
|
2002-03-18 22:17:37 +01:00
|
|
|
MAINTAINER= magick@netbsd.org
|
1999-07-05 20:13:34 +02:00
|
|
|
HOMEPAGE= http://www.xemacs.org/
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= Common elisp packages for xemacs 21
|
1999-07-05 20:13:34 +02:00
|
|
|
|
Update "xemacs-packages" package to version 1.7. It includes these
packages now:
xemacs-base 1.49, xemacs-devel 1.31, c-support 1.16, cc-mode 1.23,
debug 1.14, dired 1.09, edit-utils 1.55, efs 1.22, fsf-compat 1.08,
mail-lib 1.35, mailcrypt 2.07, mule-base 1.37, net-utils 1.15,
os-utils 1.25, prog-modes 1.32, psgml 1.22, sgml 1.08, sh-script 1.13,
text-modes 1.29, texinfo 1.20, textools 1.12, time 1.11, vc 1.26,
vc-cc 1.15, viper 1.23
2001-02-20 14:37:18 +01:00
|
|
|
DEPENDS+= xemacs>=21.1.14:../../editors/xemacs
|
1999-07-05 18:26:40 +02:00
|
|
|
|
2002-03-15 11:06:48 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
1999-07-05 20:13:34 +02:00
|
|
|
EXTRACT_ONLY= # empty
|
1999-07-05 18:26:40 +02:00
|
|
|
NO_BUILD= yes
|
1999-07-05 20:13:34 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
1999-07-05 18:26:40 +02:00
|
|
|
|
2002-04-26 11:35:06 +02:00
|
|
|
.include "../../editors/xemacs/Makefile.pkg"
|
2002-04-26 09:24:14 +02:00
|
|
|
|
2000-11-25 12:00:11 +01:00
|
|
|
.if defined(MANZ)
|
|
|
|
PLIST_SUBST+= ELSUFX=.gz
|
|
|
|
.else
|
|
|
|
PLIST_SUBST+= ELSUFX=
|
|
|
|
.endif
|
|
|
|
|
1999-07-05 18:26:40 +02:00
|
|
|
do-install:
|
2001-02-25 05:17:35 +01:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs/xemacs-packages
|
1999-07-05 20:13:34 +02:00
|
|
|
.for DISTFILE in ${DISTFILES}
|
2000-11-25 12:00:11 +01:00
|
|
|
@${ECHO_MSG} -n "Extracting ${DISTFILE} ... "
|
1999-07-05 20:13:34 +02:00
|
|
|
@${GTAR} xCzf ${PREFIX}/lib/xemacs/xemacs-packages \
|
2000-03-08 22:49:30 +01:00
|
|
|
${DISTDIR}/${DIST_SUBDIR}/${DISTFILE}
|
2000-11-25 12:00:11 +01:00
|
|
|
@${ECHO_MSG} "done"
|
1999-07-05 20:13:34 +02:00
|
|
|
.endfor
|
2000-11-25 12:00:11 +01:00
|
|
|
@${ECHO_MSG} -n "Fixing file ownerships ... "
|
|
|
|
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/lib/xemacs/xemacs-packages
|
|
|
|
@${ECHO_MSG} "done"
|
|
|
|
.if defined(MANZ)
|
|
|
|
@${ECHO_MSG} -n "Compressing \".el\" files ... "
|
|
|
|
@cd ${PREFIX} && \
|
|
|
|
${GREP} '\$${ELSUFX}$$' ${PLIST_SRC} | \
|
|
|
|
${SED} -e 's#\$${ELSUFX}$$##' | \
|
2001-05-19 05:56:23 +02:00
|
|
|
${XARGS} ${GZIP_CMD}
|
2000-11-25 12:00:11 +01:00
|
|
|
@${ECHO_MSG} "done"
|
|
|
|
.endif
|
1999-07-05 20:13:34 +02:00
|
|
|
|
1999-08-27 22:25:55 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|