1998-12-13 14:27:06 +00:00
|
|
|
# New ports collection makefile for: GNU emacs with dl
|
1999-08-09 11:12:30 +00:00
|
|
|
# Version required: 20.4
|
1998-12-13 14:27:06 +00:00
|
|
|
# Date created: 10 October 1998
|
|
|
|
# Whom: shige
|
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-12-13 14:27:06 +00:00
|
|
|
#
|
|
|
|
|
1999-08-09 11:12:30 +00:00
|
|
|
DISTNAME= emacs-20.4
|
|
|
|
PKGNAME= emacs-dl-20.4
|
1998-12-13 14:27:06 +00:00
|
|
|
CATEGORIES= editors
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= emacs
|
1998-12-13 14:27:06 +00:00
|
|
|
|
1999-08-09 11:12:30 +00:00
|
|
|
PATCH_SITES= http://www.etl.go.jp/~tomo/comp/emacsen/
|
|
|
|
PATCHFILES= emacs-20.4-dl.diff.gz
|
1998-12-13 14:27:06 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
1999-03-01 09:17:43 +00:00
|
|
|
MAINTAINER= shige@FreeBSD.ORG
|
1998-12-13 14:27:06 +00:00
|
|
|
|
1999-08-09 11:12:30 +00:00
|
|
|
RUN_DEPENDS= emacs-20.4:${PORTSDIR}/editors/emacs20
|
1998-12-13 14:27:06 +00:00
|
|
|
|
1999-03-01 09:17:43 +00:00
|
|
|
USE_AUTOCONF= yes
|
1998-12-13 14:27:06 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
1999-08-09 11:12:30 +00:00
|
|
|
EMACS_VER= 20.4
|
1999-03-08 07:28:36 +00:00
|
|
|
CONFIGURE_TARGET= ${MACHINE_ARCH}--freebsd
|
1999-08-09 11:12:30 +00:00
|
|
|
.if !defined(NO_X11)
|
|
|
|
CONFIGURE_ARGS= --with-x-toolkit --with-pop
|
|
|
|
USE_XLIB= yes
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --with-x=no --with-pop
|
|
|
|
.endif
|
|
|
|
|
1999-03-08 07:28:36 +00:00
|
|
|
PLIST_SUB= EMACS_VER=${EMACS_VER} EMACS_ARCH=${CONFIGURE_TARGET}
|
1998-12-13 14:27:06 +00:00
|
|
|
|
1999-08-09 11:12:30 +00:00
|
|
|
.if defined(USE_XPG4)
|
|
|
|
.if (${USE_XPG4} == "YES" || ${USE_XPG4} == "yes")
|
1998-12-13 14:27:06 +00:00
|
|
|
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>
|