openbsd-ports/editors/emacs/Makefile

65 lines
1.5 KiB
Makefile
Raw Normal View History

2002-05-13 08:37:36 -04:00
# $OpenBSD: Makefile,v 1.26 2002/05/13 12:37:36 naddy Exp $
COMMENT= "GNU editor"
1997-11-14 19:04:24 -05:00
VER= 20.7
1998-09-13 15:51:00 -04:00
DISTNAME= emacs-${VER}
1997-11-14 19:04:24 -05:00
CATEGORIES= editors
2002-05-13 08:37:36 -04:00
NEED_VERSION= 1.528
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
1998-10-08 18:56:33 -04:00
2000-10-23 13:26:07 -04:00
MAINTAINER= Matthew Economou <xenophon@irtnog.org>
1999-05-30 02:27:41 -04:00
2000-03-06 21:13:10 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2000-02-12 03:02:07 -05:00
SUBST_VARS= GCCARCH VER
2000-03-06 21:13:10 -05:00
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu dest
2001-09-15 17:43:42 -04:00
CONFIGURE_ARGS+= ${GCCARCH}
FLAVORS= no_x11
FLAVOR?=
1997-12-04 02:22:46 -05:00
M_ARCH= ${MACHINE_ARCH}
2000-03-06 21:13:10 -05:00
GCCARCH= ${M_ARCH}-unknown-openbsd${OPSYS_VER}
2000-04-09 16:34:02 -04:00
# Uncomment for POP support
#CONFIGURE_ARGS+=--with-pop
# Uncomment for Kerberos support
#CONFIGURE_ARGS+=--with-kerberos
# Uncomment for Hesiod support
#CONFIGURE_ARGS+=--with-hesiod
.if ${FLAVOR:L} == "no_x11"
CONFIGURE_ARGS+= --without-x
2000-04-09 16:34:02 -04:00
.else
2001-09-15 17:43:42 -04:00
CONFIGURE_ARGS+= --with-x-toolkit
2000-04-09 16:34:02 -04:00
.endif
# Do NOT strip on install. We will strip those things that can be
# stripped after install. (emacs crashes if stripped on an alpha)
1998-09-13 15:51:00 -04:00
# To do the job correctly temacs should be stripped, not emacs
# (which is created from temacs).
INSTALL_STRIP=
STRIP_PROGS= emacsclient etags ctags b2m
.if (${MACHINE_ARCH} != "alpha")
1998-09-13 15:51:00 -04:00
STRIP_PROGS+= ${DISTNAME}
.endif
STRIP_EXECS= cvtmail digest-doc emacsserver fakemail hexl movemail \
profile sorted-doc yow
1997-11-14 19:04:24 -05:00
post-install:
.for file in ${STRIP_PROGS}
@strip ${PREFIX}/bin/${file}
1997-11-14 19:04:24 -05:00
.endfor
.for file in ${STRIP_EXECS}
@strip ${PREFIX}/libexec/emacs/${VER}/${GCCARCH}/${file}
.endfor
1997-11-14 19:04:24 -05:00
.include <bsd.port.mk>