openbsd-ports/editors/emacs21/Makefile

72 lines
1.6 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.58 2012/01/13 00:55:14 naddy Exp $
COMMENT-main= GNU editor: extensible, customizable, self documenting
COMMENT-el= elisp sources for those who want to read/modify them
COMMENT-leim= Library of Emacs Input Methods
VERSION= 21.4
DISTNAME= emacs-${VERSION}
PKGNAME-main= ${DISTNAME}
FULLPKGNAME-el= emacs-el-${VERSION}
2010-02-26 13:17:38 -05:00
FULLPKGPATH-el= editors/emacs21,-el
FULLPKGNAME-leim= emacs-leim-${VERSION}
2010-02-26 13:17:38 -05:00
FULLPKGPATH-leim= editors/emacs21,-leim
REVISION-main= 17
2011-09-16 05:48:08 -04:00
REVISION-el= 4
REVISION-leim= 4
CATEGORIES= editors
HOMEPAGE= http://www.gnu.org/software/emacs/
2004-02-01 02:09:47 -05:00
MAINTAINER= Rich Cannings <cannings@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNU:=emacs/}
DISTFILES= emacs-${VERSION}a.tar.gz leim-${VERSION}.tar.gz
2006-11-24 17:14:42 -05:00
MULTI_PACKAGES= -main -el -leim
2010-11-15 18:22:07 -05:00
USE_GROFF = Yes
FLAVORS= no_x11
2002-03-17 20:58:03 -05:00
FLAVOR?=
GCCARCH= ${MACHINE_ARCH}-unknown-openbsd${OSREV}
2011-11-07 10:39:50 -05:00
MODGNU_EMACS_YOURE_WEIRD = Oh yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= ${GCCARCH} --with-pop
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include \
-I${LOCALBASE}/include/libpng" \
2003-07-18 09:58:09 -04:00
LDFLAGS="${ELF_TOOLCHAIN:L:S/yes/-Z/:S/no//} \
-L${LOCALBASE}/lib"
MAKE_ENV= INSTALL_EMACS="${INSTALL_SCRIPT}"
SUBST_VARS= GCCARCH VERSION
2006-11-24 17:14:42 -05:00
WANTLIB-main= c m ncurses ossaudio
2011-11-07 10:39:50 -05:00
.if ${FLAVOR:Mno_x11}
CONFIGURE_ARGS+= --with-x=no
.else
2010-11-15 18:22:07 -05:00
LIB_DEPENDS-main= graphics/libungif \
graphics/png \
graphics/tiff
WANTLIB-main+= ICE SM X11 Xaw Xext Xmu Xpm Xt z
WANTLIB-main+= ungif jpeg png tiff
.endif
2010-11-15 18:22:07 -05:00
RUN_DEPENDS= emacs-${VERSION}:${PKGPATH}
2006-11-24 17:14:42 -05:00
RUN_DEPENDS-main=
PKG_ARCH-el= *
.include <bsd.port.mk>