1998-12-13 09:27:06 -05:00
|
|
|
# New ports collection makefile for: GNU emacs with dl
|
|
|
|
# Version required: 20.3
|
|
|
|
# Date created: 10 October 1998
|
|
|
|
# Whom: shige
|
|
|
|
#
|
1999-01-23 09:28:28 -05:00
|
|
|
# $Id: Makefile,v 1.3 1999/01/16 22:58:59 asami Exp $
|
1998-12-13 09:27:06 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= emacs-20.3
|
|
|
|
PKGNAME= emacs-dl-20.3
|
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
|
|
|
|
PATCH_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/emacs-20-dl/
|
|
|
|
PATCHFILES= emacs-20.3-dl.diff
|
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
MAINTAINER= shige@kuis.kyoto-u.ac.jp
|
|
|
|
|
1998-12-17 04:08:09 -05:00
|
|
|
RUN_DEPENDS= emacs-20.3:${PORTSDIR}/editors/emacs20
|
1998-12-13 09:27:06 -05:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1999-01-16 17:58:59 -05:00
|
|
|
USE_XLIB= yes
|
1998-12-13 09:27:06 -05:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
|
|
EMACS_VER= 20.3
|
1999-01-23 09:28:28 -05:00
|
|
|
EMACS_ARCH= ${MACHINE_ARCH}--freebsd
|
|
|
|
CONFIGURE_ARGS= ${EMACS_ARCH} --with-x-toolkit --with-pop
|
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${EMACS_ARCH}
|
1998-12-13 09:27:06 -05:00
|
|
|
|
|
|
|
.if defined(USE_XPGLIB)
|
|
|
|
.if (${USE_XPGLIB} == "YES")
|
|
|
|
CONFIGURE_ARGS+= --with-xpg4
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@${RM} -rf ${WRKSRC}/info/*
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL} -c -s -m 555 -o root -g wheel ${WRKSRC}/src/emacs ${PREFIX}/bin/emacs-dl-${EMACS_VER}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|